Skip to main content

✨ IP Address Filtering

Enterprise feature

This feature requires a LiteLLM Enterprise license. Start a free 30-day trial or book a demo. See what Enterprise includes.

Restrict which IP's can call the proxy endpoints.

general_settings:
allowed_ips: ["192.168.1.1"]

Expected Response (if IP not listed)

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