Quote from: nero355 on March 17, 2026, 04:03:05 AMQuote from: ati on March 15, 2026, 02:46:41 PMI am getting miserable OpenVPN performance when I connect to my VPN provider via OPNsense compared to when I use my computer behind OPNsense.Two things come to my mind immediately :
I am using Ookla speedtest with the same settings.
- Ookla Server speeds can vary a lot !!
- Are you connected to the same OpenVPN Server with both and are you sure that Server has the same bandwidth capacity at both times ?QuoteMy Laptop using OpenVPN:Wired or WiFi ?
200Mb up
240Mb down
Reason I am asking is because this makes no sense to me :QuoteOpenVPN .opvn file:I would expect that value to be lower because now it's equal to Ethernet ?!Code Selecttun-mtu 1500
Something like 1400 or so would be better I think, but I am not a MTU expert...
And perhaps it gets automatically lowered by the OpenVPN Client Software when using a WiFi connection ?QuoteThere are of course a lot of settings in the VPN providers .ovpn file that I cannot configure in OPNsense unfortunately.Such as ??
1. I was using the exact same VPN settings for both my laptop and OPNsense OpenVPN. The settings file that is the first post...
2. I used the exact same server for both speed test at Ookla. (I also used fast.com as a sanity check)
3. Laptop was wired, but that shouldn't really matter. It was faster than OPNsense regardless of connection method. I just ran it again via WiFi with very similar results.
4. I would agree regarding the MTU settings, however that is what I am provided from my VPN provider.
5. These are the settings that are in the provided .ovpn file that cannot be configured in OPNsense OpenVPN:
(That said, I am not familiar enough with OpenVPN to know whether they matter or not)
Code Select
persist-key
persist-tun
nobind
remote-random
pull
comp-lzo no
route-method exe
route-delay 2
mssfix 1200
verb 3
sndbuf 524288
rcvbuf 524288
"


