Setting the VPN client of a HUAWEI CPE
Setting the VPN client of a HUAWEI CPE |
A virtual private network (VPN) is an enterprise network established on the public network. The enterprise network has the same security, management, and functions as the private network. It can be considered as a virtual private line of an enterprise. For example, a computer connected to an external network can connect to the intranet of the enterprise through the VPN network, and the data will be encrypted.
Prerequisites
- Apply for an available VPN account. For details about the VPN account and related information, contact the VPN service provider.
- The CPE dials up successfully and can access the Internet.
Method 1: Configuring the L2TP VPN client
- Connect your computer or phone to the CPE's Wi-Fi (or connect your computer to the CPE's LAN port using a cable). Enter 192.168.8.1 in the address box of the browser, and enter the login password to access the management page of the CPE.
- Choose Advanced > Route > VPN.
- Enable the VPN function of the router. Set Connection type to L2TP VPN client.
- The parameter values in the following figure are for reference only. Set the parameters based on the actual VPN account.
- When L2TP is used for VPN dial-up, the entered parameters must be the VPN server parameters of the L2TP type. Otherwise, the dial-up will fail.
Option
Description
Mandatory or Optional
LNS address
IP address or domain name of the L2TP server
The LNS address can only be an IP address or a domain name, and the port number cannot be added.
Mandatory
Hostname
Host name of the L2TP server
If the server does not have a host name, enter any value. If the server requires host name verification, the entered host name must be correct. For details, see the VPN account that has been applied for.
Optional
Tunnel password
Tunnel password of the L2TP server
If the server does not have a tunnel password, enter any value. If the server requires tunnel password verification, the entered tunnel password must be correct. For details, see the VPN account that has been applied for.
Optional
PPP user name
Correct user name of the L2TP server
Mandatory
PPP password
Correct password of the L2TP server
Mandatory
- Click Save. If the Connection Status is Connected, it indicates that the VPN is successfully connected.
Method 2: Configuring the PPTP VPN client
- Connect your computer or phone to the CPE's Wi-Fi (or connect your computer to the CPE's LAN port using a cable). Enter 192.168.8.1 in the address box of the browser, and enter the login password to access the management page of the CPE.
- Go to Advanced > Router > VPN.
- Click Enable VPN to enable the VPN function of the router, and set Connection type to PPTP VPN client.
When PPTP is used for VPN dial-up, the entered parameters must be the VPN server parameters of the PPTP type. Otherwise, the dial-up will fail.
Option
Description
Mandatory or Optional
Dial-up server address
IP address or domain name of the PPTP server
Mandatory
Dial-up user name
Dial-up user name of the PPTP server
Mandatory
Dial-up password
Dial-up password of the PPTP server
Mandatory
Active domain name server
IP address of the primary DNS server of the PPTP server
Optional
Standby domain name server
IP address of the standby DNS server of the PPTP server
Optional
- Click Save. If the Connection Status is Connected, it indicates that the VPN is successfully connected.