Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    SOLVED - VPN Slow Speeds with AES-NI - SOLVED!

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 1 Posters 8.6k Views 1 Watching
    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.
    • C
      choder
      last edited by choder

      I am getting very slow speeds with PIA VPN enabled even with AES-NI. Its like pfsense is not taking advantage of AES-NI support that my hardware has.

      My cable is a 100Mbps down / 10Mbps up.
      But with my PIA VPN enabled I only get 40Mbps down.
      If I use the PIA app on windows I get very close to 100Mbps down.

      I assumed that this hardware below was sufficient at handling these speeds with VPN and the AES-NI.

      Any help would be greatly appreciated.

      2.4.3-RELEASE (amd64)
      Intel(R) Celeron(R) CPU N3150 @ 1.60GHz
      4 CPUs: 1 package(s) x 4 core(s)
      AES-NI CPU Crypto: Yes (active)

      Followed these instructions to set it up.
      https://www.privateinternetaccess.com/archive/forum/discussion/29231/tutorial-setup-pia-on-pfsense-2-4-2
      and
      https://forum.netgate.com/topic/125360/tutorial-configure-pia-private-internet-access-vpn-on-pfsense-2-4/2

      1 Reply Last reply
      Reply Quote 0
      • C
        choder
        last edited by

        Nothing changes if I enable or disable crypto

        0_1536413783481_cryp.JPG

        1 Reply Last reply
        Reply Quote 0
        • C
          choder
          last edited by

          This fixed my speed issues.

          In your open vpn client settings I added this to my custom options.
          My speeds went from 40Mbps, to 90Mbps.
          My ping times also went from 27ms to 20ms
          This was recommended from this thread. https://forum.netgate.com/topic/114212/aes-ni-cryptodev-openvpn-help-a-n00b-understand/23

          fast-io
          sndbuf 524288
          rcvbuf 524288

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy