From 79b06761cf4e03c15f9618272949bf91a45ec8c9 Mon Sep 17 00:00:00 2001 From: currite Date: Wed, 28 Oct 2020 21:34:53 +0100 Subject: openvpn: add troubleshooting subsection --- docs/vpn/openvpn.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/vpn/openvpn.rst b/docs/vpn/openvpn.rst index ce7dcc44..1462e202 100644 --- a/docs/vpn/openvpn.rst +++ b/docs/vpn/openvpn.rst @@ -427,3 +427,41 @@ options to OpenVPN. Will add `persistent-key` at the end of the generated OpenVPN configuration. Please use this only as last resort - things might break and OpenVPN won't start if you pass invalid options/syntax. + +Troubleshooting +=============== + +VyOS provides some operational commands on OpenVPN. + +Check status +------------ + +The following commands let you check tunnel status. + +.. opcmd:: show openvpn client status + + Use this command to check the tunnel status for OpenVPN client. + +.. opcmd:: show openvpn server status + + Use this command to check the tunnel status for OpenVPN server. + +.. opcmd:: show openvpn site-to-site status + + Use this command to check the tunnel status for OpenVPN site-to-site. + + +Reset OpenVPN +------------- + +The following commands let you reset OpenVPN. + +.. opcmd:: reset openvpn client + + Use this command to reset specified OpenVPN client. + +.. opcmd:: reset openvpn interface + + Uset this command to reset the OpenVPN process on a specific interface. + + -- cgit v1.2.3