Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip firewall nat
- add action=dst-nat chain=dstnat comment=DNS2 disabled=no dst-port=53 nth=3,1 \
- protocol=udp to-addresses=202.57.23.1 to-ports=53
- add action=dst-nat chain=dstnat comment=DNS3 disabled=no dst-port=53 nth=2,1 \
- protocol=udp to-addresses=119.2.79.82 to-ports=53
- add action=dst-nat chain=dstnat comment=DNS4 disabled=no dst-port=53 nth=1,1 \
- protocol=udp to-addresses=117.74.119.252 to-ports=53
- /tool netwatch
- add disabled=no down-script="/ip firewall nat set [find comment=\"DNS2\"] disabl\
- ed=yes\r\
- \n:log error \"DNS DOWN\"" host=202.57.23.1 interval=1m timeout=1s \
- up-script="/ip firewall nat set [find comment=\"DNS2\"] disabled=no\r\
- \n:log error \"DNS UP\""
- add disabled=no down-script="/ip firewall nat set [find comment=\"DNS3\"] disabl\
- ed=yes\r\
- \n:log error \"DNS DOWN\"" host=119.2.79.82 interval=1m timeout=1s \
- up-script="/ip firewall nat set [find comment=\"DNS3\"] disabled=no\r\
- \n:log error \"DNS UP\""
- add disabled=no down-script="/ip firewall nat set [find comment=\"DNS4\"] disabl\
- ed=yes\r\
- \n:log error \"DNS DOWN\"" host=117.74.119.252 interval=1m timeout=1s \
- up-script="/ip firewall nat set [find comment=\"DNS4\"] disabled=no\r\
- \n:log error \"DNS UP\""
Advertisement
Add Comment
Please, Sign In to add comment