Astrill Setup Manual:How to configure IPSec Cisco with vpnc client on Linux (Ubuntu): Difference between revisions

From Astrill Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style="text-align:center"><p style="font-size:50px;color:red">Attention! IPSEC protocol won't be supported by Astrill after 1st January, 2021.</p> </div>
== Install vpnc ==
== Install vpnc ==

Latest revision as of 00:45, 1 December 2020

Attention! IPSEC protocol won't be supported by Astrill after 1st January, 2021.

Install vpnc


Update vpnc-script

After vpnc is installed you must replace vpnc-script with new version. Ubuntu vpnc package installs old vpnc-script, which results in following error: Error: either "to" is duplicate, or "ipid" is a garbage.

Open terminal and then enter the following commands:

   sudo su
   chmod 777 /etc/vpnc
   cd /etc/vpnc
   mv vpnc-script vpnc-script.old
   chmod 777 vpnc-script

Download Links for vpnc-script

Setup Cisco IPSec

Make sure you are inside "/etc/vpnc" directory, then call the below commands:

   nano example.conf
   IPSec gateway
   IPSec ID 
   IPSec secret way2stars
   #IKE Authmode hybrid
   Xauth username enter_your_astrill_username
   Xauth password enter_your_astrill_password


Connect to Astrill Cisco IPSec VPN server


   vpnc example.conf

Done !

Disconnect from vpnc


Note:You can repeat step 3 if you wish to create more conf files, so you can connect to other VPN servers locations.