1

I set up a Softether VPN on my Raspberry Pi per the instructions here, and I'm getting extremely low throughput when connecting to the VPN. My Internet connection to the Raspberry Pi is about 30 Mbit/s down and 3 Mbit/s up, yet when I connect to the VPN (on another connection that is equally as fast, if not faster), I only get about 1 Mbit/s down & up.
The CPU on the Pi is running at no more than ~5-15% with one connection, so it's not a problem with the hardware as far I as can tell.

How and why am I getting such terrible performance?

daviesgeek
  • 1,709

2 Answers2

3

I got the same issue with yours. And I solved it by adding a tab and bridge device between the vhub and eth0. It look like this:

vhub <---> tap0 <---> br0 <---> eth0 (50 to 60 Mbps)

The default set up: vhub <---> eth0 (1 to 3 Mbps)

It also works for vmware if you use VMXNET3

2

Few suggestions:

  1. Connect to your VPN server within the same local LAN and test the speed. If you got good throughput with local LAN connection, it would be the networking issue, problem caused by the router, in between your two sites

  2. Softether Linux VPN client has built-in throughput testing cmd: TrafficClient and TrafficServer; try to see what speed you can get with these commands

  3. You also can try to increase the number of TCP connections with command: AccountDetailSet. That can improve your network throughput, too.

Hope it helps a bit.