Answer the question
In order to leave comments, you need to log in
OpenVPN on OpenWRT - where are the speed problems?
Good afternoon, colleagues
There are two TPLink WR1043ND routers (CPU 400Mhz, RAM 32MB, Flash 8MB) with OpenWRT Attitude Adjustment 12.09 firmware installed. Flash drives are connected to the routers, on which the system partition has been transferred and a partition for swap has been created.
OpenVPN rises between routers
port 1199
proto udp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/GW-2.crt
dh /etc/openvpn/keys/dh1024.pem
key /etc/openvpn/keys/GW-2.key
cipher BF-CBC
auth MD5
server 132.1.1.0 255.255.255.0
route 192.168.11.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
client-config-dir /etc/openvpn/ccd
keepalive 10 120
comp-lzo yes
max-clients 10
persist-key
status openvpn-status.log
log /var/log/openvpn.log
verb 9
Answer the question
In order to leave comments, you need to log in
Have you looked at the load on the routers? Maybe there is not enough processor power?
In general, the load of the router acting as an OpenVPN server really reached 100%. Played with compression - nothing has changed. So far, disabling logging has helped the most - the download at the peak has dropped to 95% and the speed has increased to 16.7Mb / s.
I would also like to reduce the load on the processor - I'll play around with the key length. By the way, the client is also loaded up to 80%
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question