diff --git a/sing-box.sh b/sing-box.sh index 1c339d9..408c9f9 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # 当前脚本版本号 -VERSION='v1.3.11 (2026.05.06)' +VERSION='v1.3.11 (2026.05.12)' # Github 反代加速代理 GITHUB_PROXY=('https://hub.glowp.xyz/' 'https://proxy.vvvv.ee/') @@ -2145,6 +2145,10 @@ collect_exposed_ports() { *hysteria2_inbounds.json|*tuic_inbounds.json ) append_unique_port EXPOSED_UDP_PORTS "$PORT" ;; + *naive_inbounds.json ) + append_unique_port EXPOSED_TCP_PORTS "$PORT" + append_unique_port EXPOSED_UDP_PORTS "$PORT" + ;; *vmess-ws_inbounds.json|*vless-ws-tls_inbounds.json ) [ "$HAS_NGINX" = false ] && append_unique_port EXPOSED_TCP_PORTS "$PORT" ;; @@ -2353,6 +2357,10 @@ sync_firewall_rules() { *hysteria2_inbounds.json|*tuic_inbounds.json ) append_unique_port EXPOSED_UDP_PORTS "$PORT" ;; + *naive_inbounds.json ) + append_unique_port EXPOSED_TCP_PORTS "$PORT" + append_unique_port EXPOSED_UDP_PORTS "$PORT" + ;; *vmess-ws_inbounds.json|*vless-ws-tls_inbounds.json ) [ "$HAS_NGINX" = false ] && append_unique_port EXPOSED_TCP_PORTS "$PORT" ;; @@ -5128,4 +5136,4 @@ elif [ "$IS_FAST_INSTALL" = 'is_fast_install' ]; then else menu_setting menu -fi \ No newline at end of file +fi