sukriborneo

jam-dns

Jan 8th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /ip firewall address-list
  2. add list="private-lokal" address=0.0.0.0/8
  3. add list="private-lokal" address=10.0.0.0/8
  4. add list="private-lokal" address=100.64.0.0/10
  5. add list="private-lokal" address=127.0.0.0/8
  6. add list="private-lokal" address=169.254.0.0/16
  7. add list="private-lokal" address=172.16.0.0/12
  8. add list="private-lokal" address=192.0.0.0/24
  9. add list="private-lokal" address=192.0.2.0/24
  10. add list="private-lokal" address=192.168.0.0/16
  11. add list="private-lokal" address=198.18.0.0/15
  12. add list="private-lokal" address=198.51.100.0/24
  13. add list="private-lokal" address=203.0.113.0/24
  14. add list="private-lokal" address=224.0.0.0/3
  15.  
  16.  
  17. /ip firewall nat
  18. # inactive time
  19. add action=dst-nat chain=dstnat comment=dns-open dst-port=53,5353 protocol=tcp src-address-list=private-lokal time=23h-7h,sun,mon,tue,wed,thu,fri,sat \
  20. to-addresses=208.67.222.222 to-ports=5353
  21. # inactive time
  22. add action=dst-nat chain=dstnat comment=dns-open dst-port=53,5353 protocol=udp src-address-list=private-lokal time=23h-7h,sun,mon,tue,wed,thu,fri,sat \
  23. to-addresses=208.67.222.222 to-ports=5353
  24. # inactive time
  25. add action=dst-nat chain=dstnat comment=dns-open dst-port=53,5353 protocol=tcp src-address-list=private-lokal time=23h-7h,sun,mon,tue,wed,thu,fri,sat \
  26. to-addresses=208.67.220.220 to-ports=5353
  27. # inactive time
  28. add action=dst-nat chain=dstnat comment=dns-open dst-port=53,5353 protocol=udp src-address-list=private-lokal time=23h-7h,sun,mon,tue,wed,thu,fri,sat \
  29. to-addresses=208.67.220.220 to-ports=5353
  30. add action=dst-nat chain=dstnat comment=dns-sehat dst-port=53,5353 protocol=tcp src-address-list=private-lokal time=\
  31. 7h1s-22h59m59s,sun,mon,tue,wed,thu,fri,sat to-addresses=103.80.80.248 to-ports=5353
  32. add action=dst-nat chain=dstnat comment=dns-sehat dst-port=53,5353 protocol=udp src-address-list=private-lokal time=\
  33. 7h1s-22h59m59s,sun,mon,tue,wed,thu,fri,sat to-addresses=103.80.80.248 to-ports=5353
  34. add action=dst-nat chain=dstnat comment=dns-sehat dst-port=53,5353 protocol=tcp src-address-list=private-lokal time=\
  35. 7h1s-22h59m59s,sun,mon,tue,wed,thu,fri,sat to-addresses=103.80.80.249 to-ports=5353
  36. add action=dst-nat chain=dstnat comment=dns-sehat dst-port=53,5353 protocol=udp src-address-list=private-lokal time=\
  37. 7h1s-22h59m59s,sun,mon,tue,wed,thu,fri,sat to-addresses=103.80.80.249 to-ports=5353
Add Comment
Please, Sign In to add comment