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