feat(脚本): 修改下载脚本的方式、修改v2ray只使用ipv4、修改trojan-go优先使用ipv4
parent
af0fe21305
commit
f37278c80e
|
@ -38,7 +38,7 @@
|
||||||
- 7.莞港IPLC+HK
|
- 7.莞港IPLC+HK
|
||||||
|
|
||||||
## 组合推荐
|
## 组合推荐
|
||||||
- 中专/gia ---> VLESS+TCP+TLS/XTLS or Trojan【推荐使用XTLS的xtls-rprx-direct】
|
- 中专/gia ---> VLESS+TCP+TLS/XTLS、Trojan【推荐使用XTLS的xtls-rprx-direct】
|
||||||
- 移动宽带 ---> VMESS+WS+TLS/Trojan-Go+WS + Cloudflare
|
- 移动宽带 ---> VMESS+WS+TLS/Trojan-Go+WS + Cloudflare
|
||||||
- Trojan建议开启Mux【多路复用】,仅需客户端开启,服务端自适应。
|
- Trojan建议开启Mux【多路复用】,仅需客户端开启,服务端自适应。
|
||||||
- VMess/VLESS也可开启Mux,效果需要自己尝试,XTLS不支持Mux。仅需客户端开启,服务端自适应。
|
- VMess/VLESS也可开启Mux,效果需要自己尝试,XTLS不支持Mux。仅需客户端开启,服务端自适应。
|
||||||
|
|
|
@ -1212,7 +1212,7 @@ initV2RayConfig(){
|
||||||
{
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIP"
|
"domainStrategy": "UseIPv4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -1246,7 +1246,7 @@ EOF
|
||||||
{
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIP"
|
"domainStrategy": "UseIPv4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1471,6 +1471,9 @@ initTrojanGoConfig(){
|
||||||
},
|
},
|
||||||
"router": {
|
"router": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
},
|
||||||
|
"tcp":{
|
||||||
|
"prefer_ipv4":true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
@ -2268,7 +2271,7 @@ menu(){
|
||||||
cd
|
cd
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v2.1.7"
|
echoContent green "当前版本:v2.1.8"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:七合一共存脚本"
|
echoContent green "描述:七合一共存脚本"
|
||||||
echoContent red "=============================================================="
|
echoContent red "=============================================================="
|
||||||
|
|
Loading…
Reference in New Issue