torsdag den 26. august 2010

Easiest way to set up vpnc to connect to cisco vpn (for openSUSE)

Install vpnc and wine (if you use an RSA SecurId software dongle). The dongle runs flawlessly under wine.

In openSUSE you can run this command:
sudo zypper in vpnc wine

If you have a VPN client set up in Windows look for the .pcf file.

This table shows what the necessary elements in the pcf file relates to in a vpnc configuration file.
Windows .pcf fileLinux /etc/vpnc/default.conf
Host=<value>IPSec gateway <value>
GroupName=<value>IPSec ID <value>
enc_GroupPwd=<value>IPSec secret <decoded value> (see later in this post)
Username=<value>Xauth username <value>

To decode to enc_GroupPwd value go to

vpnc is by default looking for a configuration in /etc/vpnc/default.conf. If you only need to connect to one vpn server the easiest will be to insert the information into that file.

1 kommentar:

  1. You might have to add these lines to your VPNC configuration file:

    Application version Cisco Systems VPN Client
    NAT Traversal Mode cisco-udp
    IKE Authmode psk