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

UDP or TCP

Scheduled Pinned Locked Moved OpenVPN
7 Posts 4 Posters 950 Views
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.
  • G
    Gil Rebel Alliance
    last edited by May 26, 2018, 7:42 AM

    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
    • D
      Derelict LAYER 8 Netgate
      last edited by May 26, 2018, 7:45 AM

      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
      • G
        Gil Rebel Alliance
        last edited by May 26, 2018, 10:30 AM

        A good read, thanks Derelict

        11 cheers for binary

        1 Reply Last reply Reply Quote 0
        • A
          AndrewZ
          last edited by May 26, 2018, 7:18 PM

          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
          • D
            Derelict LAYER 8 Netgate
            last edited by May 26, 2018, 9:41 PM

            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)

            J 1 Reply Last reply May 27, 2018, 1:04 PM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @Derelict
              last edited by May 27, 2018, 1:04 PM

              @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
              • D
                Derelict LAYER 8 Netgate
                last edited by May 27, 2018, 5:06 PM

                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
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received