Skip to content

Commit 81f0835

Browse files
committed
~tproxy remove allow_quick switch, xray should take control
1 parent e1d0dfe commit 81f0835

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

xray-tproxy/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ docker run --rm -it --entrypoint ash --cap-add=NET_ADMIN lesca/xray-tproxy:lates
105105

106106
All the environment variables that you can set in `docker-compose.yaml` file:
107107

108-
* `ALLOW_QUIC`: Allow QUIC (UDP/443) traffic.
109-
* Default: false
110108
* `LOCAL_DNS`: Local DNS server to be used for Xray first dialing. It has nothing to do with Xray's internal DNS.
111109
* Default: 114.114.114.114
112110
* `REMOTE_DNS`: Space separated dnsmasq servers.

xray-tproxy/entrypoint.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# configs
66
ENFORCE_LAN_SRC_IP4=${ENFORCE_LAN_SRC_IP4:-""}
77
ENFORCE_LAN_SRC_IP6=${ENFORCE_LAN_SRC_IP6:-""}
8-
ALLOW_QUIC=${ALLOW_QUIC:-"false"}
98
LOCAL_DNS=${LOCAL_DNS:-"114.114.114.114"}
109
REMOTE_DNS=${REMOTE_DNS:-"1.1.1.1 8.8.8.8"}
1110
XRAY_INBOUND_PORT=${XRAY_INBOUND_PORT:-"12345"}
@@ -59,13 +58,6 @@ EOF
5958
EOF
6059
fi
6160

62-
# Add QUIC rule if needed
63-
if [ "$ALLOW_QUIC" = "false" ]; then
64-
cat >> "$MAIN_NFT" <<EOF
65-
udp dport 443 reject
66-
EOF
67-
fi
68-
6961
# Add the rest of the XRAY chain
7062
cat >> "$MAIN_NFT" <<EOF
7163
# --- 匹配/跳过规则 (RETURN) ---

0 commit comments

Comments
 (0)