Disable Internet access on LAN

Associate
Joined
14 Jan 2010
Posts
662
Basically I have one computer that is connected to my router and I don't want it to access the internet but at the same time I want to be able to remotely connect to this machine from another pc on the LAN. How should I do this without disabling the NIC?

Thanks
 
Set a manual IP address (so its not picking up DHCP options) and don't include the default gateway.

You can leave DNS empty aswell, unless you have a specific need for it.

Without a D.G. you'll be able to fully access the machine without fear of it being on the interweb.
 
Set a manual IP address (so its not picking up DHCP options) and don't include the default gateway.

You can leave DNS empty aswell, unless you have a specific need for it.

Without a D.G. you'll be able to fully access the machine without fear of it being on the interweb.

Thank you. Will try that :)
 
Set a manual IP address (so its not picking up DHCP options) and don't include the default gateway.

You can leave DNS empty aswell, unless you have a specific need for it.

Without a D.G. you'll be able to fully access the machine without fear of it being on the interweb.

How do you think the pc will be able to route out if it has no DG? Best way is to leave DNS settings blank.
 
How do you think the pc will be able to route out if it has no DG? Best way is to leave DNS settings blank.

That's the exact idea though isn't it? Without the default gateway it won't be able to route outside of its local subnet which is exactly what he wants to do. It'll still be able to reach its locally connected subnet as it'll have a connected route for it by default anyway.

Edit: Oh apologies, I think I get what you mean - you mean it wouldn't be able to route out to the DNS server anyway so no sense entering a DNS server without a default gateway. Well that's true unless he's running a local DNS server for local hostname resolution but that's probably unlikely :)
 
Last edited:
No I'm going to eat humble pie as I meant without a DG you won't be able to see the LAN which is incorrect as the gateway is on-link as per netstat -r
 
Last edited:
Back
Top Bottom