Skip to content

IP Addresses

This page will show you steps to configure conditions based on request IP. These then can be used at multiple places such as rewrite/caching/blocking rules.

Typical use-case is, you would want to block the IPs you found making malicious requests to your site.

Note: For demo purpose, we will be using www.nviztest.com domain as an example. Here, we will be blocking all requests from a blacklisted IP.

Prerequisite

  1. You must have a domain configured on Nitrogen.

Steps

  1. Click on Settings menu, and open IP Addresses tab.
    Step

  2. Create condition.
    You will now be taken to a screen to provide IPs.

    1. Group Name: Provide short name about the IP condition you are creating.
      For now, put IP Blocklist here. Note: Please keep the name meaningful and relevant.

    2. IPV4 Address: click on Add IPV4 Address button. Enter here the IP (to be blocked) that has IPV4 format.
      As an example, we will be putting 208.126.202.45 here.
      Note: You can multiple IPV4 IPs to the same condition by clicking on Add IPV4 Address button.

    3. IPV6 Address: click on Add IPV6 Address button. Here, enter the IP (to be blocked) that has IPV6 format.
      For now, leave it as is.
      Note: You can multiple IPV6 IPs to the same condition by clicking on Add IPV6 Address button.
      Step

  3. Click on Save button. The configured pattern will be showed in IP Address Groups list.

You can now use this condition at many places such as rewrite/caching/blocking rules.

Notes