Merge pull request #356 from currite/openvpn-troubleshooting

openvpn: add troubleshooting subsection
This commit is contained in:
Christian Poessinger 2020-10-30 09:31:40 +01:00 committed by GitHub
commit cdb3bceacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -542,4 +542,43 @@ Will add ``push "keepalive 1 10"`` to the generated OpenVPN config file.
quotes. This is done through a hack on our config generator. You can pass
quotes using the ``"`` statement.
Troubleshooting
===============
VyOS provides some operational commands on OpenVPN.
Check status
------------
The following commands let you check tunnel status.
.. opcmd:: show openvpn client
Use this command to check the tunnel status for OpenVPN client interfaces.
.. opcmd:: show openvpn server
Use this command to check the tunnel status for OpenVPN server interfaces.
.. opcmd:: show openvpn site-to-site
Use this command to check the tunnel status for OpenVPN site-to-site interfaces.
Reset OpenVPN
-------------
The following commands let you reset OpenVPN.
.. opcmd:: reset openvpn client <text>
Use this command to reset specified OpenVPN client.
.. opcmd:: reset openvpn interface <interface>
Uset this command to reset the OpenVPN process on a specific interface.
.. include:: ../common-references.rst