A nice and free open source VPN Client for Linux (and Windows) is Shrew Soft VPN Client. It supports IPSec which is just what I needed. With Ubuntu you can easily install it with sudo apt-get install ike. But with Ubuntu 11.10 (Xubuntu as well, same packages of course) installing ike this way won’t give you a working VPN client. It simply won’t open up a tunnel. On Fedora 16 this worked fine for me, but Fedora 16 is too unstable for my liking.
So to get ike working on Ubuntu you should download the source code from their website. I downloaded the 2.2.0-beta2 version, compiled and installed it and am running it without any issues.
To compile ike yourself execute the following commands from a terminal in the directory with the contents of the archive.
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DQTGUI=YES -DETCDIR=/etc -DNATT=YES $ cmake . $ make $ sudo make install
After you’ve installed ike all you need to do is a sudo iked (or create a startup/init.d script for it so it starts at boot time). To launch the client simply execute qikea (GUI).
thanks a lot for your discription!!
So I followed your guide. I ran into some problems with cmake, but finally got it to compile and install now when I run ‘sudo iked’ I get this error:
iked: error while loading shared libraries: libss_ike.so.2.2.0: cannot open shared object file: No such file or directory
Any idea what’s going on here?
Thanks
I think you need to run a sudo ldconfig to reconfigure your library cache.
I’ve had a go and I get the following message.
Any idea on what I need to do? I’m running Ubuntu 11.10
CMake Error at CMakeLists.txt:211 (message):
Unable to locate openssl crypto include files
Ah done it, just had to use synaptic to resolve a few dependencies
I already had those installed so this didn’t happen for me.
Thanks! ^_^
Thanks for the description. Additionally I had to add the following packages:
sudo apt-get install cmake flex bison libqt4-core libqt4-dev libqt4-gui build-essential