Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
« previous
next »
Print
Pages: [
1
]
Author
Topic: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be (Read 1189 times)
FarmerBrown
Newbie
Posts: 3
Karma: 0
Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
on:
May 01, 2024, 09:22:28 pm »
Hi,
A new OPNSense user here so still feeling my way around.
I've spent a few days now migrating / rebuilding from pfsense over to opnsense (same hardware) and today got around to the VPN side of things. I have a VPN with Private Internet Access through which I push some traffic.
With pfsense I use to get near-wire speed of 500Mb down. On OPNSense, without VPN, I get near-wire speed (400-450) which is expected.
When I run it over the VPN, I only get 150-170Mb/s down.
I read that as of 22, AES-NI is supported in the kernel so I don't explicitly need to do anything with it.
I note that within the settings, hardware acceleration is set to None. (Assuming this is correct)
hardware: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2 cores, 4 threads)
instance: OPNsense 24.1.6-amd64, FreeBSD 13.2-RELEASE-p11, OpenSSL 3.0.13
load average: 0.26, 0.28, 0.34
I am using Private Internet Access, the same sever (address at least) as I used before.
I am using OpenVPN "legacy".
Am I missing something that is slowing it down?
Logged
FarmerBrown
Newbie
Posts: 3
Karma: 0
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #1 on:
May 01, 2024, 09:24:03 pm »
Should have added - CPU goes to 45-50% when running a download.
It never budged on pfSense once hardware acceleration was enabled.
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #2 on:
May 02, 2024, 08:22:53 am »
If you compare FreeBSD 14 and 13 I'm certain there are differences not even factoring in OpenVPN DCO, which isn't available in FreeBSD 13.
Cheers,
Franco
Logged
FarmerBrown
Newbie
Posts: 3
Karma: 0
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #3 on:
May 02, 2024, 09:47:46 am »
Franco, I am sure there are lots of differences but my issue I am trying to solve is the performance one.
It would be odd to say a newer OS would be that much worse than the previous one? (Windows 11 enters the chat...)
I've poked and prodded around and cannot see anything I have done wrong. I've also used different servers for PIA and same thing.
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #4 on:
May 02, 2024, 11:06:14 am »
The OS major version difference is one of the main differences in performance. It's been discussed exhaustively.
I still don't know if you base your measurement off DCO in the pfSense so that's all I can say from here.
Cheers,
Franco
Logged
chemlud
Hero Member
Posts: 2488
Karma: 112
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #5 on:
May 02, 2024, 11:37:47 am »
https://forum.opnsense.org/index.php?topic=38909.msg197650#msg197650
I personally don't like close-source crypto(enhancers?).
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #6 on:
May 02, 2024, 11:51:44 am »
Quote from: chemlud on May 02, 2024, 11:37:47 am
I personally don't like close-source crypto(enhancers?).
But totally free of backdoors and bugs, trust me.
Cheers,
Franco
Logged
Patrick M. Hausen
Hero Member
Posts: 6871
Karma: 577
Re: Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be
«
Reply #7 on:
May 02, 2024, 11:56:50 am »
Hey bud! Come here!
WHAT? ME?
Pssshhh!
what? me?
Rrrriiight.
Wanna buy some crypto enhancements?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Migrated from pfSense to OPNSense - OpenVPN throughput not what it used to be