IP Allowlist API
Manage the IP access allowlist.
The IP allowlist restricts which source IPs can connect to ports that have Dual-Auth enabled. An empty allowlist means no IP restriction. Listing and reading require the proxies:read scope; adding, removing, and changing Dual-Auth require a paid plan and the proxies:write scope.
List Entries
/api/proxies/:id/ip-allowlistcurl https://cifp.vril.dev/api/proxies/proxy-id/ip-allowlist \
-H "Authorization: Bearer YOUR_API_KEY"{
"entries": [
{
"id": "uuid",
"cidr": "203.0.113.0/24",
"description": "Office network",
"createdAt": "2026-06-01T10:00:00Z"
}
],
"count": 1,
"maxAllowedIps": 24,
"secureSharePorts": [3401],
"portIpAuth": [
{
"port": 3128,
"label": "Hyperproxy Core",
"plane": "cifp-core",
"username": "hyprx-proxy-id",
"usernamePasswordRequired": false,
"ipAuthEnabled": true
}
]
}maxAllowedIps is the capacity of this Hyperproxy (24 by default). portIpAuth lists every port with its Dual-Auth state; Secure Share ports are included and cannot be changed.
Add Entry
/api/proxies/:id/ip-allowlistcurl -X POST https://cifp.vril.dev/api/proxies/proxy-id/ip-allowlist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cidr": "203.0.113.0/24",
"description": "Office network"
}'| Field | Required | Description |
|---|---|---|
| cidr | Yes | IPv4 or IPv6 address, CIDR subnet, or IPv4 start–end range. e.g. 203.0.113.45, 10.0.0.0/8, 2001:db8::/32, or 203.0.113.10-203.0.113.50 |
| description | No | Human-readable label. Max 200 chars. |
Returns 409 if the entry is already in the allowlist, and 422 when the Hyperproxy has reached its capacity.
Remove Entry
/api/proxies/:id/ip-allowlistcurl -X DELETE https://cifp.vril.dev/api/proxies/proxy-id/ip-allowlist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entryId": "uuid-of-the-entry"}'
# Returns 200 {"status":"deleted"}Set Dual-Auth per Port
/api/proxies/:id/ip-allowlistTurn Dual-Auth on or off for one or many ports at once. When on, a port also requires a source IP from the allowlist. See the Port Manager guide.
curl -X PATCH https://cifp.vril.dev/api/proxies/proxy-id/ip-allowlist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ports": [3201, 3202], "ipAuthEnabled": true}'{
"status": "updated",
"ports": [3201, 3202],
"ipAuthEnabled": true,
"updatedCount": 2
}ports takes 1 to 5,000 integers from 1024 to 65535.