📄 l2tpd.conf.5
字号:
.TH "l2tpd.conf" "5" "" "Jean-Francois Dive" "".SH "NAME"l2tpd.conf \- L2TPD configuration file.SH "DESCRIPTION"The l2tpd.conf file contains configuration information for l2tpd, the implementation of l2tp protocol.The configuration file is composed of sections and parameters. Each sectionhas a given name which will be used when using the configuration FIFO (normaly /var/run/l2tp\-control). See l2tpd.8 for more details.The specific given name .B defaultwill specify parameters applicables for all the following sections..SH "GLOBAL SECTION".TP .B auth fileSpecify where to find the authentication file used to authenticatel2tp tunnels. The default is /etc/l2tp/l2tp\-secrets..TP .B PortSpecify which udp port l2tpd should use. The default is 1701..TP .B access controlIf set to use, the l2tpd process will only accept connections frompeers addresses specified in the following sections. CHECK.SH "LNS SECTION".TP .B exclusiveIf set to yes, only one control tunnel will be allowed to be builtbetween 2 peers. CHECK.TP .B (no) ip rangeSpecify the range of ip addresses the LNS will assign to the connectingLAC PPP tunnels. Multiple ranges can be defined. Using the 'no'statement disallows the use of that particular range. Ranges are definedusing the format IP \- IP (example: 1.1.1.1 \- 1.1.1.10).TP .B (no) lacSpecify the ip addresses of LAC's which are allowed to connect to l2tpdacting as a LNS. The format is the same as the .B ip range option..TP .B hidden bitIf set to yes, l2tpd will use the AVP hiding feature of L2TP. To getmore information about hidden AVP's and AVP in general, refer to rfc2661(add URL?).TP .B local ipUse the following IP as l2tpd's own ip address..TP .B length bitIf set to yes, the length bit present in the l2tp packet payloadwill be used..TP .B (refuse | require) chapWill require or refuse the remote peer to get authenticated via CHAP for the ppp authentication..TP .B (refuse | require) papWill require or refuse the remote peer to get authenticated via PAP for the ppp authentication..TP .B (refuse | require) authenticationWill require or refuse the remote peer to authenticate itself..TP .B unix authenticationIf set to yes, /etc/passwd will be used for remote peer ppp authentication..TP .B hostnameWill report this as the l2tpd hostname in negociation..TP .B ppp debugThis will enable the debug for pppd..TP .B pppoptfileSpecify the path for a file which contains pppd configuration parametersto be used..TP .B call rwsThis option is deprecated and no longer functions. It used to be usedto define the flow control window size for individual L2TP calls orsessions. The L2TP standard (RFC2661) no longer defines flow control orwindow sizes on calls or sessions..TP .B tunnel rwsThis defines the window size of the control channel. The window size isdefined as the number of outstanding unacknowledged packets, not as anumber of bytes..TP .B flow bitsIf set to yes, sequence numbers will be included in the communication.The feature to use sequence numbers in sessions is currently broken anddoes not function..TP .B challengeIf set to yes, use challenge authentication to authenticate peer..SH "LAC SECTION"The following are LAC specific configuration flags. Most of thosedescribed in the LNS section may be used in a LAC context, whereit make common sense (essentially l2tp procotols tuning flags andauthentication / ppp related ones)..TP .B lnsSet the dns name or ip address of the LNS to connect to..TP .B redialIf set to yes, l2tpd will attemps to redial if the call get disconected..TP .B redial timeoutWait X seconds before redial. The redial option must be set to yesto use this option..TP .B max redial Will give up redial tries after X attempts..SH "FILES"\fB\fR/etc/l2tp/l2tpd.conf \fB\fR/etc/l2tp/l2tp\-secrets \fB\fR/var/run/l2tp\-control.SH "BUGS"Please address bugs and comment to l2tpd\-dev@l2tpd.org.SH "SEE ALSO"\fB\fRl2tpd(8).SH "AUTHORS"Jeff McAdams <jeffm@iglou.com>Previous development was hosted at sourceforge(http://www.sourceforge.net/projects/l2tpd) by:.PScott Balmos <sbalmos@iglou.com>.brDavid Stipp <dstipp@one.net>.brJeff McAdams <jeffm@iglou.com>Based off of l2tpd version 0.60.brCopyright (C)1998 Adtran, Inc..brMark Spencer <markster@marko.net>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -