2020-11-02 12:06:08 +00:00
|
|
|
# openfortivpn
|
|
|
|
|
|
|
|
> A VPN client, for Fortinet's proprietary PPP+SSL VPN solution.
|
|
|
|
> More information: <https://github.com/adrienverge/openfortivpn>.
|
|
|
|
|
|
|
|
- Connect to a VPN with a username and password:
|
|
|
|
|
|
|
|
`openfortivpn --username={{username}} --password={{password}}`
|
|
|
|
|
|
|
|
- Connect to a VPN using a specific configuration file (defaults to `/etc/openfortivpn/config`):
|
|
|
|
|
|
|
|
`sudo openfortivpn --config={{path/to/config}}`
|
|
|
|
|
2020-12-04 12:37:44 +00:00
|
|
|
- Connect to a VPN by specifying the host and port:
|
2020-11-02 12:06:08 +00:00
|
|
|
|
|
|
|
`openfortivpn {{host}}:{{port}}`
|
|
|
|
|
|
|
|
- Trust a given gateway by passing in its certificate's sha256 sum:
|
|
|
|
|
|
|
|
`openfortivpn --trusted-cert={{sha256_sum}}`
|