This page is about building for 2.6 kernels that have the 26sec code in them.
This document describes the steps to install and use Linux Openswan with your 2.6 kernel with 26sec code. Used Linux Openswan code is the current CVS of the openswan-2 tree.
You must:
Next, I'll describe these steps.
You should have the gmp libraries installed. In Debian unstable, use apt-get install libgmp3 and apt-get install libgmp3-dev to install them.
To check out the latest source, follow the steps on http://www.openswan.org/development/cvs.php.
First, you should edit a file to make Openswan work quickly. In the openswan-2 directory, open Makefile.inc with your favourite editor. Search for the line:
{{{
USE_LWRES?=true
}}}
Change this line to:
{{{
USE_LWRES?=false
}}}
Save the file and close your editor.
Now, you should compile the userland tools. To compile these tools type:
{{{
make programs
}}}
If everything goes well, you'll get a shell and you don't see any errors on your screen.
To install the tools, type:
{{{
make install
}}}
Open /etc/ipsec.conf with your favourite editor. Add the following line:
{{{
include /etc/ipsec.d/examples/no_oe.conf;
}}}
Now add connections.
You should be finished now.