OpenVPN Slow [Resolved]


Please follow the below template, it will help us to help you!

Expected Behaviour:

Slightly faster OpenVPN speeds from remote clients

Actual Behaviour:

VPN speed is 18Mbps/30Mbps; it should be a little higher (25Mbps?). WAN up at home is 34Mbps.

Debug Token:!

Not Pi-hole specific, I know. I’m running on a Pi 3 B+; DNS + DHCP. PiVPN setup; everything works. However, my OpenVPN connection is much slower than it should be. htop shows it using 50% CPU usage.

Here is my openvpn config:

dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/server_CT6pok7tKt8scANd.crt
key /etc/openvpn/easy-rsa/pki/private/server_CT6pok7tKt8scANd.key
dh none
topology subnet
push “dhcp-option DNS”
push “redirect-gateway def1”
keepalive 1800 3600
compress lz4-v2
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
sndbuf 524288
rcvbuf 524288
push “sndbuf 524288”
push “rcvbuf 524288”
auth SHA256
user nobody
group nogroup
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
verb 3

Any ideas for how I can speed it up?


you can try using the guide found here: to configure your VPN to only pass DNS


Yes, that worked! Thanks.

I commented out push “redirect-gateway def1” from server.conf and restarted the service.

closed #6

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.