1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 23:55:27 +02:00
tldr/pages/linux/openfortivpn.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

20 lines
626 B
Markdown

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