Project

General

Profile

strongSwan User Documentation » History » Version 13

Martin Willi, 30.08.2007 23:19
Added "Installation" subtitle

1 5 Martin Willi
= strongSwan User Documentation =
2 2 Martin Willi
3 2 Martin Willi
== Features ==
4 4 Martin Willi
  * [wiki:VirtualIp Virtual IP] via mode-config (IKEv1) or configuration payload (IKEv2)
5 2 Martin Willi
  * [wiki:NatTraversal NAT Traversal]
6 2 Martin Willi
  * [wiki:MobIke MOBIKE]
7 2 Martin Willi
8 1 Martin Willi
=== FAQ ===
9 1 Martin Willi
10 8 Martin Willi
'''Q:''' ''I'm trying to set up a VPN tunnel with a ZyXELL/Linksys/X router but the other side keeps on telling me "no proposal chosen" when strongSwan initiates the connection.''
11 6 Martin Willi
12 9 Martin Willi
'''A:''' Make sure that the peer supports all the algorithms (including the key lengths) which strongSwan proposes for IKE and ESP. In terms of IKE, the proposal consists of the following parts: Encryption algorithm, hash algorithm (PRF) and DH group. In terms of ESP the proposal includes the following: Encryption algorithm, hash algorithm, pfs group (DH group) and '''compression algorithm'''. There are lots of IPSec implementations out there that do '''not''' support compression or have implemented it erronously. So the first thing to try in this situation is to switch compression off on the peer. strongSwan's default setting is
13 6 Martin Willi
{{{
14 6 Martin Willi
compress=no
15 9 Martin Willi
}}} 
16 6 Martin Willi
See also Chapter [http://www.strongswan.org/docs/readme4.htm#section_14.1 14.1 Authentication and encryption algorithms] of the strongSwan documentation. It has good information about the relevant parameters.
17 6 Martin Willi
18 1 Martin Willi
=== Interoperability ===
19 7 Tobias Brunner
20 7 Tobias Brunner
 * [wiki:WindowsVista Windows Vista]
21 10 Martin Willi
22 13 Martin Willi
== Installation ==
23 13 Martin Willi
24 10 Martin Willi
=== Autoconf Options ===
25 10 Martin Willi
26 12 Martin Willi
strongSwan can be built with the following '''./configure''' options:
27 12 Martin Willi
28 1 Martin Willi
''--prefix=PREFIX''
29 12 Martin Willi
    where to put installation [''/usr/local'']. Most Linux distributions use ''"/usr"''.
30 10 Martin Willi
31 10 Martin Willi
''--libexecdir=DIR''
32 10 Martin Willi
    program executables [''PREFIX/libexec'']
33 1 Martin Willi
 
34 10 Martin Willi
''--sysconfdir=DIR''
35 12 Martin Willi
    where to put configuration files [''PREFIX/etc'']. We strongly recommend ''"/etc"''.
36 10 Martin Willi
 
37 10 Martin Willi
''--enable-cisco-quirks''
38 10 Martin Willi
    enable support of Cisco VPN client [''no''].
39 10 Martin Willi
40 10 Martin Willi
''--enable-dbus''
41 10 Martin Willi
    enable DBUS configuration and control interface [''no'']. Requires libdbus.
42 10 Martin Willi
43 10 Martin Willi
''--enable-eap-sim''
44 10 Martin Willi
    build SIM authentication module for EAP [''no''].
45 10 Martin Willi
46 10 Martin Willi
''--enable-http''
47 10 Martin Willi
    enable OCSP and fetching of certificates and CRLs over HTTP [''no'']. Requires libcurl.
48 10 Martin Willi
49 11 Martin Willi
''--enable-integrity-test''
50 11 Martin Willi
    enable the integrity test of the crypto library [''no''].
51 11 Martin Willi
52 10 Martin Willi
''--enable-ldap''
53 10 Martin Willi
    enable fetching of CRLs from LDAP [''no'']. Requires OpenLDAP.
54 10 Martin Willi
55 10 Martin Willi
''--enable-leak-detective''
56 10 Martin Willi
    enable malloc hooks to find memory leaks [''no''].
57 10 Martin Willi
58 10 Martin Willi
''--enable-nat-transport''
59 10 Martin Willi
    enable NAT traversal with IPsec transport mode [''no''].
60 10 Martin Willi
61 10 Martin Willi
''--enable-smartcard''
62 10 Martin Willi
    enable smartcard support [''no''].
63 10 Martin Willi
64 10 Martin Willi
''--enable-uml''
65 10 Martin Willi
    build the UML test framework [''no''].
66 10 Martin Willi
67 10 Martin Willi
''--enable-xml''  
68 10 Martin Willi
    enable XML configuration and control interface [''no'']. Requires libxml.
69 10 Martin Willi
70 10 Martin Willi
''--disable-self-test''
71 10 Martin Willi
    disable the self-test of the crypto library [''no''].
72 10 Martin Willi
73 10 Martin Willi
''--disable-vendor-id''
74 10 Martin Willi
    disable the sending of the strongSwan vendor ID [''no''].  
75 10 Martin Willi
76 10 Martin Willi
''--with-backenddir=DIR''
77 10 Martin Willi
    path for pluggable configuration backend modules [''IPSECDIR/plugins/backends'']
78 10 Martin Willi
79 10 Martin Willi
''--with-default-pkcs11=LIB''
80 10 Martin Willi
    set the default PKCS11 library [''/usr/lib/opensc-pkcs11.so'']
81 10 Martin Willi
82 10 Martin Willi
''--with-eapdir=DIR''
83 10 Martin Willi
    path for pluggable EAP modules [''IPSECDIR/plugins/eap'']
84 10 Martin Willi
85 10 Martin Willi
''--with-gid=GID''
86 10 Martin Willi
    change group of the daemons to GID after startup [''0'']
87 10 Martin Willi
88 10 Martin Willi
''--with-interfacedir=DIR''
89 10 Martin Willi
    path for pluggable control interface modules [''IPSECDIR/plugins/interfaces'']
90 10 Martin Willi
91 10 Martin Willi
''--with-ipsecdir=DIR''
92 10 Martin Willi
    installation path for ipsec tools [''LIBEXECDIR/ipsec'']
93 10 Martin Willi
94 10 Martin Willi
''--with-linux-headers=DIR''
95 10 Martin Willi
    linux header files to be used [''../include'']
96 10 Martin Willi
97 10 Martin Willi
''--with-piddir=DIR''
98 10 Martin Willi
    path for PID and UNIX socket files [''/var/run'']
99 10 Martin Willi
100 10 Martin Willi
''--with-random-device=DEV''
101 10 Martin Willi
    set the device for true random data [''/dev/random'']
102 10 Martin Willi
103 10 Martin Willi
''-with-resolv-conf=FILE''
104 10 Martin Willi
   set the file to store DNS server information [''SYSCONFDIR/resolv.conf'']
105 10 Martin Willi
106 10 Martin Willi
''--with-routing-table=NUM''
107 10 Martin Willi
    routing table for IPsec source routes [''220'']
108 10 Martin Willi
109 10 Martin Willi
''--with-routing-table-prio=PRIO''
110 10 Martin Willi
    priority for IPsec routing table [''220'']
111 10 Martin Willi
112 10 Martin Willi
''--with-sim-reader=LIB''
113 10 Martin Willi
    library containing the sim_run_alg() function for EAP-SIM []
114 10 Martin Willi
115 10 Martin Willi
''--with-uid=UID''
116 10 Martin Willi
    change user of the daemons to UID after startup [''0'']
117 10 Martin Willi
118 10 Martin Willi
''--with-urandom-device=DEV''
119 10 Martin Willi
    set the device for pseudo random data [''/dev/urandom'']
120 10 Martin Willi
121 10 Martin Willi
''--with-xauth-module=LIB''
122 10 Martin Willi
    set the path to the XAUTH module []