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

    Weird slow OpenVpn connection

    OpenVPN
    3
    17
    482
    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.
    • D
      d.k @Gertjan
      last edited by

      @Gertjan No pretty much everything should still be standard except firewall rules And Nat port forwarding!

      1 Reply Last reply Reply Quote 0
      • D
        Decepticon
        last edited by

        I know it sounds strange, but try changing from UDP to TCP.

        I have found that the very same OpenVPN tunnel on TCP works faster than UDP. I know it's supposed to be the other way around, but my real world experience has consistently been the opposite.

        Alternatively, you might have an MTU issue. Either way, TCP may paradoxically speed things up.

        D 2 Replies Last reply Reply Quote 0
        • D
          d.k @Decepticon
          last edited by d.k

          @Decepticon I am already running on TCP!

          This is the nic I use for wan and lan!

          https://a.co/d/gvQPQjX

          D 1 Reply Last reply Reply Quote 0
          • D
            d.k @Decepticon
            last edited by

            @Decepticon I also tried UDP Protocol and exact the same speed as TCP!

            1 Reply Last reply Reply Quote 0
            • D
              Decepticon @d.k
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • D
                Decepticon
                last edited by Decepticon

                In that case, I don't know. My personal view is that pfSense makes OpenVPN much more complicated than it needs to be. Ideally, I'd just paste my OpenVPN configuration file into a field and it would work. Instead, pfSense breaks all the options into separate entries on a webpage. It may be that in one of those many options, you've changed something. Or it may be that your new hardware is just less capable than your old one when it comes to OpenVPN.

                My best recommendation is to use Wireguard, which is way faster than OpenVPN. The implementation in pfSense is much easier to map to a configuration file.

                D 2 Replies Last reply Reply Quote 0
                • D
                  d.k @Decepticon
                  last edited by

                  @Decepticon Ok I’ll check it out thanks!

                  I also did a run from my computer and from 550up I went down to 50up that’s pretty interesting so it’s not the mobile network 5g connection that is the problem!

                  1 Reply Last reply Reply Quote 0
                  • D
                    d.k @Decepticon
                    last edited by

                    @Decepticon I found the issue I watched a second tutorial and saw that he didn’t use TCP and IPV6 on all interfaces (multidimensional) instead he used only TCP on IPv4 only! And that speeds up to the speed it should be!

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Decepticon @d.k
                      last edited by

                      @d-k

                      I'm glad that my suggestions pointed you in the right direction!

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        d.k @Decepticon
                        last edited by

                        @Decepticon yup thanks!

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