Website rules
Limit which sites a proxy may reach: a block list (the listed sites are blocked, everything else works) or an
allow list (only the listed sites work, everything else is blocked). The rules are enforced on your box by the agent,
so the box must run agent 1.3.0 or newer — agent_supported tells you; older agents keep the rules but do not apply them.
- Entries are cleaned up for you: lower-case, international names stored as punycode (
bücher.example→xn--bcher-kva.example), a pasted URL keeps only its host, duplicates are dropped. At most 500 entries per proxy. - Raw IP destinations: allow list → blocked unless that IP is listed; block list → allowed unless listed.
- A blocked HTTP request gets
403with the bodyBlocked by proxy policy(headerX-Hyp-Blocked: policy); a blocked HTTPS (CONNECT) request gets403before the tunnel opens; a blocked SOCKS5 connection is refused (reply code 2, "not allowed by ruleset"). - HTTPS is judged by the site name the client asks the proxy for. Nothing is decrypted, so an app that connects by IP (in block-list mode) or hides the real site behind a CDN cannot be told apart.
- Rotation, SMS and the dongle's own controls are never affected. Changes reach the box within one heartbeat (~15 s); open connections keep running until they close.
Get the rules
GET /proxies/{id}/rulesAbility: read
Response 200
mode is off, blocklist or allowlist. With off the list is kept (so you can switch it back on) but nothing is
blocked.
Set the rules
PUT /proxies/{id}/rulesAbility: manage · Who: the account owner or a team admin (not team viewers, not reseller sub-users).
Response 200 — the rules object as in Get the rules.
422 validation_failed (fields.domains) names the entries that are not a domain, *.domain or IP, a list over 500
entries, or an empty allow list (it would block every site). fields.mode for an unknown mode.