Answer the question
In order to leave comments, you need to log in
Transfer speed problem with openvpn, how to fix?
Good afternoon.
There is a dedicated server with freebsd, openvpn is installed on it. The windows client connects to it.
the server has a 1GB/s
channel the user has a 100Mbit/s channel
verb 5
dev-type tun
dev-node /dev/tun3
daemon
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
proto udp
cipher AES-256-CBC
auth SHA256
local
ifconfig 10.0.0.1 10.0.0.2
lport
route 192.168.0.0 255.255.255.0
secret /var/etc/openvpn/server3.secret
tun-mtu 1500
mssfix
dev tun
proto udp
cipher AES-256-CBC
auth SHA256
remote
ifconfig 10.0.0.2 10.0.0.1
route 10.1.1.0 255.255.255.0
secret client3.key
tun-mtu 1500
Answer the question
In order to leave comments, you need to log in
The problem is in the buffers most likely.
sndbuf 0
rcvbuf 0
for both client and server.
Read https://habrahabr.ru/post/246953/
as an option
sndbuf 524288
rcvbuf 524288
push "sndbuf 524288"
push "rcvbuf 524288"
UPD. Although for BSD it may be necessary to twist somewhere else, that one is not an adviser>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question