Project

General

Profile

ipsec.secrets Reference » History » Version 8

« Previous - Version 8/18 (diff) - Next » - Current version
Tobias Brunner, 30.05.2010 10:34
added example for include directive


ipsec.secrets

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

  • RSA defines an RSA private key
  • ECDSA defines an ECDSA private key
  • PSK defines a pre-shared key
  • EAP defines EAP credentials
  • XAUTH defines XAUTH credentials
  • PIN defines a smartcard PIN

Example

# /etc/ipsec.secrets - strongSwan IPsec secrets file

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

: RSA moonKey.pem

: XAUTH carol "4iChxLT3" 

: XAUTH dave  "ryftzG4A" 

# get secrets from other files
include ipsec.*.secrets