[Vpn-help] compiling shrew vpn client in ubuntu 6.0.6 - detailed instructions

Harondel J. Sibble help at pdscc.com
Sun Nov 4 20:40:09 CST 2007


Having gotten various versions of the 2.x.x client for linux running on 
Ubuntu 6.0.6 LTS with assisstance from Matthew, I thought I'd write up a 
little step by step for anyone doing this.  I had to do it remotely for a 
client today, so got a chance to clean up my notes.

1) apt-get remove racoon (assuming you have it installed already)

2) (next 2 lines are all on a single command line)
apt-get install gcc g++ binutils flex qt3-dev-tools libqt3-headers libqt3-
compat-headers libqt3-mt-dev libssl-dev

3) download bison 2.3 configure, make, make install
http://www.gnu.org/software/bison/bison.html
http://ftp.gnu.org/gnu/bison/bison-2.3.tar.gz

4) download cmake 2.4.7 (sh binary) copy to /usr and run and install under 
/usr
http://www.cmake.org/files/v2.4/cmake-2.4.7-Linux-i386.sh

5) ran configure for iked, "cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -
DETCDIR=/etc -DNATT=YES", 

6) run make and sudo make install

7) Minor other changes: 
a) sudo cp /etc/iked.conf.sample /etc/iked.conf
b) copied sysv init script from matthew to the /etc/init.d directory as iked. 
sudo "chmod +x /etc/init.d/iked", running it failed had to then run "sudo 
dos2unix /etc/init.d/iked" since it came from an email (see Mon, 17 Sep 2007 
18:04:02 email titled "Re: [Vpn-help] trouble compiling beta3 on ubunutu 
6.0.6 lts"
c) "sudo update-rc.d iked defaults"

Matthew, is the init script going to be part of the next release and will it 
be automatically installed?

-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help at pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)      (604) 686-2253 (pager)




More information about the vpn-help mailing list