Windows – How to use a Windows PC to share multiple network connections

connection-sharingnetworkingroutingvpnwindows

I have a Windows PC (Win 7). It has a couple different network connections, including one that connects to a VPN, and one that connects to the Internet. I want to share both of those connections with other Windows PCs.

In other words, on Computer A, I can use the internet (through Connection #1) and my VPN (through Connection #2). How can I do the same thing (access the internet & VPN) on other computers (by somehow going through Computer A)?

You'd think this wouldn't be hard to do.

I've heard of ICS (Internet Connection Sharing), but that only seems to be able to share 1 network connection.

Best Answer

Share multiple network connections by bridging them

If you do not care about traffic from Network 2 reaching Network 3 and vice versa (shown below) you can try this solution.

Network diagram

Select the three network interfaces you want to connect, click with your right mouse button and select Bridge Connections.

Bridge

You should see another adapter appear named Network Bridge. Right click this device and select Properties to configure it.

Network Bridge

Select Internet Protocol Version 4 (or six depending on your preference). Double click that or select Properties.

IPv4

Switch to tab Alternate Configuration and enter your data depending on your setup. The most important is that you enter the correct Default Gateway, because that is the "door" your network traffic needs to reach the internet. The IP address you need to enter there is most likely the same IP your router has. If you're unsure about your DNS Servers it (again) is most likely your routers IP address. You should not have to enter a IP address for yourself (or Subnet mask) but you can.

If you don't know your routers IP address or gateway etc. you can find that out by opening a command prompt (cmd) and entering ipconfig /all.

Configure Network Bridge

Click OK and test your setup.

CMD window

Related Question