Connect with us

Hi, what are you looking for?


Networking – How to Install and Setup IPSec Exclusive VPN in Ubuntu 20.04?

Networking – How to Install and Setup IPSec Exclusive VPN in Ubuntu 20.04?


Reading this thread, I was able to connect to the “Fortigate IKEv1 IPSEC Mobile Client Standard Fortigate IKEv1 IPSEC VPN”.

It works with the following parameters if the VPN was created using the wizard in Fortigate (and no specific adjustment was made)

So, by following this if you are running Linux, it is easy for you to connect the standard VPN for IPSEC mobile devices generated by Fortigate processor.

Can be used where Forticlient Linux is not usable (does not have an IPSEC tab for configuring mobile IPSEC access)

Thanks to Dusan Mijatovic for this previous post on this page.

Here’s how to configure:

Install network-manager-vpnc-gnome, network-manager-vpnc-kde, or network-manager-vpnc depending on your desktop (use yum, apt or any package manager for your distribution or build it from source)

  • Open your connection manager and add a new VPN connection
  • Select VPNC for VPN Connection Type
  • Give a name to your contact
  • Full portal, user and password
  • group name = “ipsec group id” = 0 (<= here you need to put 0)
  • group password = “ipsec psk” = yourpsk (<= put PSK here)
  • On the Advanced tab:
    • set tunnel interface name = myvpn-ike
    • Encryption method = secure (default)
    • NAT-TRAVERSAL = NAT-T if available (default)
    • DH IKE set = 5 dirhams set
    • PFS (Full Forward Secrecy) = 5 dirhams per group
    • local port = 0
    • Select Disable DPD (Tick Box)
    • Leave all other parameters blank or to their default values

Save the new connection and simply launch it from the desktop connection manager.

You may find a handshake error in the logs but it’s not a real problem, the connection works.

The error is: β€œ[7849]: [1176:1192:1022/] Handshake failure returned -1, SSL error code 1, net_error -202″

Hope this helps Linux user to connect FortiGate IPSEC mobile VPN automatically generated by Fortigate wizard. (FortiGate TAC support doesn’t help with this problem, they don’t know that there are differences between FortiClientVPN Windows and FortiClientVPN Linux)

It is considered

Don’t forget to share this post with friends !

Discover  Thunder VPN for PC - Free Download for Windows 7, 8, 10
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *



AnyConnect certificate-based authentication. Cisco community πŸ‘¨β€πŸ’» The information in this document is based on the following software and hardware versions: ASA 5510 running software...


AnyConnect: Install a self-signed certificate as a trusted source πŸ‘¨β€πŸ’» kmgmt-2879-cbs-220-config-security-port objective The goal of this article is to walk you through creating and...


ITProPortal . Portal πŸ‘¨β€πŸ’» We live in a dynamic moment in terms of technology. Even criminals are becoming more technically savvy and are using...


Top 5 Free AV Packages – πŸ‘Œ Bitdefender Antivirus Free Edition best interface Positives Works on Windows 7 and 8.1 Very easy to use...