Possible ways to convert tcp connection to udp?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
p01arbear
OpenVpn Newbie
Posts: 1
Joined: Mon Oct 31, 2022 1:10 pm

Possible ways to convert tcp connection to udp?

Post by p01arbear » Mon Oct 31, 2022 1:45 pm

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?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Possible ways to convert tcp connection to udp?

Post by openvpn_inc » Mon Nov 07, 2022 3:07 am

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply