How to Block an IP Address? Here is a Solution

September 22, 2016 / FAQs


You might sometimes need to block a specific IP address from accessing your server for several reasons. Follow the simple instructions below which include creating an IPSec Security Policy specifying to block access to specific IP address –

  1. Hover your mouse to the Start Menu and click on Run.
  2. Type “secpol.msc” in the run window and click OK.
  3. The Local Security Settings window will open. Click on “IP Security Policies on Local Computer”.
  4. Go to the right window pane, right-click, and select “Create IP Security Policy”
  5. Click Next when the Wizard opens.
  6. The IPSec Security Policy window will open where you can name your new IPSec Security Policy. For example, it is named “Blocked IPs” here. After naming it, type a description and click Next.
  7. Leave the Activate the default response rule checked and then click Next.
  8. Again leave the Active Directory default (Kerberos V5 protocol) checked and click Next.
  9. A warning window will open but don’t worry simply click Yes.
  10. Keep the Edit Properties box checked and click on Finish.
  11. Uncheck the “Use Add Wizard” checkbox and then click on “Add”.
  12. Again click the Add button.
  13. Uncheck the “Use Add Wizard” checkbox and click Add.
  14. For “Source Address”, click the dropdown menu and choose “A specific IP Address”.
  15. This is where you will enter what IP address you want to block. In this example, the IP address “” is to be blocked.
  16. Click the dropdown menu for “Destination address” select “My IP Address” and click OK.
  17. Click OK.
  18. Select the newly created Filter and click on the Filter Action tab.
  19. Select the SI Deny rule and click Apply.
  20. Click OK, then Apply and OK again which will take you back to the main console window.
  21. If everything gets done successfully, it will indicate that the policy is assigned. Your server will now block all requests to that specific IP address.