A python script to make the process of connecting to forticlient VPN automatic and less painful for Ubuntu/Debian Systems
- Obtain forticlient for Ubuntu/Debian. For IIIT Delhi users, see this link.
- Clone this Repo and move VPN_connecter.py in the same directory as forticlientsslvpn_cli.
- Install pexpect by pip
pip install pexpect
- Run
./helper/setup.linux.sh
inside the folder containing forticlientsslvpn_cli and accept terms and conditions by entereingyes
. You will also need to enter root password here. - Edit VPN_connecter.py to enter your username and password.
- run using
python VPN_connecter.py
Note: forticlientsslvpn_cli can be found at the locationforticlientsslvpn_linux_4.4.2/forticlientsslvpn/64bit/forticlientsslvpn_cli
or forticlientsslvpn_linux_4.4.2/forticlientsslvpn/32bit/forticlientsslvpn_cli