4 min read · Updated 27 November 2026
IP Whitelist, Domain Whitelist and Auth Mode on OrbitFlare
Lock your OrbitFlare license to your servers with an IP whitelist, or to your site with a domain whitelist. How the two auth modes work.
With an IP whitelist, your OrbitFlare license only answers the servers you name, so a key that leaks can't be used from anywhere else. A domain whitelist gives the same protection to a website that calls RPC from the browser. Both live on the license in your dashboard, and you change them yourself without opening a ticket.
The two authentication modes
Every license uses one of two modes, chosen under Authentication Mode on the license:
| Mode | Who can connect | Good for |
|---|---|---|
| IP Whitelist | Only the IPs on the license's whitelist | Bots and backends on fixed servers |
| API Key Only | Anyone who has the key, from any IP | Laptops, serverless functions, changing IPs |
Whichever mode you pick, RPC and WebSocket requests keep sending ?api_key=, and gRPC connections keep passing the license key as x-token. The mode decides only whether the source IP gets checked on top.
Add or change an IP whitelist entry
- Look up the public IPv4 address of the server making the requests. Run this on that server:
curl -4 https://ifconfig.me
- Open Services in the dashboard, select your license and add the IP to its whitelist.
- Test with a request from that server. Changes apply within seconds.
Switching servers? Add the new IP before anything else, move the traffic across, and remove the old IP last, so no request is turned away in the gap. Calls from an IP missing from the list get -32404 IP not whitelisted, which Yellowstone reports as PermissionDenied.
Domain whitelist for browser apps
Every visitor to a web page can see the RPC URL its code uses, key and all. When your web app must call RPC from the browser, set the license to API Key Only and put your site's domain on its domain whitelist; the key then works only from your pages. Devnet domains go on a list of their own.
Better still, keep the key on your server and proxy the calls, so it never gets to the browser at all. Both approaches are shown in Using a custom RPC URL.
Doing it by API
For automation, the Customer API covers the same settings, authenticated with your Customer API key in the X-ORBIT-KEY header: POST /customer/v2/licenses/{license}/toggle-auth-mode flips the mode, and the license's IP and domain endpoints add and remove entries. See Which OrbitFlare API key do I use? for which key belongs where.
On a dedicated node? You can restrict it to your IPs the same way. When the whitelist is correct but requests are still refused, make sure the region you call is on your license; endpoints and region codes has the list.