Open In App

How to Configure Firewalls in Windows?

Last Updated : 28 Nov, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

A firewall is a network security device, either hardware or software-based, which monitors all incoming and outgoing traffic and based on a defined set of security rules it accepts, rejects or drops that specific traffic. Please refer to the article Introduction of Firewall in Computer Network for more details. We can configure 2 types of firewalls on Windows on the basis of firewall provider:

  1. Windows Defender (Default firewall).
  2. Third-party firewalls.

Configuring Firewall Defender on Windows:

  • Step 1: Launch Start from the taskbar.
Start Button

 

  • Step 2: Search “Settings”  in the search bar if you do not find the Settings icon in Start menu.
Settings Button

 

  • Step 3: In the left pane of Settings, click Privacy & security.
Privacy & security.

 

  • Step 4: Click Windows Security option in Privacy & security menu.
Windows Security

 

  • Step 5: Select Firewall & network protection.
Firewall & network protection.

 

  • Step 6: Now Window’s Security window will pop up window’s. Here you can verify whether your Defender firewall is active or not.
 Window's Security

 

  • Step 7: Now to configure the firewall according to your requirement, click Advanced settings. You will be prompted by User Account Control to give Administrative access to Windows Defender to make changes. Click Yes to proceed.
 Advanced settings.

 

  • Step 8: Windows Defender Firewall with Advanced Security window will launch after giving administrative permission.
Windows Defender Firewall

 

  • Step 9: The left pane has several options:
    • Inbound rules: Programs, processes, ports can be allowed or denied the incoming transmission of data within this inbound rules.
    • Outbound rules: Here we can specify whether data can be sent outwards by that program, process, or port.
  • Step 10: To add a new inbound rule, select Inbound Rules option, then click New Rule… from the right pane.
Inbound Rules

 

  • Step 11: Now we will configure an inbound rule for a network port. A New Inbound Rule Wizard window pops-up, select Port option and click next.
 New Inbound Rule Wizard

 

  • Step 12: Now select TCP and specify port number 65000.
TCP Connection

 

  • Step 13: Now we can select the action we need to take on this port. We will block the inbound connection by selecting Block the connection option then click Next.
Block the connection option

 

  • Step 14: Here we can specify when should this rule come into action. We will keep only Public option selected and move Next.
Public option

 

  • Step 15: This is the last step. Here we provide a name to this rule so that we can keep track of it later in the Inbound rules list. Write the name “65000 Port Block (Public)”. Click Finish.
65000 Port Block (Public)

 

  • Step 16: The inbound rule is successfully created. We can find “65000 Port Block (Public)” in the Inbound rules list.
65000 Port Block (Public)

 

  • Step 17: Right-click the rule we just created and there are multiple options with which it can be Disabled or Deleted.
Inbound Rules

 

Firewall can be configured on Windows in the above-mentioned way.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads