Skip to content

Instantly share code, notes, and snippets.

@PieterScheffers
Created January 22, 2018 16:28
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save PieterScheffers/20583b65ef171cf94db16e6c659498f3 to your computer and use it in GitHub Desktop.
Save PieterScheffers/20583b65ef171cf94db16e6c659498f3 to your computer and use it in GitHub Desktop.
Install Forticlient on Linux
# install ubuntu in virtual machine
# https://ubuntuforums.org/showthread.php?t=1481300
# Get arch type of ubuntu
# i686 = 32 bit
# x86_64 = 64 bit
uname -m
# download forticlient
https://hadler.me/linux/forticlient-sslvpn-deb-packages
# install (get error on missing dependencies)
sudo dpkg -i forticlient.deb
# https://askubuntu.com/questions/40011/how-to-let-dpkg-i-install-dependencies-for-me
# install dependencies
sudo apt-get -f install
# install forticlient
sudo dpkg -i forticlient.deb
# https://askubuntu.com/questions/81797/nslookup-finds-ip-but-ping-doesnt
sudo apt-get remove libnss-mdns
# start forticlient
cd /opt/forticlient-sslvpn
sudo ./fortisslvpn.sh
# https://github.com/adrienverge/openfortivpn
# https://askubuntu.com/questions/793443/forticlient-on-ubuntu-1404-tunnel-running-but-no-ip
Copy link

ghost commented Aug 20, 2018

this will work on a no graphical interface ?

@windowsxp811203
Copy link

root@instance-1:/opt/forticlient-sslvpn/64bit# ./forticlientsslvpn_cli
usage:./forticlientsslvpn_cli [--proxy proxyaddress:proxyport] --server vpnserve raddress:vpnport [--proxyuser proxyuser] [--vpnuser vpnuser] [--pkcs12 pkcs12pat h] [--keepalive]

this will work on a no graphical interface ?

@yogeshalgo
Copy link

yogeshalgo commented Dec 9, 2020

This works, thanks.

@hidarraga
Copy link

Hi, i tried to execute the command line ./forticlientsslvpn_cli ... and i got the message

Please run /opt/forticlient-sslvpn/64bit/./helper/setup to do the initial setup

I initial the setup and when i accept the license i got the error:

Do you agree with this license ?[Yes/No]Yes
touch: cannot touch '/etc/ppp/options': No such file or directory
Please install pppd, it is required by FortiClient SSLVPN!
/opt/forticlient-sslvpn/64bit/./helper//setup: 76: exit: Illegal number: -1

I tryed to install the pppd package but it didn't locate on the ubuntu 20.04 that i have.

Do you know what can i do to use the forticlient?

@PieterScheffers
Copy link
Author

@hidarraga I guess you have to install the pppd binary.

apt-get install pptpd

@albertoisorna
Copy link

Thank you, it works well on debian 👍

@glokhoff
Copy link

Does this work on i686 machines ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment