Share via


Using windows 10 as a router

Question

Saturday, September 1, 2018 7:20 PM

I have a windows 10 PC which is connected to my work vpn via tap adapter.

I have enabled Routing and Remote access on this. This has two IPs from Home router which is 192.168.10.* and one from work vpn which is 192.168.21.*

I am able to access work network from this PC which is 192.168.20.x

I added this PC(192.168.10.*) as a gateway on my other PCs at home.

I want other PCs in the home network to be able to access the systems at work.

But i am not able to ping the work network from my other home PC(192.168.10.*).

I also tried adding a static route 

route add 192.168.20.* MASK 255.255.255.0 192.168.10.* Metric 500

on my PC(192.168.10.*) but still I am not able to ping work network.

All replies (4)

Saturday, September 1, 2018 9:22 PM

You need to open the tab Sharing and then set the option Allow other users [...] on the properties of your tap adapter. On each of your other PCs set the gateway address manually to the IP address on the home network of the VPN PC.


Sunday, September 2, 2018 3:09 AM

  You normally cannot route anything through a VPN connection. VPN is a point-to-point connection, not a routed one.

  IN any case, routing is a two-way process. Setting a route to move traffic from one subnet to another is pointless if there is no route at the other end to get the return traffic back!

Bill


Monday, September 3, 2018 2:05 AM

Hi,

Only with the Windows built-in feature it cannot be achieved.

Here is reference for you, please read it:

How to share a VPN connection from your Windows PC with manual configuration

https://www.expressvpn.com/support/vpn-setup/share-vpn-connection-windows/

Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, September 11, 2018 8:34 AM

Hi, 
Was your issue resolved? 

If yes, please mark the helpful reply as answer in order that other community members could find the helpful reply quickly.

If no, please reply and tell us the current situation in order to provide further help.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].