diff --git a/VLESS_tls/config.json b/VLESS_tls/config.json index 28c9dc8..de8f094 100644 --- a/VLESS_tls/config.json +++ b/VLESS_tls/config.json @@ -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" }] } diff --git a/VLESS_xtls/config.json b/VLESS_xtls/config.json index 7aea129..25704d3 100644 --- a/VLESS_xtls/config.json +++ b/VLESS_xtls/config.json @@ -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" }] } diff --git a/install.sh b/install.sh index 36f94c1..7567bc3 100644 --- a/install.sh +++ b/install.sh @@ -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