Firewall, also known as firewall and firewall, is designed to control incoming and outgoing Internet traffic. The security of the network depends on how correctly the firewall is configured.
Instructions
Step 1
The Windows operating system has a built-in firewall, but its capabilities are very limited, so it is better to use a third-party program. One of the best programs of this type is Outpost Firewall.
Step 2
Before starting the configuration, open the main application window. Select Options> System, then find the Global Rules and Rawsocket Access section at the bottom of the tab and click the Rules button there.
Step 3
In the window that opens, click the "Add" button. In the field "Select an event for the rule" check the boxes "Where is the protocol", "Where is the direction" and "Where is the local port". Below, in the "Description of the rule" field, select "Undefined" in the "Where is the protocol" line with the mouse and select the TCP protocol in the window that opens.
Step 4
In the "Description of the rule" field, click "Not defined" in the "Where is the direction" line, select "Inbound (from a remote computer to your computer)" in the connection type. In the same field, click "Undefined" in the "Where is the local port" line and enter the port number that you want to close.
Step 5
In the field "Select actions for the rule" check the box "Block this data". Click "OK" - the selected port is closed for incoming connections. You can also close it for outgoing, by selecting in the settings described just above instead of the incoming connection outgoing - "Outgoing (from your computer to a remote computer)".
Step 6
If you use the regular Windows firewall, check the list of exclusions: "Start" - "Control Panel" - "Windows Firewall" - "Exceptions". Remove the birdie from the "Remote Assistance" if you are not using it. You can disable exceptions altogether by checking the checkbox on the "General" tab in the "Don't allow exceptions" line.
Step 7
The firewall in Windows 7 has more features than in Windows XP, it can be used to control both individual ports and specified ranges. Create a rule for outbound connections, when starting the New Rule Wizard, select "All Programs". Click "Next", in the window that opens, select "Block connections". Click Next again, select a profile and provide a name for the rule. Then, in the properties of the rule, specify the ports that the firewall should block. The rule for incoming connections is created in the same way.