Ubuntu 16.04 – Cisco VPN Client installation

cisco_vpn_client

On Ubuntu 14.04 only sudo apt-get install network-manager-vpnc was working. But for Ubuntu 16.04 you need to install network-manager-vpnc-gnome as well.

Step 1: Open Terminal
Step 2: run below command to install the cisco client

sudo apt-get install network-manager-vpnc network-manager-vpnc-gnome

Step 3: Click on the “Network Icon” on toolbar, then click “Edit Connections”
Step 4: Click on “Add” Button
Step 5: Choose “Cisco Compatible VPN (vpnc)”, click on “Create”
Step 6: Fill the below details on VPN Tab

  • Gateway: VPN IP 199.229.XXX.XXX
    UserName
  • UserPassword
  • GroupName
  • GroupPassword

Step 7: Click on Save

VPN Setup has been completed.

To connect VPN, click on the Network Icon on toolbar. Click on VPN Connections. Choose the VPN which you have recently created.

Please make sure, you are on different network to connect VPN.

Living in permanent beta mode: Learning, Improving & evolving. SPECIALTIES: Web Application Development, Digital Media, E-Commerce Solutions, SEO, CRM Solutions, Open Source Technologies, System Administration ( Linux ), VOIP Solutions, Cloud Computing, Web Security.

3 comments On Ubuntu 16.04 – Cisco VPN Client installation

  • Thanks Surya, Informations provided by you is very helpful.

    Followed the steps and could able to configure my VPN connection. But, I’m not able to connect to it and it fails everytime. Can you look into the following error ASAP,

    Jan 10 14:54:07 NetworkManager[1013]: [1515576247.0020] vpn-connection[0x285c5d0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: failed: login-failed (0)
    Jan 10 14:54:07 NetworkManager[1013]: [1515576247.0021] vpn-connection[0x285c5d0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: failed: connect-failed (1)
    Jan 10 14:54:07 NetworkManager[1013]: [1515576247.0024] vpn-connection[0x285c5d0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state changed: stopping (5)
    Jan 10 14:54:07 NetworkManager[1013]: [1515576247.0024] vpn-connection[0x285c5d0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state changed: stopped (6)
    Jan 10 14:54:07 NetworkManager[1013]: [1515576247.0034] vpn-connection[0x285c5d0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state change reason: unknown (0)
    Jan 10 14:55:12 NetworkManager[1013]: [1515576312.3729] keyfile: update /etc/NetworkManager/system-connections/VPN connection 1 (46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″)
    Jan 10 14:55:12 NetworkManager[1013]: [1515576312.3732] audit: op=”connection-update” uuid=”46f3bd96-3de9-446f-a4b0-ed23e68f3b0c” name=”VPN connection 1″ pid=522 uid=1000 result=”success”
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.1669] audit: op=”connection-activate” uuid=”46f3bd96-3de9-446f-a4b0-ed23e68f3b0c” name=”VPN connection 1″ pid=2303 uid=1000 result=”success”
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.1706] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: Saw the service appear; activating connection
    Jan 10 14:55:18 NetworkManager[1013]: ** Message: vpnc started with pid 584
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.2717] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state changed: starting (3)
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.2717] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN connection: (ConnectInteractive) reply received
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.2806] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/5)
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.2866] devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
    Jan 10 14:55:18 NetworkManager[1013]: [1515576318.2866] device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
    Jan 10 14:55:33 NetworkManager[1013]: /usr/sbin/vpnc: no response from target
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3057] devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
    Jan 10 14:55:33 NetworkManager[1013]: ** (nm-vpnc-service:405): WARNING **: vpnc exited with error code 1
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3140] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: failed: connect-failed (1)
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3140] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: failed: connect-failed (1)
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3140] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state changed: stopping (5)
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3141] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state changed: stopped (6)
    Jan 10 14:55:33 NetworkManager[1013]: [1515576333.3148] vpn-connection[0x285c7b0,46f3bd96-3de9-446f-a4b0-ed23e68f3b0c,”VPN connection 1″,0]: VPN plugin: state change reason: unknown (0)

    Thanks in Advance 🙂

  • Hunted thru a lot of blogs, but this worked exactly.
    The snapshots truly help a lot.

    Thanks a lot Surya

  • How to configure VPN from an existing PCF file?
    I do not have Group pwd, its in encrypted format in PCF file

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer