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

    Openvpn too slow, what can I do to improve it?

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 1.8k 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.
    • S Offline
      Skippern12
      last edited by

      Hi

      I have a setup with running pfsense on a small desktop computer with Intel i3 4160 cpu (3,6ghz) and 4gb ram.

      Internet connection is 100/100 mbit.

      Openvpn server i s set up with AES128cbc and 2048 bit key.

      When connecting to my server from remote locations I only get 8-10 mbit. Why is it so slow?
      Is the i3 cpu just too small?

      Before we started using pfsense we had a linksys box and we only got 5mbit openvpn speed. So we almost doubled it with pfsense. But we should have 50+ mbit to be able to work more efficent from remote sites.

      EDIT:
      Did a new test. Tested OpenVPN between two desktop computers with the pfSense box in the middle. iperf measures 94,5mbit over OpenVPN. Network card is 100mbit so that is verry good. CPU load indicates 29% at max.

      Why do I only get 10mbit when connecting over the internet?

      1 Reply Last reply Reply Quote 0
      • I Offline
        isolatedvirus
        last edited by

        @Skippern12:

        Why do I only get 10mbit when connecting over the internet?

        go to speedtest.net

        10mbps is probably your upload rate.

        1 Reply Last reply Reply Quote 0
        • D Offline
          divsys
          last edited by

          10mbps is probably your upload rate.

          Just to add to that - on one end of the connection or the other (or both)

          -jfp

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

            If your upload on pfsense is 10mbps, and a client connects to pfsense even if its internet is gig/gig - any traffic that pfsense would need to send to this client would be limited to 10mbps.

            So if your routing internet through this vpn for example, or trying to download a file from something on the other end of the vpn - your speedlimit would be the 10mbps of pfsense upload.

            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.8, 24.11

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