# ArchLinux - Setting Up Fortinet SSL VPN

1. Install ppp, openfortivpn and networkmanager's fortinet plugin package: `sudo pacman -Syu ppp openfortivpn networkmanager-fortisslvpn`
2. Get certificate digest by running: `sudo openfortivpn <IP Address>:<Port> --username=<username>`
3. Enable kernel module: `modprobe ppp_generic`
4. Reconnect with openfortivpn: `sudo openfortivpn <IP Address>:<Port> --username=<username> --trusted-cert <certificate digest>`
5. Now you can connect to the VPN by creating a new Fortinet SSLVPN (fortisslvpn) connection:
	- Enter the `Gateway` in the format `<IP Address>:<Port>`
	- Your username and password
	- Finally click "Advanced" and enter the certificate digest into `Trusted certificate` field

### References
- [ArchLinux PPP](https://wiki.archlinux.org/index.php/Ppp)
- [Openfortivpn](https://github.com/adrienverge/openfortivpn)