1 .TH "xl2tpd.conf" "5" "" "Jean-Francois Dive" ""
3 xl2tpd.conf \- L2TPD configuration file
5 The xl2tpd.conf file contains configuration information for xl2tpd, the implementation of l2tp protocol.
7 The configuration file is composed of sections and parameters. Each section
8 has a given name which will be used when using the configuration FIFO
9 (normaly /var/run/l2tp\-control). See xl2tpd.8 for more details.
11 The specific given name
13 will specify parameters applicables for all the following sections.
17 Specify where to find the authentication file used to authenticate
18 l2tp tunnels. The default is /etc/l2tpd/l2tp\-secrets.
22 Use IPsec Security Association trackinng. When this is enabled, packets
23 received by xl2tpd should have to extra fields (refme and refhim) which
24 allows tracking of multiple clients using the same internal NATed IP
25 address, and allows tracking of multiple clients behind the same
26 NAT router. This neds to be supported by the kernel. Currently, this
27 only works with Openswan KLIPS in "mast" mode. (see http://www.openswan.org/)
29 Set this to yes and the system will provide proper SAref values in the
32 Values can be yes or no. The default is no.
36 When using IPsec Security Association trackinng, a new setsockopt is used.
37 Since this is not (yet?) an official Linux kernel option, we got bumped.
38 Openswan upto 2.6.35 for linux kernels up to 2.6.35 used a saref num of 22.
39 Linux 3.6.36+ uses 22 for IP_NODEFRAG. We moved our IP_IPSEC_REFINFO to 30.
40 If not set, the default is to use 30. For older SAref patched kernels, use 22.
44 The IP address of the interface on which the daemon listens. By default,
45 it listens on INADDR_ANY (0.0.0.0), meaning it listens on all interfaces.
49 Specify which UDP port xl2tpd should use. The default is 1701.
53 If set to yes, the xl2tpd process will only accept connections from
54 peers addresses specified in the following sections. The default is no.
58 Set this to yes to enable syslog output of L2TP AVP debugging information.
62 Set this to yes to enable syslog output of network debugging information.
66 Set this to yes to enable printing of L2TP packet debugging information.
67 Note: Output goes to STDOUT, so use this only in conjunction with the
73 Set this to yes to enable syslog output of FSM debugging information.
77 Set this to yes to enable syslog output of tunnel debugging information.
82 If set to yes, only one control tunnel will be allowed to be built
83 between 2 peers. CHECK
87 Specify the range of ip addresses the LNS will assign to the connecting
88 LAC PPP tunnels. Multiple ranges can be defined. Using the 'no'
89 statement disallows the use of that particular range. Ranges are defined
90 using the format IP \- IP (example: 1.1.1.1 \- 1.1.1.10). Note that either
93 option must be given, or you must set
99 Set this to no if xl2tpd should not assign IP addresses out of the pool
102 option. This can be useful if you have some other means to assign IP
103 addresses, e. g. a pppd that supports RADIUS AAA.
108 Specify the ip addresses of LAC's which are allowed to connect to xl2tpd
109 acting as a LNS. The format is the same as the
115 If set to yes, xl2tpd will use the AVP hiding feature of L2TP. To get
116 more information about hidden AVP's and AVP in general, refer to rfc2661
121 Use the following IP as xl2tpd's own ip address.
125 If set to yes, the length bit present in the l2tp packet payload
129 .B (refuse | require) chap
130 Will require or refuse the remote peer to get authenticated via CHAP for the
134 .B (refuse | require) pap
135 Will require or refuse the remote peer to get authenticated via PAP for the
139 .B (refuse | require) authentication
140 Will require or refuse the remote peer to authenticate itself.
143 .B unix authentication
144 If set to yes, /etc/passwd will be used for remote peer ppp authentication.
148 Will report this as the xl2tpd hostname in negociation.
152 This will enable the debug for pppd.
156 Specify the path for a file which contains pppd configuration parameters
161 This option is deprecated and no longer functions. It used to be used
162 to define the flow control window size for individual L2TP calls or
163 sessions. The L2TP standard (RFC2661) no longer defines flow control or
164 window sizes on calls or sessions.
168 This defines the window size of the control channel. The window size is
169 defined as the number of outstanding unacknowledged packets, not as a
174 If set to yes, sequence numbers will be included in the communication.
175 The feature to use sequence numbers in sessions is currently broken and
180 If set to yes, use challenge authentication to authenticate peer.
184 If set, the receive bandwidth maximum will be set to this value
188 If set, the transmit bandwidth maximum will be set to this value
191 The following are LAC specific configuration flags. Most of those
192 described in the LNS section may be used in a LAC context, where
193 it make common sense (essentially l2tp procotols tuning flags and
194 authentication / ppp related ones).
198 Set the dns name or ip address of the LNS to connect to.
202 If set to yes, xl2tpd will attempts to redial if the call get disconected.
206 Wait X seconds before redial. The redial option must be set to yes
211 Will give up redial tries after X attempts.
215 \fB\fR/etc/xl2tpd/xl2tpd.conf \fB\fR/etc/xl2tpd/l2tp\-secrets
216 \fB\fR/var/run/xl2tpd/l2tp\-control
219 Please address bugs and comment to xl2tpdv@lists.xelerance.com
224 Forked from xl2tpd by Xelerance (http://www.xelerance.com/software/xl2tpd/
226 Michael Richardson <mcr@xelerance.com>
227 Paul Wouters <paul@xelerance.com>
229 Many thanks to Jacco de Leeuw <jacco2@dds.nl> for maintaining l2tpd.
232 Previous development was hosted at sourceforge
233 (http://www.sourceforge.net/projects/l2tpd) by:
235 Scott Balmos <sbalmos@iglou.com>
237 David Stipp <dstipp@one.net>
239 Jeff McAdams <jeffm@iglou.com>
242 Based off of l2tpd version 0.60
244 Copyright (C)1998 Adtran, Inc.
246 Mark Spencer <markster@marko.net>