network gurus needed.

Soldato
Joined
13 May 2007
Posts
7,004
Location
On the wagon, sorta
Untitled-27.png


how do i go about setting up my network in such a way as to restric the internet access between computer 3 and the router while still maintaning network traffic for file sharing, remote desktop and streaming?
windows 7 is the OS in question.

and yes i know its a good job i use my mad paint skillz for good and not evil :D
 
Last edited:
So you have 2 internet connections and want PCs 1 and 2 to use the router connected to the modem for its internet source, and PC3 to use the modem its directly connected to?

Set the NIC connected to the modem to use DHCP and it will use the settings provided by your ISP, including the default gateway which it will use for internet traffic, then on the other NIC connected to the router, just set it to an IP within the same subnet as the rest of your LAN but set the default gateway as the same as the NIC connected to the modem. That way it will be on the same LAN, but where as PC 1 and 2 will use the router as the default gateway, PC3 will use its own connection.
 
Dist idea would work, thats how I would do it provided the user of PC3 is happy with the arrangment and not try and change the settings.
 
So you have 2 internet connections and want PCs 1 and 2 to use the router connected to the modem for its internet source, and PC3 to use the modem its directly connected to?

Set the NIC connected to the modem to use DHCP and it will use the settings provided by your ISP, including the default gateway which it will use for internet traffic, then on the other NIC connected to the router, just set it to an IP within the same subnet as the rest of your LAN but set the default gateway as the same as the NIC connected to the modem. That way it will be on the same LAN, but where as PC 1 and 2 will use the router as the default gateway, PC3 will use its own connection.

Great work thanks, never thought about the default gateway, i had allready assigned a static ip to the nic connectng to the router on comp3 so instead of assigning it a differant default gateway i just did away with it all together, seems to have blocked internet traffic on that connection but not network trafic.

thanks for the help, much appreaciated!
 
Happy to help :)

One thing I would like to point out though is that PC3 will be directly visible to the internet, it wont be protected behind a router so you may want to be cautious and make sure its secure, like all the ports are closed except the specific ones you need open.
 
Just stick a static route on computer 3 to point all off-lan traffic through that connection. It will still be able to access files on the same LAN as the local interface

route add 0.0.0.0 mask 0.0.0.0 <IP of modem 3 interface>

Will need some tinkering to get the desired effect but it works. We use a similar setup on a server at one of our customers sites

- Pea0n
 
Back
Top Bottom