Refactor: FullCone TPROXY Inbound & Socks Outbound

https://t.me/projectXray/116037
This commit is contained in:
RPRX authored and GitHub committed 2020-12-29 11:50:17 +00:00
1 parent 13ad3fddf6
commit 2da07e0f8a
5 files changed
+128 -48

No files matched your search

+2 -1
View File
@@ -279,7 +279,8 @@ func (w *udpWorker) callback(b *buf.Buffer, source net.Destination, originalDest
src: source,
}
if originalDest.IsValid() {
id.dest = originalDest
//id.dest = originalDest
b.UDP = &originalDest
}
conn, existing := w.getConnection(id)