Slow VPN over pihole internet speed

Please follow the below template, it will help us to help you!

Expected Behaviour

Small impact on internet speed

Actual Behaviour:

Slow internet over VPN. Using speed test over 4g I get around 11k kb/s but when using VPN over pihole I get around 1k kb/s this is a dramatic decrease of the speed. Anyone know what could be the cause ?

Debug Token:

[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]

Bad WiFi on the Raspberry Pi?

Try use fast.com for the speed test.


You'll need to post more info.

There are so many factors that affect the speed of the VPN thru Pi.

  1. RPi Zero vs Rpi 4 huge difference due to CPU capabilites
  2. If using OpenVPN, the strength of the key makes a huge difference 1024 vs 4096 keys
  3. 4G vs 4G LTE.

For me, with RPi 3+ and 70/6 Mbps ISP speeds, on a 4G LTE, I get only 6Mbps since that maxes out my upload on my ISP

Using a Rpi Zero, I get only 3Mbps both using 4096 encryption keys.

There is overhead and it's not negligible as your expected behavior.

Also, could be a settings issue in your Pi VPN. Mismatch can cause a huge drop like that. Check your VPN debug logs for errors to start.

Thanks for the reply, I just understood yesterday that the VPN uses the upload speed and not my download speed :slight_smile: so that's the max as we have ISPs only offering asymmetrical fiber so it's 100 up and 10 down and speed test showed my max upload indeed. Btw I'm running the VPN on the 86u running Merlin so it's very capable of handling OpenVpn

I have VPN on 86U running Adv Tomato too on a remote router; while very capable, I find PiVPN installed on a Pi is much easier to administer long term, especially certificates. Maybe Merlin is easier to manage than Adv Tomato too. OR if you only have a few clients to manage, it might not matter but the more clients you add, PiVPN with Pihole is much easier. Might even want to give PiVPN a try as a backup. As I have both on that network for redundancy.

Yes I only have 2 VPN clients, my phone and my laptop, the wfie doesn't want to go the VPN route so it's manageable for now , no headaches so far I just wish my ISP could offer symmetric fiber :angry:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.