The problem that local Internet access cannot be achieved after a VPN connection is established

Source: Internet
Author: User

I am new to a company in charge of network maintenance, the company's server is in the DMZ area, so if you want to perform remote management, you can only connect to the VPN.

However, it is strange that the local computer cannot access the Internet after the VPN is connected. If you find a method on the Internet to disable the default gateway on the remote network, you can access the Internet locally, but cannot connect to the DMZ zone.

Later, I found a method after multiple searches.

1. Connect to the VPN

650) this. width = 650; "title =" TM20130930145753 "style =" border-left-0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; border-top-width: 0px "border =" 0 "alt =" TM20130930145753 "src =" http://www.bkjia.com/uploads/allimg/131227/225513A01-0.png "width =" 244 "height =" 143 "/>

2. Open VPN properties --- network --- ipv4 --- advanced

650) this. width = 650; "title =" TM20130930150326 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" TM20130930150326 "src =" http://www.bkjia.com/uploads/allimg/131227/2255132U2-1.png "386" height = "421"/>

Remove the default gateway from the remote network and click OK.

3. Open cmd to add route entries

650) this. width = 650; "title =" TM20130930150912 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" TM20130930150912 "src =" http://www.bkjia.com/uploads/allimg/131227/2255132035-2.png "493" height = "53"/>

If you are sure that the VPN will be used after the computer is restarted, add-p after route add. this parameter is a permanent route. Otherwise, remove-p.

4. check whether this route entry exists in the route table.

650) this. width = 650; "title =" TM20130930151254 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px "border =" 0 "alt =" TM20130930151254 "src =" http://www.bkjia.com/uploads/allimg/131227/2255132917-3.png "495" height = "68"/>

 

 

In this case, local Internet access and VPN network operations can be performed simultaneously.

Related Article

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.