comzyh / clash

A rule-based tunnel in Go.
GNU General Public License v3.0
125 stars 33 forks source link

能否在open tun 之后自动添加路由表呢? #6

Closed josh-chan closed 3 years ago

josh-chan commented 4 years ago

RT, 默认添加 Fake-IP 的网关,可选添加其它网段,如 sudo route -n add -net 1 198.18.0.1 sudo route -n add -net 2/7 198.18.0.1 sudo route -n add -net 4/6 198.18.0.1 sudo route -n add -net 8/5 198.18.0.1 sudo route -n add -net 16/4 198.18.0.1 sudo route -n add -net 32/3 198.18.0.1 sudo route -n add -net 64/2 198.18.0.1 sudo route -n add -net 128.0/1 198.18.0.1

comzyh commented 3 years ago

没有计划,添加路由表的方法很多,选择困难。在clashw外面用脚本添加也挺方便的。

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days