// Some code #其中 gateway=192.168.89.1 为服务器vpn的网关 自行改对应的 #dns static和routing rule 自行按需添加即可 # /interface sstp-client add connect-to=gh.run disabled=no name=sstp-vpn profile=default-encryption \ user=gh /routing table add disabled=no fib name=gfw /ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ 192.168.89.1 pref-src="" routing-table=gfw scope=30 suppress-hw-offload=\ no target-scope=10 /ip dns static add forward-to=8.8.8.8 regexp=www.google.com type=FWD add forward-to=8.8.8.8 regexp=www.gooe.com type=FWD add forward-to=8.8.8.8 regexp=www.gle.com type=FWD /routing rule add action=lookup comment=dns disabled=no dst-address=8.8.0.0/16 table=gfw add action=lookup disabled=no dst-address=34.83.0.0/16 table=gfw add action=lookup comment=ip disabled=no dst-address=163.171.0.0/16 table=gfw add action=lookup comment=ip disabled=no dst-address=218.75.0.0/16 table=gfw
12
2023
07
RouterOS v7 翻墙策略
作者:kingylh | 分类:ROUTEROS | 浏览:540 | 评论:0