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

phantun version0.5 #110

Closed senkiss closed 1 year ago

senkiss commented 1 year ago

s_log c_log

server and client can connect one time?then closed.

dndx commented 1 year ago

Not sure, please provide some tcpdump if possible.

If Phantun can connect successfully once, it should not have difficulty connecting later. So there might be some other issues along the network path between client and server, try investigate first.

senkiss commented 1 year ago

i known why it happened when the wireguard config file use allowed ip 0.0.0.0/0 ,phantun server and client were abnormal.

dndx commented 1 year ago

Yes, you probably need static route in this case to make sure Phantun server's IP leaves from the default network interface.