How to configure the Windows Firewall to allow only specific IP Address to connect your ports?

Following steps will guide you to open the ports for a specific IP address.

  1. Login to the server using RDP.

  2. Click on Start >> Administrative tools >> Windows Firewall with Advanced Security.

  3. Go to Inbound Rule >> New Rule

  4. Click on Custom and the next page select All Programmes.

    Firewall-New-rule



          All-Programmes-firewall

  1. You are at Protocol & Ports wizard.

  • select the protocol type to the TCP.

  • select the Specific Port option for the Remote Port and enter the port number and click Next.

  • Here, we have used Non-standard RDP Port 5000.

          Protocols-and-Ports

  1. You will need to enter the Remote IP Address by which you want to connect your port.

  • Select These IP Address option for Remote IP Address.

  • Click on the Add Button and enter the IP Address and click Ok and Next.

          Remote-IP-Address

          Added-Remote-IP-Address

  1. Select Allow the connection option and click Next.

  2. On the Profile Page, select all three options. Domain, Private and Public.

           Allow-ports-Specific-IP-Addreses-Profile-options

  1. Click Next Button.

  2. In the Last step, We need to provide the Name of this Rule. (eg. Remote Desktop)

  3. Click on the Finish Button.
  • 3 Users Found This Useful

Was this answer helpful?

Related Articles

How to Enable Ping/ICMP Echo Request in Windows Server?

PING or ICMP Echo Request is the most common network troubleshooting tool to determine whether...

Recommended open ports in Windows Firewall of your VPS

Following is the list of recommended open ports in Firewall of your VPS: Make sure that the...

How to reset password of all Windows VPS Services?

In following, we advise our Windows VPS customers to reset all the passwords. Your Windows VPS...

How to download and install dotnet core 2.0 Runtime on the Windows?

Dotnet Core is now available with the Windows. Following are the steps to install runtime Dotnet...

Recommended system configurations for Windows Server 2019/2016/2012 OS

Here, are the system requirements for the Windows Server OS 2019/2016 and 2012. Windows...