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

    OpenVPN Speed

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 452 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.
    • W
      wakson005
      last edited by

      Just out of curiosity my line only get around 100-130mbits/s iperf with TCP and 300mbits/s iperf with UDP data is that about right for everyone else? Theoretically i thought it to be closer to 1Gbit/s as it is a 1Gbit/s line. I think my CPU might be limiting it as a single core based on what others have been saying is causing the issue.

      marcelobeckmannM 1 Reply Last reply Reply Quote 0
      • marcelobeckmannM
        marcelobeckmann @wakson005
        last edited by

        @wakson005 I have a customer with a pfsense in their company (openvpn client) and a linux in the cloud (openvpn server), and last year I spent some time investigatigating performance in VPN when we run some backups at night.
        I had to play with fast-io, sndbuf/rcvbuf and txqueuelen on linux, and UDP Fast I/O and Send/Receive Buffer on pfsense, to improve performance.
        Maybe these links could be useful for you:

        well, I tried to put two links here that helped me, but couldn't post because the message was flagged as a spam :(

        but you can search on google:

        • openvpn ticket #461 Change default sndbuf and rcvbuf values
        • Why OpenVPN is so slow? (cool story) lowendtalk
        W 1 Reply Last reply Reply Quote 1
        • W
          wakson005 @marcelobeckmann
          last edited by

          @marcelobeckmann

          Thanks really thankful for this :) will look into it.

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