Reset OpenVPN client/server connections
Reset specified OpenVPN client
echo kill $4 | socat - UNIX-CONNECT:/run/openvpn/openvpn-mgmt-intf > /dev/null
Reset OpenVPN process on interface
sudo ${vyos_op_scripts_dir}/openvpn.py reset --interface $4
Show OpenVPN interface information
Show detailed OpenVPN interface information
${vyos_op_scripts_dir}/show_interfaces.py --intf-type=openvpn --action=show
Show OpenVPN interface information
${vyos_op_scripts_dir}/show_interfaces.py --intf=$4
Show OpenVPN interface users
Show multi-factor authentication information
Show multi-factor authentication secret
${vyos_op_scripts_dir}/show_openvpn_mfa.py --user="$6" --intf="$4" --action=secret
Show multi-factor authentication otpauth uri
${vyos_op_scripts_dir}/show_openvpn_mfa.py --user="$6" --intf="$4" --action=uri
Show multi-factor authentication QR code
${vyos_op_scripts_dir}/show_openvpn_mfa.py --user="$6" --intf="$4" --action=qrcode
Show summary of specified OpenVPN interface information
${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief
Show OpenVPN information
Show tunnel status for OpenVPN client interfaces
sudo ${vyos_op_scripts_dir}/openvpn.py show --mode client
Show tunnel status for OpenVPN server interfaces
sudo ${vyos_op_scripts_dir}/openvpn.py show --mode server
Show tunnel status for OpenVPN site-to-site interfaces
sudo ${vyos_op_scripts_dir}/openvpn.py show --mode site-to-site