Vpnc Ubuntu

Posted on  by 



[ xenial ] [ xenial-updates ] [ bionic ] [ bionic-updates ] [ focal ] [ groovy ] [ hirsute ]
  1. Mar 26, 2015 (NetworkManager) is a project to simplify Linux networking for desktop and laptop users. It supports VPN connections, and plugins are currently available for PPTP, VPNC and OpenVPN. It is packaged as Network Manager (AM) or nm-applet (SPM), and is installed by default as of Ubuntu 7.04. By default, NetworkManager does not include any VPN plugins.
  2. First, install vpnc. On Debian/Ubuntu: apt-get install vpnc On OSX: brew install vpnc Then install pyvpnc using pip: pip install vpnc.
  3. You have searched for packages that names contain vpnc in all suites, all sections, and all architectures. Found 8 matching packages. Exact hits Package vpnc. Xenial (16.04LTS) (net): Cisco-compatible VPN client universe.

Install vpnc and network-manager-vpnc-gnome. Sudo apt install vpnc network-manager-vpnc-gnome 2. Enter your password. Confirm installation. After successfully installing the required software it is time to configure it. Add a new VPN connection. From the VPN type options, select Cisco Compatible VPN (vpnc) 7.

Links for network-manager-vpnc-gnome

Ubuntu Resources:

Download Source Package network-manager-vpnc:

Maintainer:

  • Ubuntu Developers (Mail Archive)

Vpnc Ubuntu Palo Alto

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

  • Utopia Maintenance Team (Mail Archive)
  • Michael Biebl

It should generally not be necessary for users to contact the original maintainer.

External Resources:

  • Homepage [www.gnome.org]

Similar packages:

network management framework (VPNC plugin GNOME GUI)

Other Packages Related to network-manager-vpnc-gnome

  • depends
  • recommends
  • suggests
  • enhances
  • dep:libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep:libc6 (>= 2.4) [not arm64, ppc64el]
  • dep:libglib2.0-0 (>= 2.37.3)
    GLib library of C routines
  • dep:libgtk-3-0 (>= 3.0.0)
    GTK+ graphical user interface library
  • dep:libnm0 (>= 1.1.90)
    GObject-based client library for NetworkManager
  • dep:libnma0 (>= 1.1.90)
    library for wireless and mobile dialogs (libnm version)
  • dep:libsecret-1-0 (>= 0.18)
    Secret store
  • dep:network-manager-vpnc (= 1.2.4-6) [not amd64, i386]
    network management framework (VPNC plugin core)
    dep:network-manager-vpnc (= 1.2.4-6ubuntu0.1) [amd64, i386]

Download network-manager-vpnc-gnome

Download for all available architectures
ArchitectureVersionPackage SizeInstalled SizeFiles
amd641.2.4-6ubuntu0.122.3 kB121.0 kB [list of files]
arm641.2.4-620.2 kB116.0 kB [list of files]
armhf1.2.4-620.7 kB103.0 kB [list of files]
i3861.2.4-6ubuntu0.123.6 kB123.0 kB [list of files]
ppc64el1.2.4-623.4 kB200.0 kB [list of files]
s390x1.2.4-620.8 kB125.0 kB [list of files]

The vpnc program is used to connect to Cisco VPNs. Although Cisco provides a Linux client, it can often be problematic to build, especially on 64 bit or SMP systems. Additionally, vpnc is quick to install and easy to configure.

Start by installing and enabling the rpmforge repo. Once that is done, vpnc can be installed with

This will install vpnc, create an /etc/vpnc directory and also install the pcf2vpnc script. The /etc/vpnc directory contains a default sample vpnc.conf and a vpnc-script. The directory and files are owned by root. The vpnc-script must be made executable. As root or with root privilege

Next create a customized vpnc.conf file. By default, vpnc first looks in /etc/vpnc/ for a file called defaults.conf. If it doesn't find that, it will then look for /etc/vpnc.conf. The user can either call their custom file vpnc.conf and put it in /etc, or give it its own name and put it in /etc/vpnc. The file should have a .conf suffix, for example, mycompany.conf. If using a custom name, then, when using vpnc, the .conf file will be given as an argument, without the .conf suffix, and the command will be run as

For purposes of this example, the customized config file will be called vpnc.conf and placed directly in /etc. It might be useful to rename the sample vpnc.conf in /etc/vpnc to avoid any confusion, but the program itself will not try to use the default vpnc.conf in /etc/vpnc. It only looks for a vpnc.conf in /etc.

The next step is to create the customized .conf file. Your company will have provided you with a .pcf file. This file will contain various information, including the group ID, group password, and server's address. It may include additional information, such as your individual user name and password, and IKE Authmode.

Vpnc

To create a .conf file to use with vpnc, use the pcf2vpnc script. If the supplied pcf file is called company.pcf, the command is

You will get a message that it can't execute cisco-decrypt and it is adding the password in obfuscated form. This is fine. The cisco-decrypt script will, strangely enough, decrypt the encoded password that is in the pcf, however, vpnc can use the encrypted password. There will also be a message that it was written to vpnc.conf with permissions of 100664 and a message to fix the permissions. Do so. Assuming that this has been done as root or with root privilege, it is owned by root. If not, first change its ownership.

Then change it to be read write for root only.

Ubuntu Install Vpnc

If your individual username and password were in the file, they will also be included in the newly created vpnc.conf file. This is relatively rare, and it's more likely that the file will have the lines

Either add the username and password, (uncommenting the two lines) or, if preferring to enter username and password each time, change it to read

As a Cisco VPN may supply its own DNS servers, the vpnc-script will backup /etc/resolv.conf and replace it. If all goes well, after disconnecting, it will put back the backed up /etc/resolv.conf, but the reader might want to make their own copy before running the command, just in case.

Once this is done, you can use the program by typing (as root or with root privilege)

Free Vpn Site

When finished with your vpnc session, disconnect with

After disconnecting, the reader may want to confirm that the vpnc-script replaced the original /etc/resolv.conf. If for some reason it didn't, and you took the advice above about backing up your resolv.conf file, you can manually put it back with cp /etc/resolv.conf.orig /etc/resolv.conf

Vpnc Ubuntu

This is usually not necessary unless you forgot to disconnect when finished and your session timed out, leaving you with your company's (probably internal) name servers in the resolv.conf created by the Cisco VPN.





Coments are closed