Skip to content

Commit 77b5396

Browse files
committed
fix: dns redirect bug
1 parent ff127f6 commit 77b5396

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ss-tproxy

+2-1
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ do_proxy_tproxy() {
926926
((udp)) &&
927927
$1 -t mangle -A SSTP_PREROUTING \
928928
-p udp \
929+
-m udp ! --dport 53 \
929930
-m conntrack --ctstate NEW,RELATED \
930931
-m addrtype ! --src-type LOCAL \
931932
$(get_dst_port_match) \
@@ -1257,7 +1258,7 @@ status() {
12571258
}
12581259

12591260
version() {
1260-
echo "ss-tproxy v4.7.5 (2023-06-19)"
1261+
echo "ss-tproxy v4.7.6 (2023-06-21)"
12611262
}
12621263

12631264
help() {

0 commit comments

Comments
 (0)