Method used to limit the user dial-in on the L2TP VPN for the USG5120

11

After a VPN user accesses the system over L2TP, you can configure the security policy to enable the system to control the source IP address.

Other related questions:
Configuration of the Client-Initialized VPN on the USG2000 and USG5000
The method used to configure the Client-Initialized VPN on the USG2000 and USG5000 is as follows: The LAC client can directly initiates a tunnel establishment request to the LNS bypassing the LAC. The LNS allocates an address to the LAC client. The HQ network can connect to the Internet through the LNS. An employee on a business trip can directly initiate a tunnel establishment request to the LNS by means of L2TP dialup. The L2TP client software must be installed on the PC of the employee. Configure the Client-Initialized VPN using the CLI: 1. Configure the LNS. a. Create and configure the virtual interface template. [LNS] interface virtual-template 1 [LNS-Virtual-Template1] ip address 192.168.0.1 255.255.255.0 [LNS-Virtual-Template1] ppp authentication-mode chap [LNS-Virtual-Template1] quit b. Enable the L2TP. [LNS] l2tp enable c. Create and configure the L2TP group. [LNS] l2tp-group 1 d. Configure local tunnel name on the LNS end and the received peer tunnel name. [LNS-l2tp1] tunnel name LNS [LNS-l2tp1] allow l2tp virtual-template 1 [LNS-l2tp1] tunnel authentication [LNS-l2tp1] tunnel password cipher Password123 Note: If you use the L2TP client software provided by the Windows system to dial up, you must disable the L2TP tunnel verification function. e. Define an address pool and allocate an IP address to the dial-up user. [LNS] aaa [LNS-aaa] ip pool 1 192.168.0.2 192.168.0.100 f. Set the user name and password (consistent with those configured on the PC of the employee on a business trip). [LNS-aaa] local-user vpdnuser password cipher Hello123 [LNS-aaa] quit Note: Because the addresses in the IP address pool are not in the same network segment as the intranet addresses, you need to configure the route to network segment 192.168.0.0 on the HQ device, and set the next hop address to 192.168.1.1. g. Allocate an address in the IP address pool to the peer interface. [LNS] interface virtual-template 1 [LNS-Virtual-Template1] remote address pool 1 [LNS-Virtual-Template1] quit

Method used to configure the L2TP VPN on the USG6300
The L2TP is configured on the LAC side and the LNS side. The L2TP configuration on the LAC side is as follows: 1. Enable the L2TP. 2. Create the VT interface and access the VT interface view. interface virtual-template virtual-template-number 3. Configure the PPP authentication mode. ppp authentication-mode chap [ pap ] [ eap ], ppp authentication-mode pap [ eap ] or ppp authentication-mode eap 3. Bind the interface with the VT interface. interface interface-type interface-number pppoe-server bind virtual-template virtual-template-number 4. Add the VT interface to the security zone. The VT interface can be added to any security zone. When configuring the inter-zone relationship, to ensure that dial-up users can access the network normally, configure the packet filter for the security zone where the physical interface of the NGFW that receives and sends L2TP tunnel packets resides and the Local security zone. 5. Create the L2TP group, and access the L2TP group view. l2tp-group group-name 6. Specify the trigger conditions for originating calls when the local end serves as the L2TP LAC. Access based on domain names: start l2tp { lns-domain domain-name | ip ip-address &<1-5> } domain domain-name [ vpn-instance vpn-instance-name ]. Set the trigger condition to domain names. Access based on full names: start l2tp { lns-domain domain-name | ip ip-address &<1-5> } fullusername user-name [ vpn-instance vpn-instance-name ] The L2TP configuration on the LNS side is as follows: 1. Enable the L2TP. l2tp enable 2. Create the VT interface and access the VT interface view. interface virtual-template virtual-template-number 3. Configure the local IP address. ip address ip-address { mask | mask-length } [ sub ] 4. Configure the PPP authentication mode. ppp authentication-mode { chap | eap | pap } * 5. Configure the address allocated to the peer end or a service plan for allocating an address for the peer end. remote { address ip-address | service-scheme service-scheme } 6. Create the L2TP group, and access the L2TP group view. l2tp-group group-name 7. Configure the name for the peer end and the used virtual interface template. allow l2tp virtual-template virtual-template-number [ remote remote-name ] [ domain domain-name ] [ vpn-instance vpn-instance-name ] 8. Configure the name of the local end of the tunnel. tunnel name tunnel-name

Method used to configure the L2TP VPN on the USG6000
The L2TP application scenarios on the USG6000 are as follows: 1. NAS-Initiated VPN A user accesses the LAC by means of PPPoE dialup, and a tunnel is established between the LAC and the LNS. A user accesses the LAC by means of PPPoE dialup. The LAC sends a tunnel establishment request to the LNS through Internet. The LNS allocates an address to the user. The user is authenticated by the proxy on the LAC side or by both the LAC and the proxy on the LAC side. When all L2TP users are offline, the tunnel is automatically released to save resources. The tunnel is re-established when a user is accessed. This networking is applicable to the following scenario: A branch office user initiates a request to connect to the HQ network, and generally, the branch office user does not frequently access the HQ network. 2. LAC autodial A permanent L2TP session is established between the LAC and the LNS. A client can transmit data over the tunnel by means of an IP connection without PPP dialup. The user can configure the trigger condition for establishing a permanent L2TP session between the LAC and the LNS. The LAC establishes a permanent L2TP tunnel with the LNS using the locally-stored user name. The L2TP tunnel serves as a physical connection. In this way, the connection between the user and the LAC is based on the IP connection instead of the PPP connection. The LAC can forward IP packets of the user to the LNS. 3. Client-Initiated VPN A client that supports L2TP dialup can directly initiate a tunnel establishment request to the LNS bypassing the LAC. The user can directly initiate the connection. Therefore, the user can directly initiate a tunnel establishment request to the LNS bypassing the LAC. The LNS allocates an address to the user. Since the LNS needs to establish a tunnel for each remote user, the LNS configuration is relative complex compared with that in the NAS-Initiated VPN scenario. However, the user access is not subject to geographical restrictions. This scenario is applicable to the mobile office. For example, an employee on a business trip can access the HQ server using PCs or mobile phones.

Method used to configure the L2TP and IPSec VPN on the USG2000
The basic principle of the VPN is to encapsulate transmission packets using the tunneling technology and establish a special data transmission channel over the VPN backbone network, and therefore achieving security packet transmission. The tunneling technology can use a protocol to encapsulate a packet that adopts another protocol (generally the IP). The encapsulated packet can also be encapsulated by another protocol. For users, the tunnel is a logical extension of the network and provides the same functions as a physical link does. For details, see the L2TP and IPSec VPN configurations in the product documentation.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top