OS Version: Ubuntu Linux 8.04 to 9.04
Works on Ubuntu 8.04 Hardy Heron, Ubuntu 8.10 Intrepid Ibex and Ubuntu 9.04 Jaunty Jackalope. It no longer works with Ubuntu 9.10 Karmic Koala, to use VPN, try the vpnc solution below.
Arch Linux users, refer to this page: Arch Linux vpnc
According to some other folks, it works on x86_64, but I haven't tested in person.
Tested on Dell Latitude D620/D630, Apple Macbook (Ubuntu installed as guest OS using VMWare Fusion)
Download the Cisco VPN .deb package from vsupport gds-cisco-vpn-client_4.8-5_i386.deb
Download:https://vsupport.oracle.com
On Software page, there are RPMs for RHEL/OEL/Fedora, it's for both 32 and 64. For Debian/Ubuntu, they don't say if it's 32 or 64. Also a Mac Universal Binary, as Leopard is full 64-bit UNIX based, I have a feeling that the .deb should work with 64-bit Linux. Please comment on this page if it works for you
Install the client
dpkg -i gds-cisco-vpn-client_4.8-5_i386.deb
I did not see any useful infomation from that website regarding how to use the client. Nothing on itsource wiki either. So I had to dig the package details myself:
apt-cache show gds-cisco-vpn-client
This command shows all infomation about the gds vpnclient package.
Or
dpkg -L gds-cisco-vpn-client
List files owned by the package(s).
Profile folder
/etc/opt/cisco-vpnclient
Binary folder
/opt/cisco-vpnclient
Run initial Script
/etc/init.d/vpnclient_init start
Connect
vpnclient autoinit vpnclient connect Australia
Disconnect
vpnclient disconnect
Output
root@linux:/opt/cisco-vpnclient/bin# ./vpnclient Cisco Systems VPN Client Version 4.8.01 (0640) Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 Config file directory: /etc/opt/cisco-vpnclient Usage: vpnclient connect <profile> [user <username>] [eraseuserpwd | pwd <password>] [nocertpwd] vpnclient disconnect vpnclient stat [reset] [traffic] [tunnel] [route] [repeat] vpnclient notify vpnclient verify [autoinitconfig] vpnclient autoinit root@linux:/opt/cisco-vpnclient/bin# ./vpnclient autoinit Cisco Systems VPN Client Version 4.8.01 (0640) Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 Config file directory: /etc/opt/cisco-vpnclient root@linux:/opt/cisco-vpnclient/bin# ./vpnclient connect australia Cisco Systems VPN Client Version 4.8.01 (0640) Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 Config file directory: /etc/opt/cisco-vpnclient The profile specified could not be read. root@linux:/opt/cisco-vpnclient/bin# ./vpnclient connect Australia Cisco Systems VPN Client Version 4.8.01 (0640) Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Linux Running on: Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 Config file directory: /etc/opt/cisco-vpnclient Initializing the VPN connection. Contacting the gateway at 202.92.67.250 Contacting the gateway at 148.87.5.68 (backup) Contacting the gateway at 148.87.5.69 (balancing) User Authentication for Australia... Enter Username and Password. Username []: weicwang_au Password []: Authenticating user. Negotiating security policies. Securing communication channel. Your VPN connection is secure. VPN tunnel information. Client address: 141.144.65.101 Server address: 148.87.5.69 Encryption: 168-bit 3-DES Authentication: HMAC-SHA IP Compression: None NAT passthrough is active on port UDP 4500 Local LAN Access is disabled Your VPN connection has been terminated.
Disconnect
vpnclient disconnect Your VPN connection has been terminated.
To install Gvpn dialer (GUI for Cisco VPN Client)
Thanks Adny Macmillan for sharing this .deb package.
- Download and install deb file from OFO: http://files.oraclecorp.com/content/AllPublic/Users/Users-A/andy.macmillan-Public/gvpndialer_1.1-2_i386.deb
- Execute the following command to generate required library file:
sudo cp /lib/libpcre.so.3 /lib/libpcre.so.0
- Run gvpndialer by executing
/usr/bin/gvpndialer
- In EDIT>PREFERNCES set the VPN Profiles Path to /usr/local/gds/vpnclient/
- Restart gvpn dialer
- Optionally add a menu item to your Applications menu. Right click the applications menu. Select the menu area where you want to add the link (ex: Internet). Name the link (ex: Cisco VPN Client). Set the command to /usr/bin/gvpndialer and click to edit the icon (example icon is /usr/share/icons/hicolor/scalable/apps/seahorse-applet.svg)
NOTE for x86_64 architecture
- Download and install ia32_libs:
sudo apt-get install ia32_libs
- Download and install getlibs compatibility program from http://ubuntuforums.org/showthread.php?t=474790
- Download and save deb file from OFO: http://files.oraclecorp.com/content/AllPublic/Users/Users-A/andy.macmillan-Public/gvpndialer_1.1-2_i386.deb
- Install .deb file using
sudo dpkg -i --force-all package_name.deb
- Execute the following command to generate required library file:
sudo cp /lib32/libpcre.so.3 /lib32/libpcre.so.0
- Execute getlibs against the gvpndialer program:
getlibs /usr/bin/gvpndialer
- Follow steps 4-6 above.
Reference:
Another copy: http://aseng-wiki.us.oracle.com/asengwiki/display/~weichao_wang/Install+Cisco+VPN+Client+on+Ubuntu+Linux
Ubuntu Installation at Oracle HOWTO (.doc)
http://connect.oraclecorp.com/activities/732133
http://connect.oraclecorp.com/activities/845315-vpnc-configuration-on-arch-linux
Attachments:
UbuntuJauntyInstallation.zip (application/octet-stream)
vpnc_0.5.3-1_i386.deb (application/octet-stream)
UbuntuKarmicInstallation.zip (application/zip)