1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 23:35:27 +02:00
tldr/pages/linux/openfortivpn.md

21 lines
626 B
Markdown
Raw Normal View History

2020-11-02 06:06:08 -06:00
# openfortivpn
> A VPN client, for Fortinet's proprietary PPP+SSL VPN solution.
> More information: <https://manned.org/openfortivpn>.
2020-11-02 06:06:08 -06:00
- Connect to a VPN with a username and password:
`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`):
`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:
`openfortivpn --trusted-cert {{sha256_sum}}`