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

    low speed (2MBps) on openvpn server (pfsense community edition)

    Scheduled Pinned Locked Moved OpenVPN
    10 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.
    • R
      rampuse
      last edited by

      i have setup pfsense on an ryzen 2400g (4core8thread 3 ghz) and set openvpn server on it. one internal motherboard gigabit lan (using as wan) and other pcie gigabit lan card (lan for pfsense). when i connect form a win10 openvpn client in another isp internet i get only 2MBps read speed in smb. i.e. reading from shared volume on pfsense lan side pc. can i get 100mbps i.e. 12MBps or something? i really want 100 or 150mbps speeds for accessing the local pfsense lan shared drive. please help. using pfsense community edition 2.6.0.

      1 Reply Last reply Reply Quote 0
      • AndyRHA
        AndyRH
        last edited by

        What is the latency? SMB is chatty and latency impacts the performance.
        Have you done an iperf test through the connection to make sure OpenVPN is performing like you expect?

        o||||o
        7100-1u

        R Cool_CoronaC 2 Replies Last reply Reply Quote 0
        • R
          rampuse @AndyRH
          last edited by

          @andyrh how do i check the latency. u mean my client side internet general latency or what? i am no network guy. please be helping in simple steps.
          how to do iperf test.
          thanks

          AndyRHA 1 Reply Last reply Reply Quote 0
          • AndyRHA
            AndyRH @rampuse
            last edited by

            @rampuse Ping the remote system from the local one. It will show the latency of the connection.

            o||||o
            7100-1u

            R 1 Reply Last reply Reply Quote 0
            • Cool_CoronaC
              Cool_Corona @AndyRH
              last edited by

              @andyrh On a 25ms VPN (latency) then SMB shouldnt have a problem, but it does....

              VPN via pfense sucks performance wise.

              R 1 Reply Last reply Reply Quote 0
              • R
                rampuse @AndyRH
                last edited by

                @andyrh the latency is about 37 to 45ms . i pinged the remote wireguard server. yes, now i am trying out wireguard...getting around 3 to 4 MBps from same setup (for the smb). sooooo wireguard is better than the openvpn, but only little.

                1 Reply Last reply Reply Quote 0
                • R
                  rampuse @Cool_Corona
                  last edited by

                  @cool_corona then what would u recommend for a vpn setup? those costly vpn routers, like fortigate?? i was trying to avoid them.....

                  Cool_CoronaC 1 Reply Last reply Reply Quote 0
                  • Cool_CoronaC
                    Cool_Corona @rampuse
                    last edited by

                    @rampuse I dont know.... A old Cisco or MikroTik outperforms pfsense with a factor of 20 on a IPSec.

                    I havent tried OPNSense VPN wise so I cant tell you if its better but I would give it a try.

                    1 Reply Last reply Reply Quote 0
                    • AndyRHA
                      AndyRH
                      last edited by

                      For reference, on an 8ms WG VPN I am getting 150+Mbps single stream and 750+ Mbps with 10 streams. 7100 <-> 6100 both with symmetrical 1Gb fiber. The testing was done with iperf, server to server. Synology replication over the same link runs in the 350Mbps range.
                      The only tuning was to reduce the MTU.

                      o||||o
                      7100-1u

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        VPN performance on pfSense is great if you configure and tune it properly. It's even better on Plus.

                        It helps if you have hardware that supports acceleration and use algorithms which are accelerated by that hardware.

                        A lot also depends on your ISP. The upload and download speed (claimed and actual tested speed), WAN type (PPPoE, DHCP/Static, etc), MTU, and so on. Also if your client is on another ISP their WAN speeds matter, too. As well as along the whole path between the two sites.

                        All that said, SMB is notoriously crappy over non-local networks so it's a poor way to judge speed. Definitely run tests with something like iperf (between the client and the target server, NOT to the firewall itself!).

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

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