Sunday May 03, 2009

Connecting Cisco VPN using vpnc on latest ubuntu 9.04

Install vpnc package with following command.

divyen@divyen-laptop:~$ sudo apt-get install vpnc

Create a file default.conf at /etc/vpnc/ with following lines and
fill in the required parameters replacing strings enclosed within “<” and “>" without keeping "<" and ">”.

divyen@divyen-laptop:~$ sudo vi /etc/vpnc/default.conf

IPSec gateway <gateway>
IPSec ID <group-id>
IPSec secret <group-pass-key>
Xauth username <user-name>
NAT Traversal Mode cisco-udp

Note: Make sure you don't append extra space at the end of parameter value.

Connect using "vpnc-connect" command.
divyen@divyen-laptop:~$ sudo vpnc-connect
[sudo] password for divyen:
Enter password for user-name@company-vpn-gateway:


To disconnect type in following command.
divyen@divyen-laptop:~$ sudo vpnc-disconnect
Terminating vpnc daemon (pid: 7894)


About

Divyen Patel

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today