Advertisement
Guest User

Untitled

a guest
Aug 9th, 2020
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. # aug/09/2020 04:04:21 by RouterOS 6.46.6
  2. # software id = ZUP5-MY7W
  3. #
  4. # model = RouterBOARD 941-2nD
  5. # serial number = xxxxxxxxxx
  6. /ip pool
  7. add name=dhcp ranges=10.0.0.11-10.0.0.254
  8. /ip dhcp-server
  9. add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
  10. /ip address
  11. add address=10.0.0.1/8 interface=bridge1 network=10.0.0.0
  12. add address=10.1.1.1/8 interface=bridge1 network=10.0.0.0
  13. /ip dhcp-client
  14. add disabled=no interface=bridge1
  15. add disabled=no interface=ether1
  16. /ip dhcp-server network
  17. add address=10.0.0.0/8 dns-server=1.1.1.1 gateway=10.0.0.1 netmask=8
  18. /ip dns
  19. set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
  20. /ip firewall filter
  21. add action=drop chain=input comment="drop DNS tcp" dst-port=53 in-interface=bridge1 protocol=tcp
  22. add action=drop chain=input comment="drop DNS udp" dst-port=53 in-interface=bridge1 protocol=udp
  23. /ip firewall nat
  24. add action=masquerade chain=srcnat out-interface-list=WAN
  25. /ip route
  26. 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