5 .Id $Id: startup-config.5,v 1.7 2005/05/10 11:59:25 bodea Exp $
6 .TH STARTUP-CONFIG 5 "\*(Dt" L2TPNS "File Formats and Conventions"
8 startup\-config \- configuration file for l2tpns
10 /etc/l2tpns/startup-config
13 is the configuration file for
16 The format is plain text, in the same format as accepted by the
19 telnet administrative interface. Comments are indicated by either the
25 Settings are specified with
27 .BI "set " "variable value"
35 Set the level of debugging messages written to the log file. The
36 value should be between 0 and 5, with 0 being no debugging, and 5
40 This will be where all logging and debugging information is written
41 to. This may be either a filename, such as
44 .BR syslog : \fIfacility\fR ,
47 is any one of the syslog logging facilities, such as
51 If set, the process id will be written to the specified file. The
52 value must be an absolute path.
55 Path to random data source (default
57 Use "" to use the rand() library function.
62 for authenticating tunnel request. Must be the same as the LAC, or
63 authentication will fail. Only actually be used if the LAC requests
66 .BR primary_dns , " secondary_dns"
67 Whenever a PPP connection is established, DNS servers will be sent to the
68 user, both a primary and a secondary. If either is set to 0.0.0.0, then that
71 .BR primary_radius , " secondary_radius"
72 Sets the RADIUS servers used for both authentication and accounting.
73 If the primary server does not respond, then the secondary RADIUS
76 .BR primary_radius_port , " secondary_radius_port"
77 Sets the authentication ports for the primary and secondary RADIUS
78 servers. The accounting port is one more than the authentication
79 port. If no ports are given, authentication defaults to 1645, and
83 If set to true, then RADIUS accounting packets will be sent. A
85 record will be sent when the session is successfully authenticated,
88 record when the session is closed.
93 is on, defines the interval between sending of RADIUS interim
94 accounting records (in seconds). Note: checking of this interval
95 occurs no more frequently than
100 Secret to be used in RADIUS packets.
103 A comma separated list of supported RADIUS authentication methods
104 ("pap" or "chap"), in order of preference (default "pap").
107 When the tun interface is created, it is assigned the address
108 specified here. If no address is given, 1.1.1.1 is used. Packets
109 containing user traffic should be routed via this address if given,
110 otherwise the primary address of the machine.
113 Address to send to clients as the default gateway.
116 Determines whether or not to send a gratuitous ARP for the
118 when the server is ready to handle traffic (default: true). This
119 setting is ignored if BGP is configured.
122 Sets the default speed (in kbits/s) which sessions will be limited to.
125 Number of token buckets to allocate for throttling. Each throttled
126 session requires two buckets (in and out).
129 If set to a directory, then every 5 minutes the current usage for
130 every connected use will be dumped to a file in this directory.
133 After starting up and binding the interface, change UID to this. This
134 doesn't work properly.
137 If set to true, then the current bandwidth utilization will be logged
138 every second. Even if this is disabled, you can see this information
144 Interval between regular cleanups (in seconds).
147 Number of packets to read off each of the UDP and TUN fds when
148 returned as readable by select (default: 10). Avoids incurring the
149 unnecessary system call overhead of select on busy servers.
152 Sets the scheduling policy for the
156 This causes the kernel to immediately preempt any currently running
158 (normal) process in favour of
160 when it becomes runnable.
162 Ignored on uniprocessor systems.
165 Keep all pages mapped by the
170 Maximum number of host unreachable ICMP packets to send per second.
173 Maximum number of packets of downstream traffic to be handled each
174 tenth of a second per session. If zero, no limit is applied (default:
175 0). Intended as a DoS prevention mechanism and not a general
176 throttling control (packets are dropped, not queued).
179 Multicast cluster address (default: 239.192.13.13).
182 Interface for cluster packets (default: eth0).
184 .B cluster_hb_interval
185 Interval in tenths of a second between cluster heartbeat/pings.
187 .B cluster_hb_timeout
188 Cluster heartbeat timeout in tenths of a second. A new master will be
189 elected when this interval has been passed without seeing a heartbeat
193 Enable negotiation of IPv6. This forms the the first 64 bits of the
194 client allocated address. The remaining 64 come from the allocated
195 IPv4 address and 4 bytes of 0s.
198 The routing configuration section is entered by the command
204 specifies the local AS number.
206 Subsequent lines prefixed with
207 .BI "neighbour " peer
208 define the attributes of BGP neighhbours. Valid commands are:
210 .BI "neighbour " peer " remote-as " as
212 .BI "neighbour " peer " timers " "keepalive hold"
216 specifies the BGP neighbour as either a hostname or IP address,
218 is the remote AS number and
221 are the timer values in seconds.
222 .SS NAMED ACCESS LISTS
223 Named access lists may be defined with either of
225 .BI "ip access\-list standard " name
227 .BI "ip access\-list extended " name
229 Subsequent lines starting with
233 define the body of the access\-list.
235 .B Standard Access Lists
237 Standard access lists are defined with:
239 .RB { permit | deny }
240 .IR source " [" dest ]
246 specify IP matches using one of:
259 are in dotted-quad notation, bits in the
261 indicate which address bits in
263 are relevant to the match (0 = exact match; 1 = don't care).
274 .BR 255.255.255.255 '.
277 .B Extended Access Lists
279 Extended access lists are defined with:
281 .RB { permit | deny }
283 .IR source " [" ports "] " dest " [" ports "] [" flags ]
296 are as described above for standard lists.
298 For TCP and UDP matches, source and destination may be optionally
303 .RB { eq | neq | gt | lt }
314 .RB { match\-any | match\-all }
315 .RB { + | - }{ fin | syn | rst | psh | ack | urg }
318 Match packets with any or all of the tcp flags set
325 Match "established" TCP connections: packets with
335 Match IP fragments. May not be specified on rules with layer 4