Skip to main content
Version: current

server


interface/l2tp-server/server

Type: Settings Directory

ArgumentTypeDescription
enabledboolEnables or disables the L2TP server.
max-mtunumMaximum Transmission Unit. Maximum packet size that the L2TP interface can send without packet fragmentation.
max-mrunumMaximum Receive Unit. Maximum packet size that the L2TP interface can receive without packet fragmentation.
mrrunumMaximum packet size that can be received on the link. If a packet is bigger than tunnel MTU, it is split into multiple packets, allowing full-size IP or Ethernet packets to be sent over the tunnel.
authenticationubit (pap, chap, mschap1, mschap2)Allowed authentication methods.
keepalive-timeoutenum (disabled) { disabled:0 }Keepalive timeout in seconds.
max-sessionsnumMaximum number of concurrent L2TP sessions.
default-profileenumSpecifies which PPP profile configuration is used when establishing the tunnel.
use-ipsecenum (no | yes | required) { no:0, yes:1, required:2 }Whether to use IPsec encryption. required forces all clients to use IPsec.
ipsec-secretstringIPsec pre-shared key.
caller-id-typeenum (ip-address | number) { ip-address:0, number:1 }Caller ID type reported to the client.
one-session-per-hostboolWhether to allow only one session per host.
allow-fast-pathboolWhether to allow FastPath processing.
l2tpv3-circuit-idstringL2TPv3 circuit identifier.
enum (0 | 4-bytes | 8-bytes) { 0:0, 4-bytes:4, 8-bytes:8 }L2TPv3 cookie length.
l2tpv3-digest-hashenum (none | md5 | sha1) { none:99, md5:0, sha1:1 }L2TPv3 digest hash algorithm.
l2tpv3-ether-interface-listenumInterface list for L2TPv3 Ethernet pseudowire endpoints.
accept-pseudowire-typeenum (all | ether | ppp) { all:0, ether:5, ppp:7 }Accepted pseudowire types.
accept-proto-versionenum (all | l2tpv2 | l2tpv3) { all:0, l2tpv2:2, l2tpv3:3 }Accepted L2TP protocol versions.