---
title: "IP Address Filtering"
url: "/docs/proxy/ip_address"
canonical_url: "https://docs.litellm.ai/docs/proxy/ip_address"
type: "docs"
last_updated: "2026-10-08"
summary: "Restrict which IP's can call the proxy endpoints."
related:
  - "/docs/proxy/custom_auth"
  - "/docs/proxy/public_routes"
---
# IP Address Filtering

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


> **LiteLLM Enterprise feature.** Requires an Enterprise license (`LITELLM_LICENSE`). Talk to sales: https://www.litellm.ai/enterprise#talk-to-sales

Restrict which IP's can call the proxy endpoints.

```yaml
general_settings:
  allowed_ips: ["192.168.1.1"]
```

**Expected Response** (if IP not listed)

```bash
{
    "error": {
        "message": "Access forbidden: IP address not allowed.",
        "type": "auth_error",
        "param": "None",
        "code": 403
    }
}
```

## Related pages

- [Custom Auth](https://docs.litellm.ai/docs/proxy/custom_auth.md)
- [Control Public & Private Routes](https://docs.litellm.ai/docs/proxy/public_routes.md)
