Install Shrew Soft VPN client on Ubuntu 13.04

The following post is based on the original post in stackoverflow site . The answer done by JapSlap and Kate Gregory.

I’ve just added some dependencies based on my installation experience and some configuration.

Step 1: download shrew soft package Download the latest linux schrew soft vpn package here:http://www.shrew.net/download/ike

At the time of writing (May 6th 2013) the file is ike-2.2.1-rc-1.tgz

Step 2: untar package Untar this into a directory and navigate to the folder created called ike

Step 3: try to prepare for install run this command:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES

Step 4: install dependencies the initial cmake command failed for me the first two times because I needed to install these dependencies:

  • sudo apt-get install libedit-dev

  • sudo apt-get install libqt4-core libqt4-dev libqt4-gui

  • sudo apt-get update && sudo apt-get install build-essential

  • sudo apt-get install g++

  • sudo apt-get install libcurl3-openssl-dev

  • sudo apt-get install flex

  • sudo apt-get install bison

  • sudo apt-get install checkinstall

Step 5: prepare for installation: Run this command again:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES

Step 6: install the application using this command

sudo checkinstall

sudo ldconfig

sudo cp /etc/iked.conf.sample /etc/iked.conf

Step 7: launch the shrew soft daemon

sudo iked

Step 8: launch the graphical interface

sudo qikea

Step 9: use the import feature or set up a new connection

You’re done!

This entry was posted in Apps, Network Apps and tagged , , , . Bookmark the permalink.

13 Responses to Install Shrew Soft VPN client on Ubuntu 13.04

  1. philippe says:

    Thanks a lot for these instructions. It did work for me on Ubuntu 13.04.

  2. Ciccio says:

    Hi, thanks for your guide. Unfortunately I try ro start iked after installation but qikea tell me “failed to attach to key daemon”. I’m looking for ike process qith ps -ef | grep ike but nothing to do. Can you help me?

    • I am sorry it did not work for you. But this exact message happened to me when I tried to setup the recent stable version “2.2.0-release”. Then when I tried the RC version mentioned in the article “ike-2.2.1-rc-1.tgz”, everything went OK.
      Hope this works for you.

  3. Cristi says:

    So, for me it work like that:
    every time i want to start qikea first id to in terminal: sudo iked
    and after that i start qikea
    Hope it helps

  4. Cristi says:

    I use version 2.2.0

  5. ZZb says:

    Hi,
    Thanks for guide 2.2.1 almost works on MintDebian but there is a major BUT: it shows connected to the proper VPN server but no ping is working even to VPN server and of course no traffic.
    In Shrew/Network/Group box shows connected status, the remote host IP but also increasing “Failed packets”…
    The same configuration used on XP machine works just fine…
    ZZb

    • vdm says:

      Did you run it with sudo? Same thing happens to me when I start qikea w/o sudo (Ubuntu 12.10). It works fine with sudo. I wish I knew why sudo is required

  6. Tomas Sapik says:

    i can not import, export or save any configuration

  7. darkos says:

    these instructions worked great for me. thank you so much for sharing this how-to. 🙂

  8. Erick says:

    If you get a the error:
    CMake Error at CMakeLists.txt:265 (message):
    Unable to locate openssl crypto include files

    Install both ssl librariest 0.9.9 and 1.0.0 and it should be fine on top of the depencies in the article:

    $ sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0

  9. Martin says:

    I had to remove folder ike and unzip again, after installing the dependencies

  10. aavindraa says:

    Can confirm that this still works in Ubuntu 14. Thank you.

  11. Milena Gouveia says:

    Thank you, it worked for me!

Leave a comment