This guide is for ubuntu users who want to connect to Cisco VPN. We will be using VPNC (it is in ubuntu 9.04 repo). This guide assumes you have profile file in .pcf format (we will use cisco.pcf as an example here).
Let’s begin and follow the steps exactly replacing your own pcf file:
Go to terminal:
* Create a directory:
Change to that directory:
* Download cisco-decrypt file which will be used to decrypt the group password from your pcf file:
Code:
wget http://www.debuntu.org/files/cisco-decrypt.c
Code:
sudo apt-get install libgcrypt11-dev
Code:
gcc -Wall -o cisco-decrypt cisco-decrypt.c $(libgcrypt-config --libs --cflags)
Code:
chmod +x cisco-decrypt
Code:
sudo cp cisco-decrypt /usr/bin
* Download pcf2vpnc to convert pcf files in vpnc configuration format
Code:
wget http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
Code:
sudo cp pcf2vpnc /usr/bin
* Go to windows vpn profiles directory and convert .pcf files to .conf files
Code:
pcf2vpnc cisco.pcf > cisco.conf
Note:replace above cisco.pcf with your own .pcf file.
Code:
sudo cp cisco.conf /etc/vpnc/
* install vpnc and connect to vpn
Code:
sudo apt-get install vpnc resolvconf
Enter username for <vpn> :
Enter password for <vpn>:
VPNC started in background (pid: 6092)...
* To disconnect simply do
Code:
sudo vpnc-disconnect
After your VPN has been established then connect to your remote desktop
Go to Applications >> Internet >> Terminal server client
Or
In terminal run Goodluck
Bookmarks