set openvpn
Use the following commands to configure VPN settings:
set openvpn user {username} {password}
Set the openvpn client username and password, which will be authenticated by the VPN server
set openvpn remote {FQDN} {port}
Set the remote openvpn server address and port
set openvpn service {enable|disable}
Enable or disable the openvpn service
set openvpn config {options}
Provide various openvpn configuration options
set openvpn config-remove {option keyword}
Remove a specific option from the openvpn configuration
set openvpn cert {add|del} [local file name] {tftp|ftp|zd} [remote file name] {host|IP}
Retrieve the openvpn root certificate to authenticate the openvpn server
set openvpn auth-server {enable|disable}
Enable - the vpn client will authenticate the openvpn server by certificate before establishing the connection
Disable (default)
set openvpn persistent {true|false}
True - the openvpn configuration file will be effective after set-factory
False (default)
set openvpn clean
Remove the openvpn configuration file and the user must re-configure openvpn after this command
set openvpn start
Start the openvpn service
set openvpn stop
Stop the openvpn service