D
D
dsslesarev2019-11-19 15:34:14
openvpn
dsslesarev, 2019-11-19 15:34:14

Openvpn cuts speed?

Good afternoon, tell me how to configure openvpn configs so that it passes speeds up to 500 mb.s.
I found this link here: https://community.openvpn.net/openvpn/wiki/Gigabit... I
played and played and the speed still between the server and another computer did not exceed 30-80mb.
In this configuration, it gives out a maximum of 50 MB, although all two networks have a channel of 500.
Tell me the correct version of the config, for stable operation, what should I fix?
server:

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
route 10.8.0.0 255.255.255.252
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
client-to-client

client
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote **** 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
key-direction 1
verb 3
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MR27, 2019-11-19
@MR27

Technically, the operations performed by OpenVPN require resources. First of all, the processor.
Yes, it cuts speed, but indirectly.
If you need high speed with OpenVPN for many users , then you need to raise several OpenVPN channels to the same server (even if this is done from the same server, that is, fictitious). There was a detailed article on Habré about it.
It works because OpenVPN does not load all the processor cores. The mentioned method allows you to distribute the load on all cores and increase throughput.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question