Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    UDP or TCP

    OpenVPN
    4
    7
    938
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GilG
      Gil Rebel Alliance
      last edited by

      I run a number of OpenVPN services for a variety of clients.
      Most of them are for streaming, so I use TCP.
      I have one OVPN server for FTP which I have also run on TCP, but I am re-thinking that it could perform better on UDP.
      Any thoughts?

      11 cheers for binary

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Almost everything will run better over UDP.

        http://sites.inka.de/sites/bigred/devel/tcp-tcp.html

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 1
        • GilG
          Gil Rebel Alliance
          last edited by

          A good read, thanks Derelict

          11 cheers for binary

          1 Reply Last reply Reply Quote 0
          • A
            AndrewZ
            last edited by

            Some people (including myself) are using both for various reasons.
            Having a server listening on 443/TCP may help to bypass firewalls.

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              That may be but for performance reasons it will suffer but might be better than it not working at all.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @Derelict
                last edited by

                @derelict said in UDP or TCP:

                might be better than it not working at all.

                Might be? hehehe you could say that... Kind of hard to bounce a vpn connection off a proxy with UDP.. And 1194 not always open - but pretty much given that if there is internet access 443 tcp is going to be.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  The OP asked about performing better. And that is the answer that was given. Needing to use TCP for other reasons is pretty much off-topic.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.