Below CLI steps works nicely to connect Cisco VPN using vpnc Cisco generic client
VPN : Cisco ASA55xx
OS: Ubuntu 14.04 LTS
Client: Ubuntu generic vpnc client [3]
1-Enabled universe source on Ubuntu [2]
2-install vpnc only or network-manager-vpnc (includes vpnc)
apt-get install
network-manager-vpnc
3-Import pcf profile to vpn
configuration
pcf2vpn
/tmp/your_pcf_profile.pcf >/etc/vpnc/vpn1_dc1.conf
4-check username is correct.
# cat /etc/vpnc/vpn1_dc1.conf
IPSec gateway vpn1dc1.company.com
IPSec ID my-company-token
IPSec gateway vpn1dc1.company.com
IPSec ID my-company-token
Xauth username your_name
5-Connect to vpn [1]
# vpnc-connect /etc/vpnc/vpn1_dc1.conf
OR
# vpnc-connect vpn1_dc1 (just profile file name without .conf)
Enter password
for your_namei@vpn1dc1.company.com:
Connect Banner:
VPNC started in background (pid:
7422)...
#
References:
[1] http://man.cx/vpnc-connect(8)
[2] http://ubuntuhandbook.org/index.php/2013/08/install-cisco-vpn-client-ubuntu-13-04-13-10/
[3] http://packages.ubuntu.com/trusty/vpnc
No comments:
Post a Comment