Troubleshooting:Openvpn Troubleshooting: Difference between revisions
Appearance
Added troubleshooting guide: OpenVPN Troubleshooting (troubleshooting) |
Minor update - troubleshooting guide: OpenVPN Troubleshooting (5 sections) (troubleshooting) |
||
| Line 34: | Line 34: | ||
= '''Verify client certificate''': = | = '''Verify client certificate''': = | ||
* Ensure certificate hasn't been revoked | |||
* Check certificate expiration date | |||
* Verify CA certificate matches server | |||
= '''Check server logs''': = | = '''Check server logs''': = | ||
| Line 73: | Line 75: | ||
== Related Documentation == | == Related Documentation == | ||
* [OpenVPN Server](index.md) - Server configuration | |||
* [User Management](user-management.md) - User management | * [User Management](user-management.md) - User management | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Documentation/Troubleshooting]] | [[Category:Documentation/Troubleshooting]] | ||
Revision as of 13:28, 1 January 2026
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
Related Documentation
- [OpenVPN Server](index.md) - Server configuration
- [User Management](user-management.md) - User management