Skip to content

How do I block an IP address from accessing my site?

With Patchstack, it is easy to block certain IP addresses from accessing your site.

In order to block an IP address, do the following:

  1. Log in to the Patchstack App
  2. Go to Sites > yourdomain.com > Protection > Additional settings
  3. Scroll down to IP Block List
  4. Enter each IP addresses to a new line
  5. The following formats are accepted:
    • 127.0.0.1
    • 127.0.0.*
    • 127.0.0.0/24
    • 127.0.0.0-127.0.0.255