1IPSEC_ADDCONN(8)              Executable programs             IPSEC_ADDCONN(8)
2
3
4

NAME

6       ipsec_addconn - load a given policy into the pluto IKE daemon
7

SYNOPSIS

9       ipsec addconn --configsetup [--rootdir dir] [--config filename]
10             [--ctlbase socketfile] [--verbose] [--noexport] [--warningsfatal]
11
12       ipsec addconn --liststack [--rootdir dir] [--config filename]
13             [--ctlbase socketfile] [--verbose] [--noexport] [--warningsfatal]
14
15       ipsec addconn --checkconfig [--rootdir dir] [--config filename]
16             [--ctlbase socketfile] [--verbose] [--warningsfatal]
17
18       ipsec addconn --autoall [--rootdir dir] [--config filename]
19             [--ctlbase socketfile] [--verbose] [--warningsfatal]
20
21       ipsec addconn [--rootdir dir] [--config filename]
22             [--ctlbase socketfile] [--verbose] [--warningsfatal] name1
23             [name2 ..]
24
25       ipsec addconn [--listall] [--liststart] [--listroute] [--listadd]
26             [--listignore] [--rootdir dir] [--config filename]
27             [--ctlbase socketfile] [--verbose] [--warningsfatal]
28
29       ipsec addconn --help
30

DESCRIPTION

32       ipsec addconn takes a config file (or stdin) containing the format of
33       ipsec.conf, or the format of individual "conn" sections, and uses that
34       information to load named or all connections defined in that
35       configuration file into the running libreswan pluto IKE daemon. If no
36       configuration file is specified, the default configuration file is
37       used. If no pluto socket is specified, the default socket location will
38       be used.
39
40       When --addall is used, all connections defined in the config file will
41       be operated on. Otherwise, only the specified connection names will be
42       affected.
43
44       When addcon is run, connections that have the auto= option set to add,
45       start or route will be loaded, routed or initiated. If a connection was
46       loaded or initiated already, it will be replaced.
47
48       When --configsetup is specified, the configuration file is parsed for
49       the config setup section and printed to the terminal usable as a shell
50       script. These are prefaced with export unless --noexport is specified.
51
52       When --checkconfig is specified, the configuration file is parsed and
53       all sections are checked for correct syntax. If an error is found,
54       information about it is printed to the terminal.
55
56       When --listroute or --liststart is specified, no connections are added
57       or replaced, only shown. This command can be used to verify which
58       connections the addcon command would act upon, without actually
59       performing any action.
60

HISTORY

62       Man page written for the Libreswan project <http://www.libreswan.org/>
63       by Paul Wouters
64

AUTHOR

66       Paul Wouters
67           placeholder to suppress warning
68
69
70
71libreswan                         02/01/2019                  IPSEC_ADDCONN(8)
Impressum