Page 1 of 1

Possible ways to convert tcp connection to udp?

Posted: Mon Oct 31, 2022 1:45 pm
by p01arbear
Hello.

I'm trying to find simple ways to improve connection quality (eliminate connection delays and resets) with one faraway remote server with a rigid configuration with tcp connection. My intention is to terminate the tcp connection on some proxy-converter as close to the server's location as possible, and then connect to the proxy-converter via udp.

Is there any "native" or "recommended" solution for this? Is it even possible for OpenVPN protocol?
Or the simplest solution is to use usual cumbersome setup with client, server and scripts on intermediate proxy-converter to do this "conversion" of tcp to udp?

Re: Possible ways to convert tcp connection to udp?

Posted: Mon Nov 07, 2022 3:07 am
by openvpn_inc
Hi bear,

No, that's not possible in OpenVPN, and I rather doubt that the server-in-the-middle idea will help. It might, if the delays and replays are all in the links close to the TCP server. But it might just cause more problems with the added latency of the intermediate UDP server / TCP client.

I'd recommend looking at why TCP is forced upon you. If it's an ISP blocking UDP OpenVPN packets, I'd suggest shopping for a better ISP.

regards, rob0