OpenVPN ctl

CLI
Login

OpenVPN ctl can be started with command line args to make few operations from the console.

openvpnctl start [--proxy=url] [--remote=n|url] network-name

openvpnctl stop network-name

openvpnctl stats network-name

openvpnctl log network-name

start command

start command waits until initialization is completed. It prompts user for password and so on if required.

If you use --management-signal option you are out of luck with CLI. Upon successfull initalization it disconnects (and kills VPN connection).

Options --proxy and --remote requires correspoinding options --management-query-proxy and --management-query-remote