Advertisement
alan216

Open DNS sosial media

May 23rd, 2019
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Mikrotik only#
  2. Facebook, Instagram, Twitter, Whatsapp di blokir sama pemerintah?
  3. Silahkan copas ke new terminal mikrotik anda:
  4.  
  5. /ip firewall address-list
  6. add address=0.0.0.0/8 list=private-lokal
  7. add address=10.0.0.0/8 list=private-lokal
  8. add address=100.64.0.0/10 list=private-lokal
  9. add address=127.0.0.0/8 list=private-lokal
  10. add address=169.254.0.0/16 list=private-lokal
  11. add address=172.16.0.0/12 list=private-lokal
  12. add address=192.0.0.0/24 list=private-lokal
  13. add address=192.0.2.0/24 list=private-lokal
  14. add address=192.168.0.0/16 list=private-lokal
  15. add address=198.18.0.0/15 list=private-lokal
  16. add address=198.51.100.0/24 list=private-lokal
  17. add address=203.0.113.0/24 list=private-lokal
  18. add address=224.0.0.0/3 list=private-lokal
  19.  
  20. /ip fi nat
  21. add action=dst-nat chain=dstnat comment="open dns" dst-port=53,5353 protocol=tcp src-address-list=private-lokal to-addresses=208.67.222.222 to-ports=5353
  22. add action=dst-nat chain=dstnat comment="open dns" dst-port=53,5353 protocol=udp src-address-list=private-lokal to-addresses=208.67.222.222 to-ports=5353
  23.  
  24.  
  25.  
  26. - bikin tool netwatch
  27. - host 8.8.8.8
  28. - interval 00:00:20
  29. - isikan di on up :
  30.  
  31. {
  32. local toport [/ip firewall nat get 2 to-ports]
  33. if ($toport="64872") do={
  34. /ip firewall nat set 2,3 hotspot=!auth
  35. }
  36. /queue simple remove [find name ~"hs-<"]
  37. }
  38.  
  39. - klik OK
  40. - syarat : ip firewall nat masih original bawaan dari hotspot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement