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 schedule reboot of windows server 2012?

This article has detailed steps to schedule a restart of your Windows VPS server 2008/2012. This...

How to install SmarterStats in Windows VPS?

SmarterStats is a complete Web log analytics tool that provides relevant, accurate, and detailed...

How to reboot my Windows VPS from VPS Management Portal?

You can reboot your VPS from your VPS Management Portal (https://cp1.accu15.com) by following...

How to renew SSL certificate in Windows VPS?

This article will guide you on how to reinstall renewed SSL certificate in your Windows VPS...

How to change time zone in Window Server 2008?

Following is the article to change the timezone on Window Server 2008 Login to your server and...