Setup guide

Example of an established connection
[admin@Wandy] interface l2tp-client> monitor test2
status: "connected"
uptime: 4m27s
encoding: "MPPE128 stateless"
[admin@Wandy] interface l2tp-client>
L2TP Server Setup
interface l2tp-server server
Description
The L2TP server supports unlimited connections from clients. For each current connection, a
dynamic interface is created
Property Description
enabled (yes | no; default: no) - defines whether L2TP server is enabled or not
mtu (integer; default: 1460) - Maximum Transmission Unit. The optimal value is the MTU of the
interface the tunnel is working over decreased by 40 (so, for 1500-byte Ethernet link, set the MTU
to 1460 to avoid fragmentation of packets)
mru (integer; default: 1460) - Maximum Receive Unit. The optimal value is the MRU of the
interface the tunnel is working over decreased by 40 (so, for 1500-byte Ethernet link, set the MRU
to 1460 to avoid fragmentation of packets)
authentication (multiple choice: pap | chap | mschap1 | mschap2; default: mschap2) -
authentication algorithm
default-profile - default profile to use
Example
To enable L2TP server:
[admin@Wandy] interface l2tp-server server> set enabled=yes
[admin@Wandy] interface l2tp-server server> print
enabled: yes
mtu: 1460
mru: 1460
authentication: mschap2
default-profile: default
[admin@Wandy] interface l2tp-server server>
L2TP Server Users
interface l2tp-server
Description
There are two types of items in L2TP server configuration - static users and dynamic connections.
A dynamic connection can be established if the user database or the default-profile has its
local-address and remote-address set correctly. When static users are added, the default profile
may be left with its default values and only P2P user (in /ppp secret) should be configured. Note