Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
openswan:klips26 [2006/08/02 11:35] a patched added |
openswan:klips26 [2009/12/08 00:49] (current) a |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Openswan in 2.6 kernel with KLIPS ====== | ||
| + | see also: [[: | ||
| + | |||
| + | ===== Compiling the kernel ===== | ||
| + | |||
| + | * get linux 2.6 source | ||
| + | * apply KLIPS26 patch from www.openswan.org | ||
| + | * apply NAT-T (KLIPS) patch from www.openswan.org | ||
| + | |||
| + | **configuration: | ||
| + | |||
| + | - The **'' | ||
| + | - The **'' | ||
| + | - The Openswan IPsec **'' | ||
| + | |||
| + | **for all the compiling erros see '' | ||
| + | |||
| + | ===== Compile KLIPS modules only (new way) ===== | ||
| + | |||
| + | Download OpenSwan latest& | ||
| + | | ||
| + | dpkg -i *.deb | ||
| + | | ||
| + | / | ||
| + | | ||
| + | |||
| + | '' | ||
| + | < | ||
| + | config setup | ||
| + | | ||
| + | # which IPsec stack to use. netkey, | ||
| + | protostack=klips | ||
| + | </ | ||
| + | |||
| + | To verify if everthing works .. | ||
| + | < | ||
| + | root@rt:/ | ||
| + | Checking your system to see if IPsec got installed and started correctly: | ||
| + | Version check and ipsec on-path | ||
| + | Linux Openswan 2.6.22 (klips) | ||
| + | Checking for IPsec support in kernel | ||
| + | KLIPS detected, checking for NAT Traversal support | ||
| + | Checking for RSA private key (/ | ||
| + | Checking that pluto is running | ||
| + | Two or more interfaces found, checking IP forwarding | ||
| + | Checking NAT and MASQUERADEing | ||
| + | Checking for ' | ||
| + | Checking for ' | ||
| + | Opportunistic Encryption Support | ||
| + | </ | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== klips26 < 2.4.6 & kernel 2.6.17.x ==== | ||
| + | |||
| + | | ||
| + | |||
| + | See: [[http:// | ||
| + | |||
| + | **Apply {{openswan: | ||

