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.
  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

How to Setup Remote Desktop Service License in Windows Server in 2012 and 2016 OS?

You can connect the Windows server using RDP with 2 users at the same time. We required Remote...

Can I Monitor and Login To User's Account As SmarterMail Administrator?

Yes, you can monitor and login to user's mailboxes as SmarterMail administrator using Impersonate...

Error: Specified FTP account already exists on the target service

Sometimes, it happens that if you try to create an FTP account from WebsitePanel, it shows an...

Remote Desktop port change for Windows VPS

Dear Valued Customers, By default, Microsoft Windows OS comes with Remote desktop services on...

How to setup Failure Settings for an Application Pool in IIS?

Rapid fail protection is an IIS feature that works with the health of worker processes of a...