Instructions and patch for compiling IKE software (Shrew Soft VPN) on
All credits to Fabrizio Allevi, https://sites.google.com/view/uptolinux/ike_20-04.
This is a personal procedure that worked for some guys on their systems. Nobody is taking any responsibility if in your case this does not work or causes any damage. Apply these instructions only under your responsibility and at your own risk.
sudo -i
cd /usr/local/src/
wget https://www.shrew.net/download/ike/ike-2.2.1-release.tbz2
tar xjf ike-2.2.1-release.tbz2
apt install dos2unix wget
find ike/ -type f | xargs -r dos2unix
cd ike/
wget https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/ike.patch
patch -p1 < ike.patch
apt install build-essential libssl-dev libaudio-dev libcups2-dev cmake libedit-dev g++ flex bison
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=NO -DETCDIR=/etc -DNATT=YES
make
make install
mv /etc/iked.conf.sample /etc/iked.conf
sudo -i
cd /usr/local/src/
wget https://www.shrew.net/download/ike/ike-2.2.1-release.tbz2
tar xjf ike-2.2.1-release.tbz2
apt install dos2unix wget
find ike/ -type f | xargs -r dos2unix
cd ike/
wget https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/ike.patch
patch -p1 < ike.patch
wget -O CMakeLists.txt https://raw.githubusercontent.com/MaxChinni/ike-for-ubuntu/master/CMakeLists.txt.impish
apt install build-essential libssl-dev libaudio-dev libcups2-dev cmake libedit-dev g++ flex bison
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=NO -DETCDIR=/etc -DNATT=YES -S. -Wno-dev
make
make install
mv /etc/iked.conf.sample /etc/iked.conf
~/.ike/sites/
directory (i.e. ~/.ike/sites/work.vpn
)Start the daemon
sudo iked
Connect to the VPN, i.e.
ikec -r work.vpn