File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ docker run --rm -it --entrypoint ash --cap-add=NET_ADMIN lesca/xray-tproxy:lates
105105
106106All 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.
Original file line number Diff line number Diff line change 55# configs
66ENFORCE_LAN_SRC_IP4=${ENFORCE_LAN_SRC_IP4:- " " }
77ENFORCE_LAN_SRC_IP6=${ENFORCE_LAN_SRC_IP6:- " " }
8- ALLOW_QUIC=${ALLOW_QUIC:- " false" }
98LOCAL_DNS=${LOCAL_DNS:- " 114.114.114.114" }
109REMOTE_DNS=${REMOTE_DNS:- " 1.1.1.1 8.8.8.8" }
1110XRAY_INBOUND_PORT=${XRAY_INBOUND_PORT:- " 12345" }
5958EOF
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) ---
You can’t perform that action at this time.
0 commit comments