---
title: Adding Devices with IP Regex
slug: kronpam-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 is a 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 **Devices&#x20;**> **Device Groups**.
2. Click on the action menu of the desired device group, and select&#x20;**&#x20;IP Regex Pattern**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/aWHq8tvNOmysvXRotMgjp_image.png "IP Regex Pattern Option")

- Set the allowed/denied IP regex.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/VS6SAmZBpyEhSIHRXXLB-_image.png" size="70" width="613" height="462" position="center" caption="IP Regex Patterns" showCaption="true"}

