本帖最後由 167pk 於 2016-3-14 00:06 編輯
回復 9# yiucsw
強制DNS 8.8.8.8,208.67.222.222 經VPN- /ip dns
- set allow-remote-requests=yes servers=8.8.8.8,208.67.222.222
- /ip firewall nat
- add action=redirect chain=dstnat comment="Redirect DNS requests to \
- RouterOS DNS cache" dst-port=53 in-interface=!pppoe-out1 protocol=udp\
- to-ports=53
- /ip firewall mangle
- add action=mark-routing chain=output comment="Force DNS through VPN" \
- dst-port=53 new-routing-mark=through_vpn_hk passthrough=no protocol=udp
複製代碼 |