# How to block certain visitors by IPs

You can block certain IPs from accessing the store by creating a blocker rule in the app

For this, you need to choose the "IPs" option under the "Blocked By" section in the "General Setting" step (step 1) while creating the rule.

And add those IP addresses in the "Add IPs"

{% hint style="warning" %} <mark style="color:orange;">**Note:**</mark> <mark style="color:orange;">The app support IPv4 only to block visitors by IP</mark>

For example: 192.0. 2.146
{% endhint %}

{% content-ref url="/pages/DoJIDroieocbMqCnDDkA" %}
[Create Blocker Rule](/geoip-country-redirect/country-blocker/create-block-rule.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.spicegems.com/geoip-country-redirect/general-faqs/how-to-block-certain-visitors-by-ips.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
