Method used to add an L2TP user account on the USG2000 and USG5000

3

The method used to add an L2TP user account on the USG2000 and USG5000 is as follows:

In CLI mode:
1. Configure the domain name suffix separator.
[LNS] l2tp domain suffix-separator @
2. Set the user name and password (consistent with those configured on the LAC).
[LNS] aaa
[LNS-aaa] local-user vpdnuser@domain1.com password cipher Hello123
3. Configure the domain name accessed by the user.
[LNS-aaa] domain domain1.com

In web UI mode:
Configure the L2TP parameters.
Choose VPN > L2TP > L2TP.
In L2TP Group List, click New.
Set Group Type to LNS.
Click New.
If an L2TP group has been created, select the L2TP group and click Modify.
In User Group, click New.

Other related questions:
Method used to view an online L2TP user on the USG2000 and USG5000
The method used to view an online L2TP user on the USG2000 and USG5000 is as follows: You can run the display access-user command to view an online user. HRP_M[Slave-aaa] display access-user Total users : 1 Wait authen-ack : 0 Authentication success : 1 Accounting ready : 1 Accounting state : 0 Wait leaving-flow-query : 0 Wait accounting-start : 0 Wait accounting-stop : 0 Wait authorization-client : 0 Wait authorization-server : 0 Domain-name Online-user default : 1 The used CID table are : 0 To view specific user information, run the display access-user [ domain domain-name | ip-address ip-address | mac-address mac-address | user-id user-id | user-name user-name] command: HRP_M[Slave-aaa] display access-user user-id 0 User access index : 0 State : Used User name : jtq User access VLAN/PVC : 0 User MAC : ffff-ffff-ffff User IP address : 1.1.1.2 User access type : PPP User authentication type : PPP authentication Current authen method : Local authentication Authen result : Success Current author method : Local authorization Author result : Success Action flag : Idle Authen state : Authed Author state : Idle Accounting method : No accounting Accounting start time : 2008-03-15 06:09:39 Accounting state : Ready ACL-number : 255 Priority : - Up CAR enable : NO Up average rate : 0(bps) Up peak rate : 0(bps) Down CAR enable : NO Down average rate : 0(bps) Down peak rate : 0(bps) Up packets number(high,low) : (0,771) Up bytes number(high,low) : (0,42360) Down packets number(high,low) : (0,761) Down bytes number(high,low) : (0,42616)

Method used to bind an L2TP user and an IP address on the USG2000 and USG5000
The method used to bind an L2TP user and an IP address on the USG2000 and USG5000 is as follows: You can bind an L2TP user and an IP address on the USG firewall only when the USG firewall serves as an LNS on the network. [USG5500-aaa]local-user wutest ? access-limit Access limit acl-number Configure ACL number ftp-directory Set user FTP directory permitted idle-cut Configure idle cut l2tp-ip Configure binding ip of l2tp for user/Select this parameter to bind the L2TP user and the IP address. level Configure user privilege password Indicate the password service-type Service types for authorized users state Activate/block the user(s) valid-period Indicate user valid period vpn-instance Specify a VPN-Instance [USG5500-aaa]local-user wutest l2 [USG5500-aaa]local-user wutest l2tp-ip ? X.X.X.X The ip of l2tp/Configure the IP address to be bound. [USG5500-aaa]local-user wutest l2tp-ip 1.1.1.1

Method used to configure L2TP parameters on the USG2000 and USG5000
The method used to configure L2TP parameters on the USG2000 and USG5000 is as follows: 1. allow l2tp The allow l2tp command is used to specify the name of the peer tunnel that accepts the call and the used Virtual-Template. allow l2tp virtual-template virtual-template-number [ remote remote-name ] [ domain domain-name ] [ vpn-instance vpn-instance-name ] 2. call-lns local-user The call-lns local-user command is used to perform L2TP dialup on the LAC to access the LNS, so as to establish an L2TP tunnel. call-lns local-user username 3. l2tp domain suffix-separator The l2tp domain suffix-separator command is used to set the suffix separator. l2tp domain suffix-separator separator 4. l2tp match-order The l2tp match-order name is used to set the sequence of the called number and domain name used to search for the L2TP group. l2tp match-order { dnis | dnis-domain | domain | domain-dnis} 5. l2tp sendaccm enable The l2tp sendaccm enable command is used to enable the function of sending ACCM messages by the L2TP. By default, the function of sending ACCM messages by the L2TP is enabled. l2tp sendaccm enable 6. l2tp-group The l2tp-group command is used to create an L2TP group. l2tp-group group-number 7. l2tpmoreexam enable The l2tpmoreexam enable command is used to enable the LNS to accept L2TP connection requests initiated by different L2TP instances using the same tunnel name. l2tpmoreexam enable 8. l2tp up-down log enable The l2tp up-down log enable command is used to enable the function of sending logs upon L2TP user getting online or offline. l2tp up-down log enable 9. mandatory-chap The mandatory-chap command is used to forcibly perform the CHAP verification again between the LNS and the client. By default, the system does not re-verify the CHAP. mandatory-chap 10. mandatory-lcp The mandatory-lcp command is used to re-negotiate the Link Control Protocol (LCP) between the LNS and the client. By default, the system does not re-negotiate the LCP. mandatory-lcp 11. start l2tp The start l2tp command is used to specify the trigger conditions for originating calls when the local end serves as the L2TP LAC. start l2tp { lns-domain domain-name | ip ip-address &<1-5> } { domain domain-name |fullusername user-name } [ vpn-instance vpn-instance-name ] 12. tunnel authentication The tunnel authentication command is used to enable the L2TP tunnel verification. tunnel authentication 13. tunnel avp-hidden The tunnel avp-hidden command is used to configure the transmission mode in which the Attribute Value Pair (AVP) data is hidden. tunnel avp-hidden 14. tunnel name The tunnel name command is used to specify the local tunnel name. tunnel name tunnel-name 15. tunnel password The tunnel password command is used to specify the password used for tunnel verification. tunnel password cipher password 16. tunnel source The tunnel source command is used to configure the source tunnel interface used by the LAC to initiate a tunnel establishment request to the LNS. tunnel source loopback interface-number 17. tunnel timer hello The tunnel timer hello command is used to set the interval for sending Hello packets over the tunnel. tunnel timer hello interval 18. virtual-l2tpforward enable When the IP address used by the LNS to access the intranet and the IP address allocated by the LNS to the client are in the same network segment, you can use the virtual-l2tpforward enable and arp-proxy enable command together to enable the L2TP virtual forwarding function. virtual-l2tpforward enable

Method used to configure the L2TP over IPSec user address segment on the USG2000 and USG5000
The method used to configure the L2TP over IPSec user address segment on the USG2000 and USG5000 is as follows: Configure the L2TP over IPSec user address segment using the CLI: # Define an address pool and allocate an IP address to the dial-up user. [LNS] aaa [LNS-aaa] ip pool 1 10.1.1.1 10.1.1.100 # 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 # 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 Configure the L2TP over IPSec user address segment using the web UI: Configure the L2TP parameters. 1. Choose Network > L2TP > L2TP. 2. In Configure L2TP, select Enable and click Apply. 3. In L2TP Group List, click New. 4. Set Group Type to LNS. 5. Configure the L2TP parameters. The server address shall be in the same network segment as the address in the address pool. In this way, you do not need to configure a route. Peer Tunnel Name must be consistent with Local Tunnel Name configured on the LAC. Group Type: LNS Peer Tunnel Name: LAC Tunnel Password Authentication: Enable Password Type: Ciphertext Tunnel password: Hello123 Confirm Tunnel password: Hello123 User Group: default Set the user address allocation parameters as follows: Server Address/Subnet Mask: 10.2.1.1/255.255.255.0 User Address Pool: 10.2.1.2-10.2.1.100 6. Click OK.

Method used to configure the L2TP-based access to the L3 VPN on the USG2000 and USG5000
The method used to configure the L2TP-based access to the L3 VPN on the USG2000 and USG5000 is as follows: Most carriers adopt the MPLS VPN networking. However, the MPLS VPN cannot satisfy special requirements. For example: a. A user is served by a VPN and needs to access resources in another VPN. b. The carrier provides a shared LNS to enterprise users who use the MPLS VPN. Mobile users of the enterprise access the enterprise intranet over the LNS. The LNS is shared by multiple enterprise users. Therefore, the LNS needs to access different users to the corresponding VPNs. Procedure 1. Configure the LAC. a. Set the user name and password. b. Create two zones. c. Configure the domain name suffix separator. [LAC] l2tp domain suffix-separator @ d. Create the virtual interface template and bind it with the interface. e. Set two L2TP groups and configure the related attributes. 2. Configure the LNS. a. Create two VPN instances vpna and vpnb. b. Configure an interface connected to enterprise network A, and bind the interface with vpna. c. Configure an interface connected to enterprise network B, and bind the interface with vpnb. d. Create the authentication scheme. e. Configure the RADIUS template. f. Configure the domain name suffix separator. [LNS] l2tp domain suffix-separator @ g. Create two Virtual-Template templates bound with vpna and vpnb. h. Create two zones and bind the zones to the corresponding virtual templates and address pools. i. Create two L2TP groups.

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