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

    • Click Next Button.

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

    2. Click on the Finish Button.
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Remotely Connect Windows VPS using an Android Device

This article explains the procedure to get the remote access to your Windows VPS over Android...

How to disable RC4 ciphers from the Windows Server 2008?

Microsoft suggests using the TLS 1.2 Security Encryption to their clients since it has the...

How to force HTTPS from web.config file?

The Microsoft URL Rewrite Module 2.0 for IIS 7 and above enables IIS administrators to create...

How to block single IP address or range of IP addresses from Windows Firewall 2008?

Following article will assist you to block single IP address or a range of IP addresses in...

How to Transfer and Restore Files From Local Computer to Windows VPS?

This article will assist you to transfer and restore your websites, MS SQL, MySQL databases from...