User Tools

Site Tools


auth:howto:linux:vpnclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
auth:howto:linux:vpnclient [2012/04/05 16:35] kohoferauth:howto:linux:vpnclient [2012/11/15 17:33] – external edit 127.0.0.1
Line 25: Line 25:
   sudo aptitude install vpnc   sudo aptitude install vpnc
  
-2. Create configuration file unibz.conf. +2. Create configuration file unibz.conf. Download from here: {{:auth:howto:linux:unibz.conf|}} 
-   Please Note: IPSec obfuscated secret ... needs to be on a single line. Replace <your-windows-login> with your username.+    
 +<note important>IPSec obfuscated secret needs to be on a single line.</note> 
 +    
 +<note important>Replace <your-windows-login> with your username.</note>
  
   sudo vi /etc/vpnc/unibz.conf   sudo vi /etc/vpnc/unibz.conf
Line 56: Line 59:
  
 This will first ask for your sudo password and then This will first ask for your sudo password and then
-you <windows-password>+your <unibz-password>
  
 4. Stop vpnc 4. Stop vpnc
  
   sudo vpnc-disconnect   sudo vpnc-disconnect
 +
 +==== Possible errors ====
 +
 +If you get the following error:  **vpnc-connect: no response from target**\\
 +try adding the line below to your configuration file (unibz.conf)
 +
 +**NAT Traversal Mode cisco-udp**
 +
 +----
 +
 +When one attempts to connect to their VPN after installing and configuring vpnc on Ubuntu Oneiric,\\
 +the following error occurs:
 +
 +<code>
 +root@ubuntu:~# vpnc-connect
 +Error: either "to" is duplicate, or "ipid" is a garbage.
 +</code>
 +
 +It appears that the Ubuntu package vpnc comes with an old version of vpnc-script.\\
 +This script is what sets up all the addresses and routes for you. The OpenConnect project\\
 +provides an updated / revised release of this script. Download the latest copy from [[http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script|here]].\\
 +Replace the vpnc-script script that comes with the Ubuntu vpnc package: /etc/vpnc/vpnc-script
  
  
/data/www/wiki.inf.unibz.it/data/pages/auth/howto/linux/vpnclient.txt · Last modified: 2022/06/20 11:40 by kohofer