Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # test dns
- /interface pptp-client
- add connect-to=orocknet.ddns.info disabled=no mrru=1600 name=pptp-dns password=yes profile=default user=banten
- /ip firewall nat
- add action=masquerade chain=srcnat out-interface=pptp-dns
- add action=dst-nat chain=dstnat comment=pptp-dns dst-port=53,5353 protocol=udp src-address=192.168.0.0/20 to-addresses=172.17.17.1 to-ports=5353
- /tool netwatch
- add down-script="/ip fi nat disable [find comment=pptp-dns]" host=172.17.17.1 interval=1s up-script="/ip fi nat enable [find comment=pptp-dns]\r\
- \n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement