strongSwan Installation Documentation » History » Version 44
Brian Pruss, 23.05.2012 03:43
1 | 25 | Tobias Brunner | h1. strongSwan Installation Documentation |
---|---|---|---|
2 | 1 | Martin Willi | |
3 | 1 | Martin Willi | |
4 | 25 | Tobias Brunner | |
5 | 1 | Martin Willi | h2. Live testing system |
6 | 25 | Tobias Brunner | |
7 | 26 | Tobias Brunner | 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. |
8 | 25 | Tobias Brunner | |
9 | 25 | Tobias Brunner | |
10 | 25 | Tobias Brunner | h2. Distribution packages |
11 | 25 | Tobias Brunner | |
12 | 25 | Tobias Brunner | |
13 | 1 | Martin Willi | There are currently packages for: |
14 | 27 | Tobias Brunner | * "Debian":http://packages.debian.org/search?keywords=strongswan&searchon=names&suite=all§ion=all |
15 | 31 | Andreas Steffen | * "Ubuntu":http://packages.ubuntu.com/search?keywords=strongswan&searchon=names&suite=all§ion=all |
16 | 27 | Tobias Brunner | * "openSUSE":http://software.opensuse.org/search?p=1&q=strongswan |
17 | 27 | Tobias Brunner | * "Gentoo":http://packages.gentoo.org/package/net-misc/strongswan |
18 | 39 | Tobias Brunner | * "Maemo":http://maemo.org/packages/view/strongswan/ |
19 | 44 | Brian Pruss | * "Fedora":http://pkgs.org/download/strongswan |
20 | 44 | Brian Pruss | * "Red Hat Enterprise Linux and CentOS via EPEL":http://pkgs.org/download/strongswan |
21 | 1 | Martin Willi | |
22 | 1 | Martin Willi | |
23 | 25 | Tobias Brunner | h2. Compile yourself |
24 | 16 | Martin Willi | |
25 | 16 | Martin Willi | |
26 | 1 | Martin Willi | |
27 | 30 | Andreas Steffen | h3. Linux Kernel requirements |
28 | 25 | Tobias Brunner | |
29 | 25 | Tobias Brunner | strongSwan should run on most distros' kernels. If you build your own kernel, include [[KernelModules|the required modules]]. |
30 | 25 | Tobias Brunner | |
31 | 25 | Tobias Brunner | |
32 | 25 | Tobias Brunner | h3. Building strongSwan |
33 | 25 | Tobias Brunner | |
34 | 1 | Martin Willi | |
35 | 43 | Tobias Brunner | Since the release of strongSwan 4.x the GNU build system (Autotools) is used to build strongSwan. |
36 | 38 | Tobias Brunner | |
37 | 43 | Tobias Brunner | There is a growing list of configure options available: |
38 | 43 | Tobias Brunner | |
39 | 43 | Tobias Brunner | * [[Autoconf|Autoconf options for current release]] |
40 | 1 | Martin Willi | |
41 | 40 | Tobias Brunner | Refer to the [[PluginList|list of plugins]] to learn more about the plugins that can be enabled with the above options. |
42 | 40 | Tobias Brunner | |
43 | 40 | Tobias Brunner | |
44 | 1 | Martin Willi | The build procedure is as with any autotools project: |
45 | 40 | Tobias Brunner | |
46 | 40 | Tobias Brunner | # "Download strongSwan":http://www.strongswan.org/download.html: |
47 | 1 | Martin Willi | <pre> |
48 | 1 | Martin Willi | wget http://download.strongswan.org/strongswan-4.x.x.tar.bz2 |
49 | 40 | Tobias Brunner | </pre> |
50 | 40 | Tobias Brunner | # Unpack the tarball: |
51 | 40 | Tobias Brunner | <pre> |
52 | 40 | Tobias Brunner | tar xjvf strongswan-4.x.x.tar.bz2; cd strongswan-4.x.x |
53 | 40 | Tobias Brunner | </pre> |
54 | 40 | Tobias Brunner | # Configure strongSwan using some of the options above: |
55 | 40 | Tobias Brunner | <pre> |
56 | 1 | Martin Willi | ./configure --prefix=/usr --sysconfdir=/etc --<your-options> |
57 | 40 | Tobias Brunner | </pre> |
58 | 40 | Tobias Brunner | # Build the sources and install the binaries as root: |
59 | 40 | Tobias Brunner | <pre> |
60 | 1 | Martin Willi | make |
61 | 1 | Martin Willi | sudo make install |
62 | 1 | Martin Willi | </pre> |
63 | 30 | Andreas Steffen | |
64 | 33 | Tobias Brunner | h3. Building strongSwan on other platforms |
65 | 30 | Andreas Steffen | |
66 | 30 | Andreas Steffen | * [[FreeBSD|strongSwan on FreeBSD]] (IKEv2 only) |
67 | 1 | Martin Willi | * [[MacOSX|strongSwan on Mac OS X]] (IKEv2 only) |
68 | 33 | Tobias Brunner | * [[Android|strongSwan on Android]] (IKEv2 only) |