Project

General

Profile

strongSwan Installation Documentation » History » Version 36

Version 35 (Andreas Steffen, 01.09.2010 23:54) → Version 36/59 (Andreas Steffen, 01.09.2010 23:55)

h1. strongSwan Installation Documentation

h2. Live testing system

We have built a [[OpenWRTDemo|small test system]] to run strongSwan without installation or configuration. It is based on a UML kernel, two small "OpenWRT":http://openwrt.org/ images and should run on any x86 Linux system out of the box.

h2. Distribution packages

There are currently packages for:
* "Debian":http://packages.debian.org/search?keywords=strongswan&searchon=names&suite=all&section=all
* "Ubuntu":http://packages.ubuntu.com/search?keywords=strongswan&searchon=names&suite=all&section=all
* "openSUSE":http://software.opensuse.org/search?p=1&q=strongswan
* "Gentoo":http://packages.gentoo.org/package/net-misc/strongswan

h2. Compile yourself

h3. Linux Kernel requirements

strongSwan should run on most distros' kernels. If you build your own kernel, include [[KernelModules|the required modules]].

h3. Building strongSwan

We have changed the buid system to autotools for the 4.x releases. There is a growing list of [[Autoconf|autoconf options]] available:

* [[Autoconf45|Autoconf [[Autoconf44|Autoconf options for 4.5 releases]]
* [[Autoconf44|Autoconf options for 4.4 releases]] (current)
* [[Autoconf| Autoconf options for 4.3 releases]]
* [[Autoconf42|Autoconf options for 4.2 releases]]
* [[Autoconf41|Autoconf options for 4.1 releases]]

The build procedure is as with any autotools project:
<pre>
wget http://download.strongswan.org/strongswan-4.x.x.tar.bz2
tar jxvf strongswan-4.x.x.tar.bz2; cd strongswan-4.x.x
./configure --prefix=/usr --sysconfdir=/etc --<your-options>
make
sudo make install
</pre>

h3. Building strongSwan on other platforms

* [[FreeBSD|strongSwan on FreeBSD]] (IKEv2 only)
* [[MacOSX|strongSwan on Mac OS X]] (IKEv2 only)
* [[Android|strongSwan on Android]] (IKEv2 only)