qubes-doc/user/troubleshooting/vpn-troubleshooting.rst
Marek Marczykowski-Górecki b93b3c571e
Convert to RST
2024-05-21 20:59:46 +02:00

49 lines
1.2 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

===================
VPN troubleshooting
===================
Tips
----
- If using qubes-vpn, check the VPN services log in the VPN VM by
running:
.. code:: bash
sudo journalctl -u qubes-vpn-handler
- Always test your basic VPN connection before adding scripts.
- Test DNS: Ping a familiar domain name from an appVM. It should print
the IP address for the domain.
- Use ``iptables -L -v`` and ``iptables -L -v -t nat`` to check
firewall rules. The latter shows the critical PR-QBS chain that
enables DNS forwarding.
VPN does not reconnect after suspend
------------------------------------
This applies when using OpenVPN.
After suspend/resume, OpenVPN may not automatically reconnect. In order
to get it to work, you must kill the OpenVPN process and restart it.
VPN stuck at "Ready to start link"
----------------------------------
After setting up OpenVPN and restarting the VM, you may be repeatedly
getting the popup “Ready to start link”, but the VPN isnt connected.
To figure out the root of the problem, check the VPN logs in
``/var/logs/syslog``. The log may reveal issues like missing OpenVPN
libraries, which you can then install.