---
title: Adding Devices with IP Regex
slug: kronpam-legacy-ui-reference-guide-3-5-0/adding-devices-with-ip-regex
description: Learn how to incorporate IP Regex Patterns into Device Groups to effortlessly include devices with similar IP addresses. Discover how to utilize IP Regex Patterns with the Deny rule to restrict AAA requests from particular IP addresses. Simply navigate to
docTags: 
createdAt: 2022-08-01T13:02:29.000Z
---

Instead of adding devices one by one, you can add IP Regex to Device Groups to assume every device with a matching IP address as the member of this Device Group. Similarly, some IP Regex Patterns can be added with the Deny rule, which makes the system deny all AAA requests coming from this IP.
To add an IP Regex Pattern to a Device Group:

1. Navigate to **Device Management&#x20;**> **Device Groups**.
2. Right-click on the desired device group, and select **Add/Edit IP Regex Pattern**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/e-4LEJQrXel7ktD8FoGYN_image.png" size="70" width="689" height="236" caption="Add/Edit IP Regex Pattern Option" position="center" showCaption="true"}

- Set the allowed/denied IP regex.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/yUGQMvzkkOml2TATsxtBk_image.png" size="70" width="474" height="303" caption="IP Regex Patterns" position="center" showCaption="true"}

