Firewall is an integral part of any system and can be used to protect a server against unauthenticated access from the outside world. It helps to prevent hackers from logging into servers on the network. Firewall can also be used to set up specific rules in-order to restrict access to specific ports of the system based on IP address.
The basic functionality of a firewall is to control the incoming and outgoing traffic and choose whether to block a particular connection or let it through based on the defined set of security rules.
We can use the below steps for managing Windows 2022 firewall settings.
Log in to the Windows server and open Firewall using the command firewall.cpl in the run dialog box (*Windows key+R will open Run dialog box).
Under firewall settings, there are two sections called Private networks and Guest or public networks with green shields to the left of them, which says that the firewall is active. If they are on red shields, then the firewall is disabled.
Click on either of these sections, it will prompt a drop-down menu with details about the current public or private networks.
Now select the Advanced settings option from the left-hand side of the page.
Inbound Rules : Which incoming connections are automatically allowed.
Outbound Rules : Which outgoing connections are automatically allowed.
Connection Security Rules : Baselines for which connections your computer will allow and which ones it will block.
Monitoring : This is an overview of your firewall's basic monitoring guidelines.
Steps to open/limit a port in Windows 2022
Navigate to the Firewall advanced settings page. Now select the Inbound Rules option from the left list options.
Now right click on the Inbound Rules and select New Rule option.
Upon selection of the new rule, the box appears and select the Port.
Click Next and choose the appropriate rule whether it is TCP or UDP and enter your required custom port.
Now, the action to be performed in the given firewall rule is defined. Choose whether Allow the connection or Block the connection.
To configure the firewall rule i.e specify the profile in which the rule is to be applied, whether it is public, or private, or a particular Domain.
Finally the rule is to be named and saved so as to identify with ease. Click Finish.
Steps to open/limit a Network in Windows 2022
Come to Advanced Settings of the Windows firewall and select the Inbound Rules from the left pane.
Now, right-click the rule you wish to configure and then, choose the Properties.
Here you would require to select the rule wisely as below:
Allow Particular Network : Create a Firewall rule to Allow a port and use that rule’s properties to edit scope.
Block Particular Network : Create a Firewall rule to Block a port and use that rule’s properties to edit scope.
Click the Scope Tab and you may be able to add an IP address or a range of IP addresses by clicking Add button.
You may please select any of the following 2 options and then click OK.
This IP Address or Subnet: Type an IP address (such as 192.168.0.12) or a subnet using Classless Inter Domain Routing (CIDR) notation (such as 192.168.0.0/24) that should be allowed for the firewall rule.
This IP Address Range: Using the From and To boxes, type the first and last IP address that should be allowed to use the firewall rule and then click OK.
We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.