charon-cmd is a simple IKE client (IPsec VPN client). It is available in most linux distributions and is very simple to install and configure.

  1. Install charon-cmd and libcharon-extra-plugins

If you are using debian, run:

$ sudo apt-get install charon-cmd libcharon-extra-plugins
  1. Download the certificate for the CA from the server (the ca.crt file)
  2. Type:
$ sudo charon-cmd --cert /path/to/the/cert/ca.crt --host --identity username

You must replace /path/to/the/cert/ca.crt with the path to the ca.crt file, with the actual hostname, and username with the actual username.

When asked, type in your user's password and press <Enter>.

To disconnect from the server, press <Ctrl-c>.