I want to allow a program to access the web but not any computers on my local network.

I found an answer here:

How can I block a program from accessing the Internet?

But I think that assumes you want to block all access, not just local network.

Then, there's this:


But I need to be able to use localhost for other reasons.

Here's another two asking the reverse, but I don't see anything in those answers that can be reversed:

allowing local network access while blocking internet access

Disable internet access but leave LAN working

How can I restrict windows 7 to only use the local subnet, but block the internet

All I want to do is block a specific program from accessing local area network while still allowing internet access to it. Is this possible?

  • Possible duplicate just apply the rules in question to the programs installed on your machine to accomplish what you want. – Ramhound Feb 4 '15 at 16:38
  • Thanks, as I read through that, I don't see a clear answer to do the reverse that I'm asking. From what I can tell, the guides allow for network and not internet, but not internet and not network. Maybe not possible? Or maybe I'm not experienced enough in this area to tell. I'm hoping for a clear SuperUser answer on this. :) – Citizen Feb 4 '15 at 16:43
  • 1
    You can do it with a "custom" outbound rule in windows firewall, only allow the program to use port 80 – Moab Feb 8 '15 at 1:48
  • @Moab I never thought of that. If you can post some directions as an answer, I'll be happy to reward you with the correct answer. – Citizen Feb 9 '15 at 3:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.