> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.popupmaker.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to show a popup depending on the IP address of the user?

| **Before starting the setup of the display rules for your popup, it is assumed that you have already [embedded the popup](https://help.popupmaker.com/en/article/how-to-add-a-popup-to-your-custom-website-arp8an/) into your website, or [attached via the plugin](https://help.popupmaker.com/en/category/plugins-and-extensions-1s4euao/) you are using connected to Popup Maker service.**

| **Plus, make sure you have selected at least one [opening event](https://help.popupmaker.com/en/category/popup-opening-events-2s1enc/) for your popup.**

In the **Display Rules** options of the Dashboard, there's **IP Address Targeting** where you can set up popups to open depending on the IP address of the visitor.

![](https://storage.crisp.chat/users/helpdesk/website/827841c5a93da800/popup-maker-ip-targeting_1icibyi.png)

# How to setup the IP filters for popup showing?

* First, you need to click on the **"Edit IP filters"** red button in order to open the selector and set up the filters.

* A selector window will open where you can add the IP address for which you want to **Allow** or **Block** the popup.

* You can add (manually or just copy/paste) IP addresses in 2 versions: **IPv4 **and **IPv6**

* The **"-" **and **"+"** buttons will allow you to add and remove IP addresses you enter here.

* Don't forget to click on the blue **"Save changes"** button after you add your filters.

![](https://storage.crisp.chat/users/helpdesk/website/827841c5a93da800/popup-maker-ip-targeting_880t4k.png)