![Digi Connect EZ Mini Скачать руководство пользователя страница 227](http://html.mh-extra.comconnect-ez-mini_user-manual_2496436227.png)
Virtual Private Networks (VPN)
L2TP
Digi Connect EZ Mini User Guide
227
3. (Optional) Set the UDP listening port that L2TP servers will listen on:
(config)> vpn l2tp port
value
(config)>
where
value
is an integer between
1
and
65535
. The default is
1701
.
4. Set the access control for L2TP tunnels:
n
To limit access to specified IPv4 addresses and networks:
(config)> add vpn l2tp acl address end
value
(config)>
Where
value
can be:
l
A single IP address or host name.
l
A network designation in CIDR notation, for example, 192.168.1.0/24.
l
any
: No limit to IPv4 addresses that can access the service-type.
Repeat this step to list additional IP addresses or networks.
n
To limit access to specified IPv6 addresses and networks:
(config)> add vpn l2tp acl address6 end
value
(config)>
Where
value
can be:
l
A single IP address or host name.
l
A network designation in CIDR notation, for example, 2001:db8::/48.
l
any
: No limit to IPv6 addresses that can access the service-type.
Repeat this step to list additional IP addresses or networks.
n
To limit access to hosts connected through a specified interface on the Connect EZ
device:
(config)> add vpn l2tp acl interface end
value
(config)>
Where
value
is an interface defined on your device.
Display a list of available interfaces:
Use
... network interface ?
to display interface information:
Repeat this step to list additional interfaces.
n
To limit access based on firewall zones:
(config)> add vpn l2tp acl zone end
value
Where
value
is a firewall zone defined on your device, or the
any
keyword.
Display a list of available firewall zones: