l2tpns - Layer 2 tunneling protocol network server (LNS)
l2tpns [-d] [-v] [-c file] [-h hostname]
l2tpns is a daemon for terminating layer 2 tunneling protocol (L2TP: RFC2661) sessions.
l2tpns is a complete L2TP implementation. It supports the LAC, LNS, PPPOE and DHCPv6 server.
Once running, l2tpns may be controlled by telnetting to port 23 on the machine running the daemon and with the nsctl utility.
-d Detach from terminal and fork into the background. By default l2tpns will stay in the foreground
-v Increase verbosity for debugging. Can be used multiple times
-c file Specify configuration file
-h hostname Force hostname to hostname
The default configuration file
IP address pool configuration
Username/password configuration for access to admin interface
Reload the config from disk and re-open log file
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
Shut down tunnels and sessions, exit process when complete
MANAGED RADIUS ATTRIBUTE¶
Specifies a primary and secondary DNS server address to send to user
Assign a network address IPv6 prefix to a user by DHCPv6
The address to be configured for the user (IPv4 address of the interface ppp)
provides routing information to be configured for the user
Has the same action as Delegated-IPv6-Prefix. Delegated-IPv6-Prefix is the correct one to use
IPv6 address to be assigned to the user by DHCPv6 (IPv6 address of the interface ppp)
disconnects the session if no data for more than Idle-Timeout (in seconds)
disconnects the user session when the time Session-Timeout is reached (in seconds)
Tunnel-Type, Tunnel-Medium-Type, Tunnel-Server-Endpoint, Tunnel-Password, Tunnel-Assignment-Id
attributes returned by the Radius of the remote LNS server (LAC functionality)
example, Radius that return the information of 2 remote LNS server with which must be open a L2TP TUNNEL: - Tunnel-Type: 1 = L2TP - Tunnel-Medium-Type: 1 = IPv4 - Tunnel-Password: 1 = "TheSecretL2TP" - Tunnel-Server-Endpoint: 1 = "88.xx.xx.x1" - Tunnel-Assignment-Id: 1 = "friendisp_lns1" - Tunnel-Type: 2 = L2TP - Tunnel-Medium-Type: 2 = IPv4 - Tunnel-Password: 2 = "TheSecretL2TP" - Tunnel-Server-Endpoint: 2 = "88.xx.xx.x2" - Tunnel-Assignment-Id: 2 = "friendisp_lns2"
This manual page was written by Jonathan McDowell <email@example.com> and Fernando Alves (<firstname.lastname@example.org>), for the Debian GNU/Linux system (but may be used by others).
|January 31, 2021||Layer 2 tunneling protocol network server (LNS)|