SHOW:
|
|
- or go back to the newest paste.
| 1 | /ip firewall nat | |
| 2 | - | add action=dst-nat chain=dstnat comment=DNS2 disabled=no dst-port=53 nth=3,1 \ |
| 2 | + | add action=dst-nat chain=dstnat comment="DNSB 1" disabled=no dst-port=53 nth=3,1 protocol=udp to-addresses=202.57.23.1 to-ports=123 |
| 3 | - | protocol=udp to-addresses=202.57.23.1 to-ports=53 |
| 3 | + | add action=dst-nat chain=dstnat comment="DNSB 2" disabled=no dst-port=53 nth=2,1 protocol=udp to-addresses=119.2.79.82 to-ports=123 |
| 4 | - | add action=dst-nat chain=dstnat comment=DNS3 disabled=no dst-port=53 nth=2,1 \ |
| 4 | + | add action=dst-nat chain=dstnat comment="DNSB 3" disabled=no dst-port=53 nth=1,1 protocol=udp to-addresses=45.64.255.234 to-ports=123 |
| 5 | - | protocol=udp to-addresses=119.2.79.82 to-ports=53 |
| 5 | + | |
| 6 | - | add action=dst-nat chain=dstnat comment=DNS4 disabled=no dst-port=53 nth=1,1 \ |
| 6 | + | |
| 7 | - | protocol=udp to-addresses=117.74.119.252 to-ports=53 |
| 7 | + | add comment="DNSB 1" disabled=no down-script="/ip fi nat disable [find comment=\"DNSB 1\"] \r \n:log info \"DNSB 1 >> DOWN\"" host=202.57.23.1 interval=10s timeout=5s up-script="/ip fi nat enable [find comment=\"DNSB 1\"] \r \n:log info \"DNSB 1 >> UP\"" |
| 8 | add comment="DNSB 2" disabled=no down-script="/ip fi nat disable [find comment=\"DNSB 2\"] \r \n:log info \"DNSB 2 >> DOWN\"" host=119.2.79.82 interval=10s timeout=5s up-script="/ip fi nat enable [find comment=\"DNSB 2\"] \r \n:log info \"DNSB 2 >> UP\"" | |
| 9 | - | add disabled=no down-script="/ip firewall nat set [find comment=\"DNS2\"] disabl\ |
| 9 | + | add comment="DNSB 3" disabled=no down-script="/ip fi nat disable [find comment=\"DNSB 3\"] \r \n:log info \"DNSB 3 >> DOWN\"" host=45.64.255.234 interval=10s timeout=5s up-script="/ip fi nat enable [find comment=\"DNSB 3\"] \r \n:log info \"DNSB 3 >> UP\"" |