Options (3)
-u, --usernamebooleanConnect to a VPN with a username and password
Example:
openfortivpn {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}-p, --passwordbooleanConnect to a VPN with a username and password
Example:
openfortivpn {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}-c, --configbooleanConnect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`)
Example:
sudo openfortivpn {{[-c|--config]}} {{path/to/config}}Examples (4)
Connect to a VPN with a username and password
openfortivpn [-u|--username] username [-p|--password] passwordConnect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`)
sudo openfortivpn [-c|--config] path/to/configConnect to a VPN by specifying the host and port
openfortivpn host:portTrust a given gateway by passing in its certificate's sha256 sum
openfortivpn --trusted-cert sha256_summade by @shridhargupta | data from tldr-pages