
Chapter 18 L2TP VPN
ZyWALL (ZLD) CLI Reference Guide
156
•For the Remote Policy, create an address object that uses host type and an IP address of
0.0.0.0. It is named L2TP_HOST in this example.
18.5.3 Configuring the L2TP VPN Settings Example
The following commands configure and display the L2TP VPN settings.
• Set it to use the Default_L2TP_VPN_Connection VPN connection.
• Configure an IP address pool for the range of 192.168.10.10 to 192.168.10.20. In this
example it is already created and called L2TP_POOL.
• This example uses the default authentication method (the ZyWALL’s local user data base).
• Select a user or group of users that can use the tunnel. Here a user account named L2TP-
test has been created.
• The other settings are left to the defaults in this example.
• Enable the connection.
18.5.4 Configuring the Policy Route for L2TP Example
The following commands configure and display the policy route for the L2TP VPN
connection entry.
• Set the policy route’s Source Address to the address object that you want to allow the
remote users to access (LAN_SUBNET in this example).
• Set the Destination Address to the IP address pool that the ZyWALL assigns to the
remote users (L2TP_POOL in this example).
• Set the next hop to be the Default_L2TP_VPN_Connection tunnel.
Router(config)# crypto map Default_L2TP_VPN_Connection
Router(config-crypto Default_L2TP_VPN_Connection)# policy-enforcement
Router(config-crypto Default_L2TP_VPN_Connection)# local-policy L2TP_IFACE
Router(config-crypto Default_L2TP_VPN_Connection)# remote-policy L2TP_HOST
Router(config-crypto Default_L2TP_VPN_Connection)# activate
Router(config-crypto Default_L2TP_VPN_Connection)# exit
Router(config)#
Router(config)# l2tp-over-ipsec crypto Default_L2TP_VPN_Connection
Router(config)# l2tp-over-ipsec pool L2TP_POOL
Router(config)# l2tp-over-ipsec authentication default
Router(config)# l2tp-over-ipsec user L2TP-test
Router(config)# l2tp-over-ipsec activate
Router(config)# show l2tp-over-ipsec
L2TP over IPSec:
activate : yes
crypto : Default_L2TP_VPN_Connection
address pool : L2TP_POOL
authentication : default
user : L2TP-test
keepalive timer : 60
first dns server : aux 1st-dns
second dns server : aux 1st-dns
first wins server :
second wins server:
Komentarze do niniejszej Instrukcji