punces

cara-i0p-lokal-tertentu-tidak-lewat-dns-sehat

Jun 26th, 2017
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. /ip firewall address-list
  2. add address=10.0.0.0/8 list=private-lokal
  3. add address=172.16.0.0/12 list=private-lokal
  4. add address=192.168.0.0/16 list=private-lokal
  5.  
  6. add address=192.168.0.250 list=ip-bypass
  7. add address=192.168.0.10 list=ip-bypass
  8.  
  9. /ip firewall nat
  10. add action=dst-nat chain=dstnat comment=dns-open src-address-list=ip-bypass disabled=no dst-port=53,5353 nth=4,1 protocol=tcp to-addresses=208.67.222.222 to-ports=5353
  11. add action=dst-nat chain=dstnat comment=dns-open src-address-list=ip-bypass disabled=no dst-port=53,5353 nth=2,1 protocol=tcp to-addresses=208.67.220.220 to-ports=53
  12. add action=dst-nat chain=dstnat comment=dns-open src-address-list=ip-bypass disabled=no dst-port=53,5353 nth=3,1 protocol=udp to-addresses=208.67.222.222 to-ports=5353
  13. add action=dst-nat chain=dstnat comment=dns-open src-address-list=ip-bypass disabled=no dst-port=53,5353 nth=1,1 protocol=udp to-addresses=208.67.220.220 to-ports=5353
  14.  
  15. /ip firewall nat
  16. add action=dst-nat chain=dstnat comment=dns-sehat src-address-list=private-lokal disabled=no dst-port=53,5353 nth=4,1 protocol=tcp to-addresses=103.80.80.248 to-ports=5353
  17. add action=dst-nat chain=dstnat comment=dns-sehat src-address-list=private-lokal disabled=no dst-port=53,5353 nth=2,1 protocol=tcp to-addresses=103.80.80.249 to-ports=5353
  18. add action=dst-nat chain=dstnat comment=dns-sehat src-address-list=private-lokal disabled=no dst-port=53,5353 nth=3,1 protocol=udp to-addresses=103.80.80.248 to-ports=5353
  19. add action=dst-nat chain=dstnat comment=dns-sehat src-address-list=private-lokal disabled=no dst-port=53,5353 nth=1,1 protocol=udp to-addresses=103.80.80.249 to-ports=5353
Add Comment
Please, Sign In to add comment