Common server listening on TCP and UDP



  • I have reliability problems using UDP vpn in some wifi networks all i use TCP for vpn access. However, most often vpn on UDP  works well. Is it possible to run both at the same time and let the client decide which needs to be connected?
    Ideally, I don't want to setup two separate servers each for TCP and UDP.


  • Rebel Alliance Developer Netgate

    OpenVPN itself doesn't support that.

    You can make a copy of the server and keep everything the same except for the tunnel network and protocol, adjust your WAN firewall rule, and then you can pick either protocol on the client.