1.sock5协议,lsp或是hook的方式;
2.虚拟网卡的修改路由的方式;
增加默认路由
route add 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 4 if 4
增加需要访问的路由:
route add 192.168.31.93 10.0.0.1 metric 4 if 4 // 一次
route -p add 192.168.31.93 192.168.144.2 metric 1 // 永久
删除路由:
route delete 192.168.31.93 10.0.0.1 metric 4 if 4 // 一次
增加外网的sock5代理:
route add 192.168.31.93 192.168.144.2 metric 3