K
K
Konstantin Frolov2021-06-22 14:20:36
VPN
Konstantin Frolov, 2021-06-22 14:20:36

Why is the Internet speed slow through VPN?

There are vps in Europe.
I installed Cloud Hosted Router on it and launched an SSTP VPN server on it.
From home, I set up a connection using a home microtic.
The speed is very low, about 2 Mbps.

Screenshot of speedtest
11615021880.png

Turn off VPN
speed is much more interesting.
11615038253.png

I run on VPS in
CHR BTest Server,
60d1c62a33c84056048779.png
on home router
I run Bandwidth Test,
60d1c6581d7d6320832337.png
And the speed seems to be within the limits of the one that the provider gives.
That vps, that my home mikrotik are not loaded, the cpu load is 3-5%.

Question: why is the speed cut so much when using a VPN?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
Dimonchik, 2021-06-22
@dimonchik2013

Wireguard is your solution
, but there are no miracles - the speed is not cut, just more data is transmitted and somewhere it gets into the bottle neck, in the physical section, which slows everything down,
you measure it with Holland - choose other servers, it should normally be about ten, if VPN is not at the bottleneck

A
Andrey Barbolin, 2021-06-22
@dronmaxman

The two most common problems:
1) tcp-over-tcp, SSTP is tcp, it turns out you are dragging tcp-over-tcp, this is a big overhead, switch to ipsec or another UDP vpn.
2) Not enough CPU.
What piece of iron is at home? Maybe the CPU does not export encryption?

D
DollyPapper, 2021-06-23
@DollyPapper

As written above

In the first case, you measured the speed of data transfer between your computer and a server located in the Dutch city of Enschede
. In the second case, you measured the speed of data transfer between your computer and a server in Moscow.
. If by stupidity the speed between you and the SpeedTest server is determined by the speed at which you download a particular file. That is, if you download a file from their server at a speed of 5MB / s, then resp. your speed will be 40Mb/s (MB megabytes, Mb megabits). This is what I am for. Get yourself another VPS for a speed test with the same hosting provider, raise nginx, ftp or some other crap there, and with the same curl or wget, with a VPN connection raised, see how fast the file is downloading and multiply by 8. This will be an honest speed measurement . Otherwise, when you are in Russia, you download a file from SpeedTest without VPN and get one speed greater than in the second case. This is not a fair or correct comparison.

C
Chitinets, 2021-06-23
@Chitinets

I would experiment with MTU

I
Internet, 2021-06-23
@geniuscomposervsevolodpus

1) The VPN server is the slower the further it is.
2) TCP is always a load on processors.
3) Operator equipment will also not work very quickly with international connections.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question