Through VPNC you can connect cisco vpn (.pcf) form Linux machine.
Make sure vpnc rpm installed on your machine.
1) #rpm -qa | grep vpnc
vpnc-0.5.3-3.fc11.i586
2) configure vpnc under /etc/vpnc
like this
[root@inf1sysadm1 vpnc]# cat raman (raman connection name)
IPSec gateway my.site.com.my
IPSec ID groupOther
IPSec obfuscated secret (****mentioned in pcf file****)
# your username goes here:
Xauth username raman
Xauth password (**password**)
3) After save the file run
#vpnc raman
[root@inf1sysadm1 vpnc]# vpnc raman
Connect Banner:
| Welcome to raman Enterprise Network via VPN
|
| You are connected as raman Contractors, Consultants, Vendors, etc.
|
| Unauthorized access is prohibited
| Violators will be prosecuted
| * You have been warned *
VPNC started in background (pid: 8811)...
This message show your connection established.
You can use following command for link status
#route -n
Now connect internal machines
4) ssh root@10.0.201.102 (internal ip)
Hope this will work for you.
Wednesday, January 6, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment