Interesting

How to block the program from accessing the Internet (blocking incoming / outgoing traffic)

A question from one of the users ...

Hello.

Please tell me. I installed one game, and it constantly needs updating. Is it possible to deny her access to the Internet so that she does not "self-willed"? My OS is Windows 10, the Internet is connected via a Wi-Fi router.

I tried to install the NOD antivirus to block the Internet in it: but when I did it, the computer began to slow down terribly, and access to the Internet was blocked for all programs at once. Is it possible to prohibit access to the Internet for only one specific program?

Good day!

Indeed, in many cases it may be necessary to block access to an application to the Internet.

For example, in addition to the question asked about the game, it may be necessary to restrict access to those who have strictly limited Internet traffic - it is not a matter of spending it on unnecessary game updates. 👌

In this article, I will consider a couple of simple and quick ways to prohibit a program from accessing the Internet (this is done very simply, so the user can handle any preparation!).

So...

*

Ways to block the program from accessing the Internet

Option 1: with the help of special. utilities

For this we need the NetLimiter utility (link to the official site).

This program in a convenient form provides the entire list of applications that contact the Internet (it also shows information on traffic: who is downloading something and at what speed, see the screenshot below). And, of course, it allows you to block any of the software!

Blocking incoming and outgoing packets

Blocking is very simple: note that opposite each application in the column "Rule status" there are several icons with "check marks" Are options for limiting inbound and outbound traffic.

So, by clicking on these "checkmarks" one by one and setting the status to the mode "Refuse" - the specified program loses all connection to the Internet (NetLimiter will simply block all traffic).

Deny

Firefox is blocked

I took Firefox as an example for you - as you can see in the screenshot below, the application cannot connect to the Internet (while other browsers calmly open web pages ...).

Connection attempt failed / Firefox

Problem solved ?! ☝

By the way, if there is a need to remove the ban on access to the Internet - in the NetLimiter window, simply delete the set blocking modes (see the screenshot below).

Remove lock

👉 By the way!

NetLimiter allows you not only to completely block access, but also limit speed (which in some cases is much more necessary). How to configure this limitation - see one of my previous notes

*

Option 2: using the built-in firewall

This method is a little more complicated because the classic firewall menu is not that convenient. But, in general, you can figure it out ... 👌

First you need to open the settings of this very firewall. The easiest and fastest way to do this is to bring up the menu "Run" (buttons WIN + R) and enter the command firewall.cpl , press Enter (example in the screenshot below 👇).

👉 Note! A complete list of applications and settings that you can make via WIN + R is given here

How to open a firewall

When the firewall settings are open - there is one important point here! Many users have their firewall disabled because they have antivirus software installed (or have been installed) (note: many antiviruses now have built-in firewalls).

So, the bottom line is that the antivirus during installation disables the built-in Windows firewall .

If you have a firewall switched off - it must be enabled (or use the firewall that is built into your anti-virus software).

I will consider, of course, the most standard option when you have a firewall turned on (i.e. green checkmarks are lit on it as in the screenshot below - see private networks, guest or public networks).

👉 In the firewall settings, you need to open the link "Extra options" (located on the left, at the bottom of the window).

Advanced firewall options

Then on the left click on the link Outbound rules , and then on the right click on the link "create a rule" (see arrow 1 and 2 in the screenshot below).

Outbound traffic rules

Then, in the window that appears, put the slider in the position "For the program" , and click next.

Rule for the program

Below I have a large screenshot with a sequence of actions - all actions are configuration steps that you will have as you click on the button Further:

  • first you need to select a specific program for which you want to deny access to the Internet (can be found through the button overview ). See arrow-1. I chose Firefox for the test;
  • then set the slider to the position "Block connection" ;
  • then put a checkmark in front of all the items: domain, private, public;
  • and the last thing: ask name and description (you can write whatever you want, as long as it is clear to you yourself).

Program block

Actually, after that you will see your blocking rule (arrow-1 in the screenshot below). It can be disabled / enabled, deleted, changed, etc.

Firefox blocking rule created

In general, after starting the browser and trying to enter some page, an error was expected, as expected. "Connection attempt failed" ... If the created rule is disabled, the browser will work normally. 👌

The connection attempt failed ...

That, in fact, is all!

This is how, in a few steps, you can disable and block network access to any application in Windows. The firewall in Windows, of course, is far from the best - but it is provided with the entire set of minimal functions! For those who don't have enough features, I recommend giving Outpost Firewall a try ...

*

That's all for the sim for now. For additions in the comments - Merci in advance!

Happy work!

👋

First publication: 20.12.2016

Correction: 01/05/2020

$config[zx-auto] not found$config[zx-overlay] not found