Page 1 of 1

Slow PiVPN/OpenVPN speeds

Posted: Tue Apr 07, 2020 9:55 am
by FruitChopper
Hi guys,

Today ive setup a VPN on my Raspberry 3B. It works pretty well and i can access my local network (NAS etc).
But the up and down speed are complete garbage. Locally on my Pi i receive the max speed that is possible in my house (50mbps up and 50 mbps down). See picture below.
When i connect to the vpn using a client i get max 8mbps up & down. See picture below.

I tried to search the web but couldn't find a solution.

About 2 years ago i made the exact same setup and i received the max speed (if i remember correctly :P )

Is there any way i can improve this speed?

All help is appreciated ;)

Re: Slow PiVPN/OpenVPN speeds

Posted: Tue Apr 07, 2020 10:08 am
by epoch1970
Encryption is costly.
I think a 3b can reach over 30Mbps when using aes-128, with client and server on a LAN.
Over the internet performance will decrease.
With another type of cipher performance will likely decease.

Re: Slow PiVPN/OpenVPN speeds

Posted: Tue Apr 07, 2020 10:19 am
by FruitChopper
epoch1970 wrote:
Tue Apr 07, 2020 10:08 am
Encryption is costly.
I think a 3b can reach over 30Mbps when using aes-128, with client and server on a LAN.
Over the internet performance will decrease.
With another type of cipher performance will likely decease.
I am now using 256-bit encryption, its the lowest option i could choose from.

So there is no software tweaks i can do that can boost performance?

Re: Slow PiVPN/OpenVPN speeds

Posted: Tue Apr 07, 2020 10:44 am
by epoch1970
I’m afraid not.

Re: Slow PiVPN/OpenVPN speeds

Posted: Wed Apr 08, 2020 7:16 am
by FruitChopper
After hours of searching a found a solution on page 4 or so on Google.
https://www.sonassi.com/help/troublesho ... or-openvpn

All i had to do was add MTU to the client .ovpns file.

Edit your .ovpns file with any text editor. Add 'mssfix (MTU Here)' to a new line at the top.

Now i receive max speed that is available in my house :D