[GH-ISSUE #514] 支持tproxy #415

Open
opened 2026-02-27 23:16:50 +03:00 by kerem · 0 comments
Owner

Originally created by @w311ang on GitHub (Dec 17, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/514

不能一味地使用redirect,因为在客户端udp请求局域网ipv6时,会出现超时,因为iptables没有改写响应中的原IP端口为客户端请求的目标IP端口导致了

$ dig +notcp wew.google.com fdc3:b357:6fa0::1
;; reply from unexpected source: fdc3:b357:6fa0::1#534, expected fdc3:b357:6fa0::1#53

详见lifenjoiner/dnsforwarder#11,各种情况下redir的测试https://github.com/coolsnowwolf/lede/discussions/10227

Originally created by @w311ang on GitHub (Dec 17, 2022). Original GitHub issue: https://github.com/snail007/goproxy/issues/514 不能一味地使用redirect,因为在客户端udp请求局域网ipv6时,会出现超时,因为iptables没有改写响应中的原IP端口为客户端请求的目标IP端口导致了 ``` $ dig +notcp wew.google.com fdc3:b357:6fa0::1 ;; reply from unexpected source: fdc3:b357:6fa0::1#534, expected fdc3:b357:6fa0::1#53 ``` 详见[lifenjoiner/dnsforwarder#11](https://github.com/lifenjoiner/dnsforwarder/issues/11),各种情况下redir的测试https://github.com/coolsnowwolf/lede/discussions/10227
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#415
No description provided.