Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # aug/09/2020 04:04:21 by RouterOS 6.46.6
- # software id = ZUP5-MY7W
- #
- # model = RouterBOARD 941-2nD
- # serial number = xxxxxxxxxx
- /ip pool
- add name=dhcp ranges=10.0.0.11-10.0.0.254
- /ip dhcp-server
- add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
- /ip address
- add address=10.0.0.1/8 interface=bridge1 network=10.0.0.0
- add address=10.1.1.1/8 interface=bridge1 network=10.0.0.0
- /ip dhcp-client
- add disabled=no interface=bridge1
- add disabled=no interface=ether1
- /ip dhcp-server network
- add address=10.0.0.0/8 dns-server=1.1.1.1 gateway=10.0.0.1 netmask=8
- /ip dns
- set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
- /ip firewall filter
- add action=drop chain=input comment="drop DNS tcp" dst-port=53 in-interface=bridge1 protocol=tcp
- add action=drop chain=input comment="drop DNS udp" dst-port=53 in-interface=bridge1 protocol=udp
- /ip firewall nat
- add action=masquerade chain=srcnat out-interface-list=WAN
- /ip route
- add distance=1 dst-address=10.1.1.0/24 gateway=10.0.0.7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement