Linux Tips and Tricks

A collection of tips, tricks and everything linux

Using Cisco vpn client with Ubuntu Linux Desktop

with 5 comments

Configuration

Download and install the Cisco vpn Client. im using vpnclient-linux-x86_64-4.8.02.0030-k9 at the time of this article.
(if u need it send me an email). unpack, and install in my installation i opted out of the option for starting as a daemon so i start it manually everytime.

mnk0@tree:~$ sudo /etc/init.d/vpnclient_init start

Using my PROFILE.pcf file

Then we can copy our Cisco VPN Profile over to the profile directory.

mnk0@tree:~$ cp PROFILE.pcf /etc/opt/cisco-vpnclient/Profiles/

Now we are ready to connect to our connection. Note we dont add the .pcf extension to the profile we’re going to use

mnk0@tree:~$ /etc/opt/cisco-vpnclient connect PROFILE
Initializing the VPN connection.
Contacting the gateway at 4.23.45.21
Contacting the gateway at 4.23.45.21 (balancing)
User Authentication for PROFILE...
The server has requested the following information to complete the user authentication:
Username [mnk0]:
Passcode []:
Authenticating user.
Negotiating security policies.
Securing communication channel.
Your VPN connection is secure.
VPN tunnel information.
Client address: 10.10.10.46
Server address: 4.23.45.21
Encryption: 256-bit AES
Authentication: HMAC-SHA
IP Compression: None
NAT passthrough is active on port UDP 4500
Local LAN Access is disabled

Exiting

When we are ready to exit, just hit CTRL+C on your terminal session, and shutdown the daemon.

mnk0@tree:~$ sudo /etc/init.d/vpnclient_init stop
mnk0@tree:~$ Done

Written by mnk0

February 13th, 2009 at 8:02 pm

Posted in Linux, Ubuntu, networking, ssh

Tagged with , , ,

5 Responses to 'Using Cisco vpn client with Ubuntu Linux Desktop'

Subscribe to comments with RSS or TrackBack to 'Using Cisco vpn client with Ubuntu Linux Desktop'.

  1. Hi.

    Will this install and run in Ubuntu 32 bit Jaunty?

    If so I’d appreciate it if you would email me the installation file.

    Many thanks

    Fred Neale

    Fred Neale

    17 Jun 09 at 22:11

  2. Hello,
    I have tried this in Ubuntu 8.10 32 bit. It worked. You would need the profile file i.e., .pcf also.

    Thanks,
    Vignesh.

    Vignesh

    3 Jul 09 at 21:11

  3. It will install and run under Jaunty. I got the installation file from my U’s website so I can’t distribute it.. sorry

    Knattlhuber

    7 Jul 09 at 16:11

  4. You stated that you would be willing to provide the VPN client install. I don’t see how to email you. Could you shoot it to me please?

    Dave

    30 Nov 09 at 9:00

  5. Ahh, sorry for the delay, was on vacation for a month! , you still need the binary? i’ll upload to a server and post the link tonite.

    mnk0

    6 Jan 10 at 11:00

Leave a Reply