OPNsense Forum

English Forums => Virtual private networks => Topic started by: Homelab on November 30, 2021, 01:46:08 pm

Title: Bad OpenVPN speeds using Mullvad
Post by: Homelab on November 30, 2021, 01:46:08 pm
Hello everyone,

I have been struggling with an issue regarding an OpenVPN connection from my Opnsense to Mullvad.
The speeds I am achieving routing my traffic through said connection are around 30 MBit/s up and roughly 20 MBit/s down. So that's weird, since up is higher than down. Same sadly goes for a Wireguard connection.
Although when I connect from my pc directly to Mullvad using the Mullvad Application and just routing it to my WAN on my Opnsense I get speeds of up to 200 MBit/s down, and 40 MBit/s up.
The issue with that is as soon as I start streaming a twitch video through my Mullvad OpenVPN connection on my opnsense I start getting packet loss on said connection and thus my whole network is having troubles sharing said connection. My WAN is unaffected by this (GBit connection).
I have tried pasting various configurations that I have found online claiming to improve speeds but they rarely noticably did.
I have assigned 4 Gigs of RAM and 4 Cores to my Opnsense, but I can up that (32 Cores available, 64GB RAM).
I am running opnsense as a VM using proxmox with 32 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (2 Sockets).
CPU usage does not ever get even close to like 100%. Mostly seen 1-5% on peaks maybe 35%.
RAM usage is 10%. These stats are according to opnsense. Proxmox reports slightly higher CPU usage and a RAM usage of 85% on the VM.
Any help is welcome.

Thanks in advance.
Have a great week!
Title: Re: Bad OpenVPN speeds using Mullvad
Post by: linuxim on August 26, 2022, 09:41:53 pm
me too/  Help please