wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.28k stars 456 forks source link

Not able to reconnect even if use --keep-reconnect #101

Closed xiangwuxw closed 2 years ago

xiangwuxw commented 2 years ago

--keep-reconnect does not work in all scenarios.

I have a server running behind of firewall, published an UDP port, Client NAT to internet. Somehow the channel between the server and client will hang after around 12 hours. Client keeps sending packets, but somehow the packets are not received by the server. The SRC:PORT session on one of the firewall/NAT devices stuck. Restart the client with new SRC:PORT will recover the network.

Can --keep-reconnect switch a new SRC:PORT so that there will be a new session established to overcome this firewall/NAT issue?

xiangwuxw commented 2 years ago

Please ignore this request. I will try Udp2raw

wangyu- commented 3 weeks ago

I will try Udp2raw

correct. chain udp2raw into you connection.

The heartbeat detect and auto change port is implemented in udp2raw. The same feature is not implemented again in tinyfecVPN.