Skip to content

It runs now

Pre-release
Pre-release
Compare
Choose a tag to compare
@xiaokangwang xiaokangwang released this 02 Jan 06:51
· 6 commits to master since this release
92957a7

使用方法:
第一步,准备配置文件(命令为Linux格式):
//将配置文件device.conf转换为pb格式
waVingOceanConfigureFileElaboration T < device.conf > device.vr.pb
//将pb格式的V2Ray配置文件 v2conf.pb 附加到 device.vr.pb 上之后输出
waVingOceanConfigureFileElaboration V device.vr.pb < v2conf.pb > device.sy.pb

(如果是Windows设备请安装tap-windows)

//启动interface(需要权限)
waVingOceanIgnite < device.sy.pb

Windows环境请参考(https://code.google.com/archive/p/badvpn/wikis/tun2socks.wiki)
//将服务器ip设置为直接连接
ip route add 128.122.252.68 via 192.168.1.254 dev eth0 src 192.168.1.32
//将其他数据经过V2Ray
ip route add default via 42.42.1.1 dev wavingocean

(Mac环境路由设置)
sudo route -n add -net [vpsip]/32 [en0_gateway]
sudo route -n delete default
sudo route -n add default -interface utun[x]

(Mac环境恢复路由设置)
sudo route -n delete -net [vpsip]/32
sudo route -n delete default
sudo route -n add default [en0_gateway]

感谢来自 @KafuuChinoQ 贡献的 Mac 配置方法

可能有帮助的配置示例
-v2v2