DNS Bersih untuk MikroTik
Bertemu lagi dengan saya Een Pahlevi, well kali ini kita posting catatan kecil, atau tips kecil, dimana saya baru tau kalo sekarang ada DNS Bersih.. Buat apa sih DNS bersih? searching google sono..
Kali ini ane cuma ingin nulis script buat mikrotik aja, biar enak di copas..
interface pptp-client
add connect-to=119.2.79.82 disabled=no mrru=1600 name=pptp-out1 password=indosysadmin user=dnsbersih
add connect-to=117.74.119.252 disabled=no mrru=1600 name=pptp-out2 password=indosysadmin user=dnsbersih
ip route
add check-gateway=ping distance=1 dst-address=172.17.0.0/16 gateway=172.17.0.3,172.17.0.2
ip firewall nat
add action=dst-nat chain=dstnat comment="Redirect to DNS Bersih" dst-port=53 nth=2,1 protocol=udp to-addresses=172.17.0.2 to-ports=53
add action=dst-nat chain=dstnat comment="Redirect to DNS Bersih" dst-port=53 nth=1,1 protocol=udp to-addresses=172.17.0.3 to-ports=53
add action=masquerade chain=srcnat out-interface=all-ppp
add connect-to=119.2.79.82 disabled=no mrru=1600 name=pptp-out1 password=indosysadmin user=dnsbersih
add connect-to=117.74.119.252 disabled=no mrru=1600 name=pptp-out2 password=indosysadmin user=dnsbersih
ip route
add check-gateway=ping distance=1 dst-address=172.17.0.0/16 gateway=172.17.0.3,172.17.0.2
ip firewall nat
add action=dst-nat chain=dstnat comment="Redirect to DNS Bersih" dst-port=53 nth=2,1 protocol=udp to-addresses=172.17.0.2 to-ports=53
add action=dst-nat chain=dstnat comment="Redirect to DNS Bersih" dst-port=53 nth=1,1 protocol=udp to-addresses=172.17.0.3 to-ports=53
add action=masquerade chain=srcnat out-interface=all-ppp
dan hasil nya.. tara..