Project

General

Profile

ipsec.secrets Reference » History » Version 5

Martin Willi, 05.09.2007 09:07
added example

1 1 Martin Willi
= ipsec.secrets =
2 1 Martin Willi
3 4 Martin Willi
strongSwan's ''/etc/ipsec.secrets'' file contains an unlimited number of the following
4 2 Martin Willi
types of secrets:
5 1 Martin Willi
6 3 Martin Willi
 * [wiki:RsaSecret RSA] defines an RSA private key
7 3 Martin Willi
 * [wiki:PskSecret PSK] defines a pre-shared key
8 3 Martin Willi
 * [wiki:EapSecret EAP] defines EAP credentials
9 3 Martin Willi
 * [wiki:XauthSecret XAUTH] defines XAUTH credentials
10 3 Martin Willi
 * [wiki:PinSecret PIN] defines a smartcard PIN
11 5 Martin Willi
12 5 Martin Willi
== Example ==
13 5 Martin Willi
{{{
14 5 Martin Willi
# /etc/ipsec.secrets - strongSwan IPsec secrets file
15 5 Martin Willi
16 5 Martin Willi
192.168.0.1 %any : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL"
17 5 Martin Willi
18 5 Martin Willi
: RSA moonKey.pem
19 5 Martin Willi
20 5 Martin Willi
: XAUTH carol "4iChxLT3"
21 5 Martin Willi
22 5 Martin Willi
: XAUTH dave  "ryftzG4A"
23 5 Martin Willi
}}}