Configure the vpn user, Configure the lns – H3C Technologies H3C MSR 50 User Manual
Page 406
21
Figure 382 Network diagram
Configure the VPN user
Assign an IP address (2.1.1.1 in this example) to the user host, configure a route to ensure the reachability
of the LNS (1.1.2.2), and create a virtual private network connection using the Windows operating system,
or install L2TP client software such as WinVPN Client and connect to the Internet in dial-up mode. Then,
perform the following configurations (the configuration order varies with the client software):
•
Specify the VPN username as vpdnuser and the password as Hello.
•
Set the Internet interface address of the security gateway as the IP address of the LNS. In this
example, the Ethernet interface on the LNS, the interface for the tunnel, has an IP address of 1.1.2.2.
•
Modify the connection attributes, setting the protocol to L2TP, the encryption attribute to customized
and the authentication mode to CHAP.
Configure the LNS
Before you perform the following configurations, configure IP addresses for interfaces and make sure the
LNS and the user host can reach each other.
1.
Create a local user:
a.
Select System Management > Users from the navigation tree.
b.
Click the Create User tab.
The local user configuration page appears, as shown in
.
c.
Enter vpdnuser as the username.
d.
Select access level Configure.
e.
Enter password Hello.
f.
Enter Hello to confirm the password.
g.
Select PPP as the service type.
h.
Click Apply.