Jump to content

Troubleshooting:Openvpn Troubleshooting

From jb-vpn.uk Wiki
Revision as of 13:16, 1 January 2026 by Josh (talk | contribs) (Added troubleshooting guide: OpenVPN Troubleshooting (troubleshooting))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenVPN Troubleshooting

This guide covers troubleshooting for OpenVPN server and client connection issues.

Server Not Starting

Check logs:

   journalctl -u openvpn -n 50

Verify configuration:

   openvpn --config /etc/openvpn/server/server.conf --test-crypto

Check file permissions:

   ls -la /etc/openvpn/server/
   # Certificates should be readable by OpenVPN user

Client Cannot Connect

Check server is listening:

   ss -ulnp | grep 1194

Check firewall:

   iptables -L INPUT -n -v | grep 1194

Verify client certificate:

   Ensure certificate hasn't been revoked
   Check certificate expiration date
   Verify CA certificate matches server

Check server logs:

   tail -f /var/log/syslog | grep openvpn

Connection Drops

Check keepalive settings in server.conf

Verify network connectivity:

   ping 10.8.0.2

Check routing:

   ip route | grep 10.8.0.0

Performance Issues

Check server load:

   top
   htop

Monitor network traffic:

   iftop -i tun0

Check for connection limits in server configuration

[OpenVPN Server](index.md) - Server configuration

  • [User Management](user-management.md) - User management