VPN without using the official cisco vpn client

Linux networking discussion forum.

VPN without using the official cisco vpn client

Postby QuantumKnot on March 19th, 2008, 10:28 am

Most of us know that the cisco vpn client is a pain to install and usually doesn't work (I remember I needed to download some obscure patch from someone's blog to get the thing to compile properly).

Well, we can ditch the official cisco vpn client and utilise an alternative called vpnc, which comes installed on most linux distros (if not, just grab it from your repositories).

Here are the steps I followed:

1. Grab the pcf file from an existing vpn install (or you can download just the config files from the wireless.griffith.edu.au)
2. Write down the gateway IP (or host IP)
3. Write down the gateway ID (or GroupName)
4. Copy the encrypted group password (that long hex number)
5. Use cisco-decrypt to decrypt the group password (cisco-decrypt comes with the vpnc package)
6. Now write the following file and call it 'vpnc.conf'

Code: Select all
IPSec gateway xxx.xxx.xxx.x
IPSec ID [gateway ID]
IPSec secret [decrypted group password]
Xauth username [your username]
Xauth password [your password]


7. Put the 'vpnc.conf' in /etc/vpnc/
8. To log into Wireless@Griffith, log in as root and type
Code: Select all
vpnc /etc/vpnc/vpnc.conf


This is the output that you would usually see:

Code: Select all
% sudo vpnc /etc/vpnc/vpnc.conf
Password:
Connect Banner:
| *****************************
| VPN access is for
| authorised clients only
| *****************************
| WARNING:
| You must read the university
| Code of Practice, to
| View Griffith University
| Code of Practice go to
| this Web address
| http://www.griffith.edu.au/computer/coc
| *****************************

VPNC started in background (pid: 27859)...
Image
User avatar
QuantumKnot
Member
 
Posts: 90
Joined: January 21st, 2008, 11:58 am

Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests

cron

dsplabs homelinux bloglinux forums new! travel photographyawklores new! cryptographyjames' home
©2008 dsplabs.com.au