Whitelist IP
How to Whitelist your IP address.
Whether you prefer using the dashboard for an easy setup or the API for automated control, Geonode provides flexible options to manage your IP whitelist efficiently.
Point to Remember
-
Authentication: Requires Basic Authentication (using a username:password encoded in Base64).
-
Rate Limit: You can make up to 100 requests per minute.
-
IP Limits: A user can whitelist a maximum of 150 IPs in total.
-
Request Limit: Each request can include up to 10 IP addresses to add or remove.
-
Validation: The API enforces checks to prevent invalid or duplicate IPs
How to Add an IP to the WhitelistÂ
You can whitelist an IP using:
-
The Dashboard (Recommended for non-developers)
-
The API (For programmatic control)
Using DashboardÂ
Let’s first do this using the provided dashboardÂ
Add IP Addresses
-
Navigate to IP Whitelist Settings:
- Look for a section labeled “Whitelisted IPs” in the settings menu.
-
Add an IP Address:
-
Enter the IP address you want to whitelist in the provided field or For quick setup, use the
-
“Detect My IP” button to automatically add your current IP..
-
Optionally, add a description (e.g., Home, Office, Server) for easy identification.
-
Click the “Add” button to save the IP.
-
Verify the IP:
Ensure the IP appears in the whitelist table with the correct details
Remove an IPÂ
-
Locate the IP: Find the IP address in the whitelist section.
-
Click “Delete”: Press the “Delete” button next to the IP you want to remove.
Verify Deletion
Check notificationÂ
Using APIÂ
Geonode provides APIs to manage your whitelisted IPs programmatically. You can perform the following actions:
-
Add Whitelisted IPs
post
-
Remove Whitelisted IPs
delete
Verify Proxy Connection
To ensure the proxy is working, check your IP address using an online tool or follow this guide:
For detailed API request formats, parameters, and code examples in multiple languages, refer to the Geonode API Documentation.
If you need quick access, use the dashboard, and if you want more control, go with the API.