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

From Astrill Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
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 ==
  
Line 33: Line 35:
 
== Setup Cisco IPSec ==
 
== Setup Cisco IPSec ==
  
nano example.conf
+
Make sure you are inside "/etc/vpnc" directory, then call the below commands:
IPSec gateway lac.astrill.net
+
 
IPSec ID  
+
    nano example.conf
IPSec secret way2stars
+
 
#IKE Authmode hybrid
+
    IPSec gateway lac.astrill.net
Xauth username yourusername@astrill.com
+
    IPSec ID  
Xauth password yourpasswordforastrillvpn
+
    IPSec secret way2stars
 +
    #IKE Authmode hybrid
 +
    Xauth username enter_your_astrill_username
 +
    Xauth password enter_your_astrill_password
  
  
Line 50: Line 55:
 
[[File:Vpnc-ipsec-003.jpg]]
 
[[File:Vpnc-ipsec-003.jpg]]
  
vpnc example.conf
+
    vpnc example.conf
  
  
Line 59: Line 64:
 
== Disconnect from vpnc ==
 
== Disconnect from vpnc ==
  
vpnc-disconnect
+
    vpnc-disconnect
  
  
  
 
<i>Note:You can repeat step 3 if you wish to create more conf files, so you can connect to other VPN servers locations.</i>
 
<i>Note:You can repeat step 3 if you wish to create more conf files, so you can connect to other VPN servers locations.</i>

Latest revision as of 00:45, 1 December 2020

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

Install vpnc

Vpnc-ipsec-001.jpg


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.

https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/805435

Open terminal and then enter the following commands:

   sudo su
   chmod 777 /etc/vpnc
   cd /etc/vpnc
   mv vpnc-script vpnc-script.old
   wget http://tinyurl.com/vpnc-script
   chmod 777 vpnc-script


Download Links for vpnc-script

http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script

http://tinyurl.com/vpnc-script


Setup Cisco IPSec

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

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


Vpnc-ipsec-002.jpg


Connect to Astrill Cisco IPSec VPN server

Vpnc-ipsec-003.jpg

   vpnc example.conf


Done !


Disconnect from vpnc

   vpnc-disconnect


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