For several days, I have been facing issues with the ‘Forticlient’ VPN client on my linux machine. With limited knowledge in networking, I was unable to resolve the issues causing the following error
Setup tunnel failed
Can not connect to proxy
Solution is to use openfortivpn. Following paragraphs explains how to use this tool to setup a VPN.
Step 1. Download and install tool
Use the following command to install the tool on Ubuntu/Kubuntu 18.04+
Step 2. Initial configuration for VPN
/etc/openfortivpn/config file and edit the settings as follows
Step 3. Connect the VPN
Once the configuration is done, we can start using the tool by following command.
You can use the option ‘-c’ to specify the configuration file for a particular VPN. Once the connection is ready, you will see a message like below, indicting that the VPN tunnel is up and running