Reset a service
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}/reset_openvpn.py $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 2fa authentication secret
${vyos_op_scripts_dir}/show_openvpn_2fa.py --user="$6" --intf="$4" --action=secret
Show 2fa otpauth uri
${vyos_op_scripts_dir}/show_openvpn_2fa.py --user="$6" --intf="$4" --action=uri
Show 2fa QR code
${vyos_op_scripts_dir}/show_openvpn_2fa.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}/show_openvpn.py --mode=client
Show tunnel status for OpenVPN server interfaces
sudo ${vyos_op_scripts_dir}/show_openvpn.py --mode=server
Show tunnel status for OpenVPN site-to-site interfaces
sudo ${vyos_op_scripts_dir}/show_openvpn.py --mode=site-to-site