Project

General

Profile

ipsec.conf Reference » History » Version 7

Martin Willi, 02.09.2007 08:31
added recommended /etc path

1 1 Martin Willi
= ipsec.conf =
2 1 Martin Willi
3 7 Martin Willi
strongSwan's ''/etc/ipsec.conf'' configuration file consists of three different section types:
4 1 Martin Willi
5 5 Martin Willi
 * [wiki:ConfigSetupSection config setup] defines general configuration parameters
6 5 Martin Willi
 * [wiki:ConnSection conn <name>] defines a connection
7 5 Martin Willi
 * [wiki:CaSection ca <name>] defines a certification authority
8 2 Martin Willi
9 3 Martin Willi
There can be only one [wiki:ConfigSetupSection config setup] section but
10 3 Martin Willi
an unlimited number of [wiki:ConnSection conn] and [wiki:CaSection ca] sections.
11 4 Martin Willi
12 4 Martin Willi
All parameters belonging to a section must be indented by at least one space or tab
13 4 Martin Willi
character. The rest of the line after a '#' character is treated as a comment.
14 4 Martin Willi
Comments within a section must also be indented.