Configuring L2TP for a Huawei ar1200 router ***

Source: Internet
Author: User
Recently, a Huawei ar1200 router was configured. When used for export, the customer requested that XXX be configured so that employees on a business trip can access the internal file server through XXX!
I am confused for a long time. I hope some experts can solve the problem that the x×× client cannot access the internal network!

In the Huawei simulator, the topology is simplified as follows:

In the topology, the cloud is connected to my local machine, simulating the Internet. The local address is 192.168.145.1.

Ar1200 Configuration:

<Huawei> system-View
[Huawei] sysname lNS
[LNS] interface gigabitethernet 0/0/0
[LNS-GigabitEthernet1/0/0] IP address 192.168.145.10 24
[LNS-GigabitEthernet0/0/0] inter G0/0/1
[LNS-GigabitEthernet0/0/1] IP add 192.168.1.254 24
[LNS] IP route-static 0.0.0.0 0.0.0.0 192.168.145.1

[LNS] aaa
[LNS-aaa] local-user Tang password cipher laotang # *** account Tang password laotang
[LNS-aaa] local-user Tang service-type PPP
[LNS-aaa] IP pool lNS
[LNS-IP-pool-lNS] network 192.168.10.0 mask 24
[LNS-IP-pool-lNS] gateway-list 192.168.10.1

[LNS] interface virtual-TEMPLATE 1
[LNS-Virtual-Template1] IP address 192.168.10.1 24
[LNS-Virtual-Template1] PPP authentication-mode chap
The [LNS-Virtual-Template1] remote address pool lNS

[LNS] L2TP enable
[LNS] l2tp-group 1

The tunnel authentication function is forbidden. Tunnel authentication is not supported in Windows 7.

[LNS-l2tp1] Undo tunnel Authentication

Configure the LNS binding Virtual Interface Template.

[LNS-l2tp1] Allow L2TP virtual-TEMPLATE 1

PC simulated file server in topology: Set the address to 192.168.1.100 24

Windows 7 connection on the local machine *** Test
Control Panel \ network and Internet \ Network and sharing center> Add new network connection> connect to work zone>

Enter the account password we created earlier

Skip this step because some parameters need to be changed. Otherwise, an error will be prompted.

Right-click the attribute and change it to, for example;

The connection is successfully selected:

You can ping the firewall to exit, that is, the firewall cannot be pinged, and the internal network. I have also tried to add a static route on the local machine, but it still does not work. Do you have any tips.

Configuring L2TP for a Huawei ar1200 router ***

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.