mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00

按照大雕的 ssr 改了一个简化版的 v2ray 。。 支持的功能比较少。。只有基本款的 tcp/kcp/ws , tls/mux ,动态端口什么的没写 使用前需要把 v2ray 和 v2ctl 放在 /usr/bin/v2ray/ 目录下并 chmod +x 增加了 lua-cjson 和 ca-certificates 依赖,前者被 /etc/v2ray/gen_config.lua 用于生成 v2ray 的 json 配置文件, 后者用于 tls+ws 模式下的系统的证书 翻译可能不全,不过有些翻译了的话让人感到更奇怪。。(逃
32 lines
816 B
Plaintext
32 lines
816 B
Plaintext
config v2ray 'v2ray'
|
|
option gfwlist 'china-banned'
|
|
option enabled '0'
|
|
option proxy_mode 'M'
|
|
option safe_dns_tcp '1'
|
|
option cron_mode '1'
|
|
option address 'test.TEST'
|
|
option port '443'
|
|
option id '00755892-0921-4433-bd92-04242abd92af'
|
|
option alterId '64'
|
|
option security 'aes-128-gcm'
|
|
option network_type 'ws'
|
|
option tls '1'
|
|
option mux '1'
|
|
option tcp_obfs 'none'
|
|
list tcp_path '/'
|
|
list tcp_host 'www.baidu.com'
|
|
option kcp_obfs 'none'
|
|
option kcp_mtu '1350'
|
|
option kcp_tti '20'
|
|
option kcp_uplink '5'
|
|
option kcp_downlink '20'
|
|
option kcp_congestion '1'
|
|
option kcp_readbuf '2'
|
|
option kcp_writebuf '2'
|
|
option ws_path '/v2ray'
|
|
option ws_headers 'www.baidu.com'
|
|
|
|
|
|
|
|
|