B
B
Boom Digi Bai2019-08-25 18:26:24
openvpn
Boom Digi Bai, 2019-08-25 18:26:24

OpenVPN server cuts the speed of the Internet channel?

There is a VPS with a channel of 100Mbps and in the office also 100Mbps, when connected to a VPN, the speed is cut to 20-30Mbps.
The question is how to make sure that OpenVPN does not cut the speed?
PS OpenVPN server was installed according to the manual from github ( https://github.com/Nyr/openvpn-install)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2019-08-25
@rPman

Openvpn loads the processor, in VPS it is already weak and limited. this can be a bottleneck (plus the same compression that is often enabled in vpn by default does not add speed)
Also, your vpn occupies a channel, i.e. for each vpn connection, two connections go to the server at the same speed, i.e. in an ideal situation, you will be able to utilize only half of the server channel through vpn, i.e. 50Mbit (this is if the vps provider limits the amount of incoming and outgoing traffic).
ps configure vpn to use udp connections and not tcp
tcp has performance problems on modern internet, very good articlewith examples and tests, which says that losses in the channel by 5% reduce the speed of the channel size to 75%, by 10% - already half. In slouch with vpn, feel free to multiply such problems by two, since the packet first goes to the server and then from the server to you.

K
ky0, 2019-08-26
@ky0

There is a whole article about this in the official doc:
https://community.openvpn.net/openvpn/wiki/Gigabit...
In general, if speed is important (especially shared among several peers) - I recommend thinking about replacing OpenVPN, for example, with those who can multi-channel Softether.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question