# Setting: `vds_firewall_max_rules`

- **Constant:** `ConfigInterface::VDS_FIREWALL_MAX_RULES`
- **Category:** `vds`
- **Type:** `number`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|integer|min:1|max:500`
- **Placeholder / default hint:** `50`

## Description

Maximum firewall rules per VDS.

## Allowed options

_Free-form / no fixed options_

## Change via CLI

```bash
featherpanel saas getsetting vds_firewall_max_rules
featherpanel saas setsetting vds_firewall_max_rules "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "vds_firewall_max_rules": "<value>" }
```
