Merge pull request #147 from leavingme/master

inbound 和 inboundDetour 中增加 sniffing 配置
This commit is contained in:
Chaco Green
2020-05-04 22:17:57 +08:00
committed by GitHub
3 changed files with 14 additions and 2 deletions

View File

@@ -14,6 +14,10 @@
### 更新日志 ### 更新日志
* 2020-05-04
* 更新`v2ray`配置文件inbound 和 inboundDetour 中增加 sniffing 配置
* 2020-04-26 * 2020-04-26
* 优化工具箱离线使用 * 优化工具箱离线使用
* `vsftpd`不能使用的用户可以尝试`entware`的方式启用 * `vsftpd`不能使用的用户可以尝试`entware`的方式启用

View File

@@ -5,5 +5,5 @@ supports="linux_arm,linux_mips,linux_x86_64"
openport="1" openport="1"
backupfiles="config/ssserver.conf,config/sscontrol.conf,config/customize_black.conf,config/customize_white.conf" backupfiles="config/ssserver.conf,config/sscontrol.conf,config/customize_black.conf,config/customize_white.conf"
appinfo="最好的翻墙工具,没有之一,还可以加速国内外游戏" appinfo="最好的翻墙工具,没有之一,还可以加速国内外游戏"
newinfo="v2ray软件源失效可用" newinfo="更新v2ray配置文件inbound 和 inboundDetour 中增加 sniffing 配置"
version="0.1.6" version="0.1.7"

View File

@@ -183,6 +183,10 @@ cat >> "$v2ray_config" <<-EOF
"ip": "127.0.0.1", "ip": "127.0.0.1",
"clients": null "clients": null
}, },
"sniffing": {
"enabled": true,
"destOverride": ["http","tls"]
},
"streamSettings": null "streamSettings": null
}, },
EOF EOF
@@ -196,6 +200,10 @@ cat >> "$v2ray_config" <<-EOF
"settings": { "settings": {
"network": "tcp,udp", "network": "tcp,udp",
"followRedirect": true "followRedirect": true
},
"sniffing": {
"enabled": true,
"destOverride": ["http","tls"]
} }
} }
], ],