Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
log in
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
How can I restrict windows 7 to only use the local subnet, but block the internet
I want to block all internet connections to and from my windows 7 machine, but allow it to access everything on the local network. The
local network is behind an Apple Airport Extreme.
What is the easiest way to do this?
windows-7
windows
networking
firewall
home-networking
haimg
13.6k
Tom de koning
10
52
90
36
Do you want to do this on a permanent basis, or based on some condition? haimg Oct 12 '11 at 16:07
I'd like a way to do this by script, but it does not have to respond to anything from the outside.
Tom de koning Oct 12 '11 at 17:32
I amended my answer and added control by script. haimg Oct 12 '11 at 18:22
3 Answers
Block
5. Click OK to apply.
Outbound Rules
and select
Custom
New Rule...
3. Go to the Scope step and for the remote IP address, select these IP addresses , then
Add.. , then Predefined set of computers and finally Local Subnet .
4. Go to
Name
tour
help
Sign up
haimg
13.6k
10
52
90
If you disable DHCP then set an IP address and subnet mask but leave default gateway blank,
then your computer will be unable to access outside the local network.
If someone is an administrator over the local machine, they would be able to reverse this if
they were trying, but if that isn't a concern then this should work.
answered Oct 12 '11 at 14:16
Stephen Jennings
17.6k
41
86
+1: Make sure that the IP address you pick isn't part of the DHCP scope. afrazier Oct 12 '11 at 14:19
This is brilliant! LAN works and no internet at all. I put my router IP DNS in so that I can still use LAN DNS
names for devices. SO simple! Thanks +1 ppumkin Oct 15 '15 at 16:57
community wiki
naisanza