docker-openvpn icon indicating copy to clipboard operation
docker-openvpn copied to clipboard

Slow speed after connecting to VPN

Open MeenachiSundaram opened this issue 6 years ago • 6 comments

I spin up the container and connected to VPN My speed got reduced from 100Mbps to 20Mbps

I'm using t2.micro instance from AWS Memory - 1GB

Do i need to change any configuration in VPN server, like to stop redirecting all web traffic through the VPN

MeenachiSundaram avatar Dec 09 '17 21:12 MeenachiSundaram

This is client config, had the same problem. Just remove the redirect-gateway deg1 at the end of the client config and replace it with the "route 10.0.0.0 255.255.255.0" with the IP and mask being what you need to connect to at the other end.

teu avatar Jan 25 '18 08:01 teu

Same problem and that fix never worked.

h3nchman avatar Feb 12 '18 19:02 h3nchman

You sustained 100MBs speed for more then a few minutes before? Micro instances are pretty limited (bandwidth and CPU wise).

bgadrian avatar Mar 11 '18 16:03 bgadrian

I've peaked (UDP) 160 Mbits/s download and 80 Mbits/s upload in bare metal. 8 cores with 16GB RAM, Gigabit ethernet.

But I'm struggling getting more than 50 Mbits/s in any AWS instance.... the same setup for the container.

lgg42 avatar Jul 27 '20 14:07 lgg42

was anyone able to find a solution to this? Ive tried a few different ciphers and still see very limited speeds, about 40Mbit/s tops from an AWS instance.

adeweever avatar Jan 27 '22 01:01 adeweever

Same slow issue on my side. Hope there are some configurations can solve this.

zdf1230 avatar May 03 '23 10:05 zdf1230