Opened 13 years ago

Closed 13 years ago

#80 closed Feature Wish (notabug)

OpenVPN client config should allow TCP and UDP in one config

Reported by: Thomas Owned by:
Priority: major Milestone:
Component: Configuration Version: OpenVPN 2.1.0 / 2.1.1 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:


Since UDP does typically run faster than TCP (especially over mobile links), it would be good if a config file could look something like:

remote myhost1 udp 1443
remote myhost1 tcp 1443

rather than defining TCP/UDP for the entire config.

Use case - client is sitting behind a firewall which allows TCP but not UDP:

  • Client tries to connect to UDP and fails
  • Client (transparently to use) tries TCP and succeeds

Obviously the server would need to be appropriately set up - easy option would be to simply have two server instances running, one bound to TCP and the other to UDP

Change History (2)

comment:1 Changed 13 years ago by JJK

this is already possible in 2.1 using 2 different methods:


remote myhost1 1443 udp
remote myhost1 1443 tcp

(note the order)

2) using connection blocks

comment:2 Changed 13 years ago by David Sommerseth

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.