Windows Firewall Blocked all IP Accidentally, Please Help

Mohit Anand 1 Reputation point
2022-07-18T19:01:25.28+00:00

Hi,

We have a Godaddy Server running Windows 2012. It is accessible through Remote Desktop.

We are getting a lot of brute force attacks on the MSSQL server. Going through the forums, we found that we can create inbound rule on the firewall to block the IP's.

When blocking the IP's, accidentally "Any IP Address" option was clicked.

This blocked all the access to the remote desktop, and all our websites on the server became unavailable.

We contacted Godaddy, and they disabled the windows firewall service to restore the access.

But this does not solve our problem as the IP attacks still continue.

How do we solve this?

How do I delete the rule so that we can restart the firewall?

Please help.221937-firewall.jpg

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-18T19:22:19.49+00:00

    Open the firewall snap-in, Inbound rules, navigate to the bogus rule, right-click and Delete it.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    221987-image.png


  2. Tom Phillips 17,771 Reputation points
    2022-07-18T19:57:04.497+00:00

    If you don't have access to the server, there is no way for you to fix it. You will need to call GoDaddy tech support to resolve your issue.


  3. Anonymous
    2022-07-19T17:08:25.44+00:00

    The firewall service is disabled. That is what Godaddy did to restore the access to remote server. If I enable the service, the Block All IP rule kicks in and blocks me out of the server.

    You may need someone with console access to help. Another possibility is to setup a repeat scheduled task (five minute intervals) to execute this PowerShell

    Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False  
    

    then you could start the service and wait the five minutes or so.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.