> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/proxies/datacenter-proxies/whitelisting.md).

# Whitelisting IPs

Learn how to create or edit an IP whitelist for Oxylabs datacenter proxies.

Authenticate your IPs by creating the IP whitelist on the [**dashboard**](https://dashboard.oxylabs.io/en/).

1. Log in to your account and open your Datacenter proxy instance.
2. Open **Configurator** tab, click **Authentication** and look for **Allowlist**.
3. Add up to 10 IPs in IPv4 format (`xx.xx.xx.xx`).

<figure><img src="https://3826932121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2F1TmvZkjLuK6x8f34prNJ%2FScreenshot%202026-10-05%20at%2005.50.38.png?alt=media&amp;token=c6096ea0-61dc-485b-abb0-f133394554ab" alt=""><figcaption></figcaption></figure>

With IP Whitelisting you can provide `country` parameter in `username` field.\
When executing cURL command, do not forget to add a "`:`" at the end of `username` string to prevent cURL from asking for a password.

```bash
curl -x dc.oxylabs.io:8000 -U 'country-US:' https://ip.oxylabs.io/location
```

When adding an IP address to the whitelist, ensure that it belongs exclusively to you, and avoid connecting through Proxy or VPN services.

If you're using services like Amazon Web Services (AWS), we highly recommend using username and password authentication over relying solely on IP whitelisting.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/products/proxies/datacenter-proxies/whitelisting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
