Advertisement
rootplg3544

Mengalihkan trafik DNS ke OpenDNS melalui port yang tidak um

Sep 9th, 2018
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. pengguna hotspot agar user hotspotnya bisa menikmati open dns, buat aja tool netwatch, masukkan host = ip gateway hotspot, interval beri 00:00:20, dan dibagian UP masukkan commant berikut :
  2.  
  3. {
  4. local toport [/ip firewall nat get 2 to-ports]
  5. if ($toport="64872") do={
  6. /ip firewall nat set 2,3 hotspot=!auth
  7. }
  8. }
  9.  
  10.  
  11.  
  12.  
  13. # OpenDNS Secure DNS for Mikrotik
  14. # Move all DNS traffic to OpenDNS port 5353
  15. # Prevent ISP to Blocking our DNS Request
  16. # By: Rudy Khoiruddin (princehacker.blogspot.com)
  17.  
  18. /ip firewall nat
  19. add action=dst-nat chain=dstnat comment="OpenDNS Secure Port" dst-port=\
  20. 53 protocol=tcp to-addresses=208.67.222.222 to-ports=5353
  21. add action=dst-nat chain=dstnat comment="OpenDNS Secure Port" dst-port=\
  22. 53 protocol=udp to-addresses=208.67.222.222 to-ports=5353
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement