5 l2tpns - Layer 2 tunneling protocol network server (LNS)
9 B<l2tpns> [-B<d>] [-B<v>] [-B<c> I<file>] [-B<h> I<hostname>]
13 B<l2tpns> is a daemon for terminating layer 2 tunneling protocol (L2TP: RFC2661) sessions.
15 B<l2tpns> is a complete L2TP implementation. It supports the LAC, LNS, PPPOE and DHCPv6 server.
17 Once running, B<l2tpns> may be controlled by telnetting to port 23 on the machine running the daemon and with the B<nsctl> utility.
23 =item B<-d> Detach from terminal and fork into the background. By default l2tpns will stay in the foreground.
27 =item B<-v> Increase verbosity for debugging. Can be used multiple times.
33 Specify configuration file.
35 =item B<-h> I<hostname>
37 Force hostname to I<hostname>.
45 =item I</etc/l2tpns/startup-config>
47 The default configuration file.
49 =item I</etc/l2tpns/ip_pool>
51 IP address pool configuration.
53 =item I</etc/l2tpns/users>
55 Username/password configuration for access to admin interface.
63 =item B<SIGHUP> Reload the config from disk and re-open log file.
67 =item B<SIGTERM>, B<SIGINT>
69 Stop process. Tunnels and sessions are not terminated. This signal should be used to stop l2tpns on a cluster node where there are other machines to continue handling traffic.
73 Shut down tunnels and sessions, exit process when complete.
77 =head1 MANAGED RADIUS ATTRIBUTE
81 =item B<Ascend-Client-Primary-DNS>, B<Ascend-Client-Secondary-DNS>
83 Specifies a primary and secondary DNS server address to send to user.
85 =item B<Delegated-IPv6-Prefix>
87 Assign a network address IPv6 prefix to a user by DHCPv6.
89 =item B<Framed-IP-Address>
91 The address to be configured for the user (IPv4 address of the interface ppp).
95 provides routing information to be configured for the user.
97 =item B<Framed-IPv6-Route>
99 Has the same action as B<Delegated-IPv6-Prefix>. B<Delegated-IPv6-Prefix> is the correct one to use.
101 =item B<Framed-IPv6-Address>
103 IPv6 address to be assigned to the user by DHCPv6 (IPv6 address of the interface ppp).
105 =item B<Idle-Timeout>
107 disconnects the session if no data for more than B<Idle-Timeout> (in seconds).
109 =item B<Session-Timeout>
111 disconnects the user session when the time B<Session-Timeout> is reached (in seconds).
113 =item B<Tunnel-Type>, B<Tunnel-Medium-Type>, B<Tunnel-Server-Endpoint>, B<Tunnel-Password>, B<Tunnel-Assignment-Id>
115 attributes returned by the Radius of the remote LNS server (LAC functionality).
117 example, Radius that return the information of 2 remote LNS server with which must be open a L2TP TUNNEL:
121 =item B<Tunnel-Type>: 1 = L2TP
123 =item B<Tunnel-Medium-Type>: 1 = IPv4
125 =item B<Tunnel-Password>: 1 = "TheSecretL2TP"
127 =item B<Tunnel-Server-Endpoint>: 1 = "88.xx.xx.x1"
129 =item B<Tunnel-Assignment-Id>: 1 = "friendisp_lns1"
131 =item B<Tunnel-Type>: 2 = L2TP
133 =item B<Tunnel-Medium-Type>: 2 = IPv4
135 =item B<Tunnel-Password>: 2 = "TheSecretL2TP"
137 =item B<Tunnel-Server-Endpoint>: 2 = "88.xx.xx.x2"
139 =item B<Tunnel-Assignment-Id>: 2 = "friendisp_lns2"
147 B<startup-config>(5), B<nsctl>(8)
151 This manual page was written by Jonathan McDowell <noodles@earth.li> and Fernando Alves (fendo@sameswifi.fr), for the Debian GNU/Linux system (but may be used by others).