Install Shrew VPN on Linux or *nix

I need to connect to the SSG Router through VPN, however, the VPN functionality provided by the SSG Firewall is only available for Shrew VPN, so I have to install that in my Ubuntu 14.04. So, simply put, it includes two parts, 1. installing the dependencies through apt-get. 2. Compile and install the Shrew VPN.

1. Install the Dependencies In Ubuntu 14.04, we have to install the following dependencies, we can use the following command.


apt-get install cmake libqt4-core libqt4-dev libqt4-gui libedit-dev libssl-dev checkinstall bison flex

CMake: Cross Platform make tools
checkinstall: make file generator
Bison: Some parser?
Flex: another parser?
QT: the GUI Library

Next, we have to build it through the standard make process


sudo tar xvf ike-.tbz2
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES
sudo checkinstall -y
sudo cp /usr/local/src/ike/ike/source/iked/iked.conf.sample /etc/iked.conf
sudo iked
sudo qikea

ShrewVPN