This commit is contained in:
潘羿
2021-04-08 19:03:19 +08:00
committed by paniy
parent b4dc6bdd78
commit de010f09d3
3 changed files with 7 additions and 8 deletions
+2 -4
View File
@@ -7,7 +7,7 @@
"inbounds": [{
"port": 10086,
"listen": "127.0.0.1",
"tag": "VLESS-in",
"tag": "VLESS-ws-in",
"protocol": "VLESS",
"settings": {
"clients": [{
@@ -48,9 +48,7 @@
"domainStrategy": "AsIs",
"rules": [{
"type": "field",
"inboundTag": [
"VLESS-in"
],
"inboundTag": ["VLESS-ws-in"],
"outboundTag": "direct"
}]
}
+3 -2
View File
@@ -7,6 +7,7 @@
"inbounds": [{
"port": 443,
"protocol": "VLESS",
"tag": "VLESS-XTLS-in",
"settings": {
"clients": [{
"id": "UUID",
@@ -36,7 +37,7 @@
{
"port": 10086,
"listen": "127.0.0.1",
"tag": "VLESS-in",
"tag": "VLESS-ws-in",
"protocol": "VLESS",
"settings": {
"clients": [{
@@ -78,7 +79,7 @@
"domainStrategy": "AsIs",
"rules": [{
"type": "field",
"inboundTag": ["VLESS-in"],
"inboundTag": ["VLESS-XTLS-in", "VLESS-ws-in"],
"outboundTag": "direct"
}]
}
+2 -2
View File
@@ -33,7 +33,7 @@ Error="${Red}[错误]${Font}"
Warning="${Red}[警告]${Font}"
# 版本
shell_version="1.5.4.8"
shell_version="1.5.4.9"
shell_mode="None"
shell_mode_show="未安装"
version_cmp="/tmp/version_cmp.tmp"
@@ -348,7 +348,7 @@ modify_inbound_port() {
elif [[ "$shell_mode" == "xtls" ]]; then
# sed -i "/\"port\"/c \ \"port\":${port}," ${xray_conf}
sed -i "8c\ \"port\": ${port}," ${xray_conf}
sed -i "37c\ \"port\": ${xport}," ${xray_conf}
sed -i "38c\ \"port\": ${xport}," ${xray_conf}
fi
judge "Xray port 修改"
if [[ "$shell_mode" != "ws" ]]; then