Project

General

Profile

ipsec.secrets Reference » History » Version 9

Version 8 (Tobias Brunner, 30.05.2010 10:34) → Version 9/19 (Tobias Brunner, 26.08.2010 10:19)

h1. ipsec.secrets

strongSwan's _/etc/ipsec.secrets_ file contains an unlimited number of the following
types of secrets:

* [[RsaSecret|RSA]] defines an RSA private key
* [[EcDsaSecret|ECDSA]] defines an ECDSA private key
* [[PskSecret|PSK]] defines a pre-shared key
* [[EapSecret|EAP]] defines EAP credentials
* [[XauthSecret|XAUTH]] defines XAUTH credentials
* [[PinSecret|PIN]] defines a smartcard PIN

h2. Example

<pre>
# /etc/ipsec.secrets - strongSwan IPsec secrets file

192.168.0.1 %any : PSK "v+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL"

: RSA moonKey.pem

alice@strongswan.org : EAP "x3.dEhgN" XAUTH carol "4iChxLT3"

carol : XAUTH "4iChxLT3"

dave : XAUTH "ryftzG4A"

# get secrets from other files
include ipsec.*.secrets
</pre>