vpn and linux

Advanced feature discussion, beta programs and unsupported "Labs" features.
3 posts Page 1 of 1
by hdonut » Fri Oct 12, 2012 3:37 pm
I am attempting to set up vpn with Ubuntu 12.04.
I have installed network-manager-vpnc
from here i have been able to choose (Cisco Compatible VPN (vpnc) and create new vpn connection.

under general settings
gateway: 208.201.249.242
username: filled in
user password: filled in
group name: Standard VPN
Group password: standard

Advanced options
domain: left blank
vendor : cisco
encryption method: secure
nat traversal: NAT-T when available (default)
Ike DH Group: DH Group 2 (default)
Perfect Forward Secrecy: Server (default)

ipv4 settings: automatic VPN

routes...
check box use this connection only for resources on its network

i am able to connect to vpn but my ip address has not changed.
any help appreciated.
by hdonut » Fri Oct 12, 2012 7:11 pm
I reinstalled network manager vpnc
and re entered general settings info only.
left everything else alone and it worked.
by forest » Wed May 13, 2015 5:08 pm
I did this today with Xubuntu 14.04.

I had to install the network-manager-vpnc-gnome package (which depends on a few other packages) in order to get the required options to appear in the NetworkManager applet.

I downloaded Sonic's Cisco VPN Client for Linux, but I didn't install it. Instead, I extracted the Sonic.net.pcf and rootcert files from that archive. The .pcf file guided me in what settings to use in the open source client, and the rootcert file is necessary for authentication.

In the NetworkManager applet's Network Connections dialog box, I chose Add, Cisco Compatible VPN (vpnc), and clicked the Create.. button.

The settings I used:

Connection name: Sonic.net VPN
General
☑ All users may connect to this network: Yes
VPN
Gateway: 208.201.249.242
User name: <my main sonic account username>
User password: <my main sonic account password>
Group name: Enhanced VPN
Group password: enhanced
☑ Use hybrid authentication: Yes
CA File: <the rootcert file that I extracted from Sonic's VPN client>
Advanced...
Domain:
Vendor: Cisco (default)
Version:
Encryption method: Secure (default)
NAT traversal: Cisco UDP
IKE DH Group: DH Group 2 (default)
Perfect Forward Secrecy: Server (default)
Local port: 500
☐ Disable Dead Peer Detection: No
IPv4 Settings
Method: Automatic (VPN)
Additional DNS servers: 208.201.224.11, 208.201.224.33
Routes...
(no specific routes here)
☐ Ignore automatically obtained routes: No
☐ Use this connection only for resources on its network: No

Once those settings were saved, I activated my new VPN connection in the NetworkManager applet, the VPN was established, and my routing tables were updated appropriately.
3 posts Page 1 of 1