# oct/05/2021 00:51:28 by RouterOS 6.48.4 # software id = CSST-N02V # # model = RBD52G-5HacD2HnD # serial number = E5790E295281 /interface bridge add name=bridge1 /interface wireless set [ find default-name=wlan1 ] ssid=MikroTik set [ find default-name=wlan2 ] ssid=MikroTik /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik /ip hotspot profile set [ find default=yes ] html-directory=hotspot /ip pool add name=dhcp_pool0 ranges=192.168.22.100-192.168.22.254 add name=clientes_tunel ranges=192.168.99.100-192.168.99.200 /ip dhcp-server add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1 /ppp profile add dns-server=8.8.8.8 local-address=192.168.99.1 name=clientes \ remote-address=clientes_tunel /interface bridge port add bridge=bridge1 interface=wlan1 add bridge=bridge1 interface=ether2 add bridge=bridge1 interface=ether3 add bridge=bridge1 interface=ether4 /interface l2tp-server server set authentication=mschap1,mschap2 enabled=yes /ip address add address=192.168.22.1/24 interface=bridge1 network=192.168.22.0 /ip dhcp-client add disabled=no interface=ether1 /ip dhcp-server network add address=192.168.22.0/24 dns-none=yes gateway=192.168.22.1 /ip firewall filter add action=accept chain=forward connection-state=established,related add action=accept chain=input connection-state=established,related add action=drop chain=input connection-state=new in-interface=ether1 /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 /ppp secret add name=bruno password=abc123. profile=clientes service=l2tp /system clock set time-zone-name=Europe/Madrid