'\" t .\" Title: IPSEC-ADDCONN .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/14/2024 .\" Manual: Executable programs .\" Source: Libreswan 5.0~rc2 .\" Language: English .\" .TH "IPSEC\-ADDCONN" "8" "03/14/2024" "Libreswan 5.0~rc2" "Executable programs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ipsec-addconn \- load a given policy into the pluto IKE daemon .SH "SYNOPSIS" .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR [\-\-configsetup] [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-verbose] [\-\-noexport] [\-\-warningsfatal] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR \-\-liststack [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-verbose] [\-\-noexport] [\-\-warningsfatal] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR \-\-checkconfig [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-verbose] [\-\-warningsfatal] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR \-\-autoall [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-verbose] [\-\-warningsfatal] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-verbose] [\-\-warningsfatal] \fIname1\fR [\fIname2\ \&.\&.\fR] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR [\-\-config\ \fI/etc/ipsec.conf\fR] [\-\-ctlsocket\ \fI/run/pluto/pluto\&.ctl\fR] [\-\-listadd] [\-\-listall] [\-\-listignore] [\-\-listroute] [\-\-liststart] [\-\-verbose] [\-\-warningsfatal] .HP \w'\fBipsec\ addconn\fR\ 'u \fBipsec addconn\fR \-\-help .SH "DESCRIPTION" .PP \fBipsec addconn\fR takes a config file (or stdin) containing the format of ipsec\&.conf, or the format of individual "conn" sections, and uses that information to load named or all connections defined in that configuration file into the running libreswan pluto IKE daemon\&. If no configuration file is specified, the default configuration file is used\&. If no pluto socket is specified, the default socket location will be used\&. .PP When \fB\-\-addall\fR is used, all connections defined in the config file will be operated on\&. Otherwise, only the specified connection names will be affected\&. .PP When addcon is run, connections that have the \fIauto=\fR option set to \fBadd\fR, \fBstart\fR or \fBroute\fR will be loaded, routed or initiated\&. If a connection was loaded or initiated already, it will be replaced\&. .PP When \fB\-\-configsetup\fR is specified, the configuration file is parsed for the \fIconfig setup\fR section and printed to the terminal usable as a shell script\&. These are prefaced with \fIexport \fR unless \fB\-\-noexport\fR is specified\&. .PP When \fB\-\-checkconfig\fR is specified, the configuration file is parsed and all sections are checked for correct syntax\&. If an error is found, information about it is printed to the terminal\&. .PP When \fB\-\-listroute\fR or \fB\-\-liststart\fR is specified, no connections are added or replaced, only shown\&. This command can be used to verify which connections the addcon command would act upon, without actually performing any action\&. .SH "HISTORY" .PP Man page written for the Libreswan project <\m[blue]\fBhttps://libreswan\&.org/\fR\m[]> by Paul Wouters .SH "AUTHOR" .PP Paul Wouters