How to use a cisco PCF file to connect to a corporate VPN with Linux

In four simple steps!


Do you have a configuration file for a cisco VPN client (PCF) and do you need to use it on your linuxbox?

“It could work!”

You can convert the PCF and connect to the corporate VPN with 4 simple steps:

  1. Open a terminal with root permissions.
  2. Install the vpnc client:
apt-get install vpnc

3. Convert PCF file into a vpnc configuration file:

pcf2vpnc profile.pcf profile.conf

4. Start VPN connection using the generated configuration file:

vpnc ./profile.conf

the VPN connection can be disconnected with this command:

vpnc-disconnect

That’s all!

Comments