Why can only access the remote intranet after L2TP dialing?

Source: Internet
Author: User
Tags vpn router

As shown in the following figure, TL-ER6110/6120 as PPTP, L2TP server, the Internet user PPTP, L2TP dial successfully can only access the remote intranet "192.168.0.0/24", cannot access the Internet, is the VPN router functional defect?

Answer:No!

Cause: after successful dial-up of PPTP and L2TP, because the default route of the host is modified, data accessing the internet is forwarded through the VPN tunnel, that is to access the remote LAN and Internet data are sent to the TL-ER6110/6120, so that only access the remote intranet, but not access the Internet.

 

How can I access both the Internet and the remote intranet server through VPN? Take Windows XP as an example. The solution is as follows:

1. Disable PPTP and L2TP from modifying the local default route.

1) right-click the desktop network Neighbor & rarr; select "properties" & rarr; right-click the virtual private network column icon and select "properties ":

2) "network" option, "Internet Protocol (TCP/IP)" & rarr; attributes:

3) Select "advanced ":

4) "General" option, cancel "use the default gateway on the remote network ":

2. Add the static route from the host to the remote LAN:

1) view the tunnel addresses obtained by dialing PPTP and L2TP: after successful dialing, double-click the VPN connection icon and click "details ", "client IP address" is the IP address obtained by VPN dialing.

2) add a static route to the remote LAN: (the remote intranet CIDR block is 192.168.0.0/24 ")

Run the command prompt and enter the following command:

Route add 192.168.0.0 mask 255.255.255.010.1.1. 16

After the configuration is complete, the host can both access the Internet and access the remote Lan at the same time.

Notes: The local connection address and remote LAN address cannot be located in the same network segment. Otherwise, even if the VPN dial-up is successful, the remote intranet cannot be accessed.

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.