dndx / phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs.
Apache License 2.0
1.71k stars 138 forks source link

test udp #81

Closed saturn-x closed 2 years ago

saturn-x commented 2 years ago

hello, can i use nc lu 0.0.0.0:port in server and use nc -u 127.0.0.1:port in client to test this ?

saturn-x commented 2 years ago

I have test it successfully. But I catch a problem. it's ok at ubuntu 20, but it can't to handshake at ubuntu 22

image

image

Handsome1080P commented 2 years ago

Client firewall NAT Server firewall DNAT

dndx commented 2 years ago

You have some boxes terminating the TCP connection in the middle that is preventing the connection being established.