网络工具之chisel + openvpn混合

目的:

访问内网的shared folder

内网可以无缝访问internet而不需要设置代理(因为有些软件没办法支持代理,比如rustup)

解决方案:

基本思路

家里 设置chisel服务开放443端口,openvpn开通1194端口

公司 设置chisel将本地11940映射到家里的1194

用chisel打通内外网(我发现我这边openssh不行,怀疑是公司有检测vpn?),

家里:chisel_windows_386 server -v -p 443 --socks5 --reverse

公司:

 vpn设施: 参考https://www.jianshu.com/p/e0ba68e2f357

结果

家里shisel

公司chisel

家里vpn

公司vpn

 

公司路由表

可见默认用的公司的路由,而对于10.8相关ip使用vpn路由

家里访问公司share folder

猜你喜欢

转载自www.cnblogs.com/cutepig/p/10660545.html