Skip to content

How to Set Up a Proxy with IP Whitelist Authentication

A step by step guide to IP whitelist authentication for a proxy: find your public IP, authorize it, point your browser or app at the proxy and test the result.

10 min readUpdated Nov 13, 2026By XPASS Editorial Team

How to Set Up a Proxy with IP Whitelist Authentication

IP whitelist authentication is one of the two common ways a proxy provider decides who may use a proxy. Instead of asking your software for a username and password, the provider keeps a list of approved public IP addresses and accepts any connection that arrives from one of them. When it is set up well, it is quiet and convenient: there is nothing to type, nothing to store in a configuration file and nothing to leak in a screenshot. When it is set up badly, it produces confusing connection errors that are easy to misdiagnose.

This guide explains how the method works, what you need before you start, how to configure it step by step, how to test it, and what to watch for when your network changes. Everything here describes proxy use in general terms. Always use a proxy lawfully, follow the terms of the sites and services you reach through it, and respect local law. For the exact options that a given plan includes, check the plan page rather than assuming.

What IP whitelist authentication actually does

A proxy server sits between your device and the website you are visiting. Your software sends a request to the proxy, the proxy forwards it, and the response travels back the same way. Because a proxy is a service that someone pays for, the provider needs a way to reject strangers. There are two mainstream approaches.

The first is credential based. Your software sends a username and password along with the request, as described in the article on how proxy username and password authentication works. The second is address based, which is the subject of this guide. The provider looks at the source IP address of the incoming connection, compares it with the allowed list for your account, and either accepts or refuses it.

Two details matter here. The address that counts is the public address that the proxy server sees, not the private address shown in your operating system network settings. A laptop on a home network might have a private address such as 192.168.1.20, but the proxy sees the public address of the router. Second, the decision is made before any HTTP request is processed. A refused address usually results in a connection that is closed, reset or answered with an authentication-required response, depending on the proxy software. HTTP defines the 407 Proxy Authentication Required status for the credential case, which you can read about in the HTTP semantics specification.

When whitelisting is a good fit

Whitelisting suits situations where your outgoing address is stable and under your control. Typical examples include a server in a data center with a fixed address, an office network with a static address, or an automation host that runs the same job every day. It is also helpful for software that has poor support for proxy credentials. Some older tools and embedded devices can accept a proxy host and port but cannot send a username and password, and address based access lets them work.

When it is a poor fit

Whitelisting is awkward if your public IP changes often, if you move between networks, or if several people share one address and you do not want all of them to use the proxy. A laptop used at home, in a cafe and at a client office will present three different addresses in one week. In that case a username and password method, or a short routine for updating the list, is more practical.

What you need before you start

Gather these items first so the setup takes minutes rather than an afternoon.

  • An active proxy service with a dashboard or control panel where you can edit allowed addresses. Check the plan page to confirm that address authentication is offered for the plan you use.
  • The proxy hostname or IP address, the port number and the protocol the endpoint speaks. The differences between protocols are covered in HTTP, HTTPS and SOCKS5 proxies compared.
  • The public IP address of the network or machine that will connect.
  • Access to the proxy settings of the browser, operating system or application you want to use.
  • A way to test, such as a browser and a page that reports your public IP.

Write the host, port and protocol in a small note for yourself. Mixing up a HTTP port and a SOCKS5 port is a very common reason for a new setup to fail, and the error looks identical to an authentication failure.

Step 1: Find your current public IP

Open a page that displays the public address of your connection. Many sites do this, and you can also ask a command line tool. On a server, a request to an address-echo service shows the address the outside world sees. On a laptop behind a router, a browser page is the easiest option.

Make sure you check from the same network that will later connect to the proxy. If you are preparing a server, run the check on that server, not on your own laptop. If you are on a corporate network, ask the network team whether outgoing traffic leaves through one address or several, since some organizations rotate across a pool of addresses. Whitelisting a single address from a pool will work only some of the time.

Also confirm that you are not already using a proxy or a VPN when you check. If you are, the page shows the address of that service rather than your own connection, and you would whitelist the wrong address. Turn them off for this one check, or use a different device.

IPv4 and IPv6

Some networks have both IPv4 and IPv6 connectivity. A browser may prefer IPv6 when both are available, and the page may show an IPv6 address even though the proxy expects IPv4. If your provider lists only IPv4 addresses, make sure the address you add is the one the proxy server will see. When in doubt, check the plan page or the dashboard instructions for which families are supported.

Step 2: Add the address to the allowed list

Sign in to the provider dashboard and look for a section that is usually labeled authentication, access control or allowed IPs. Add the address you found in Step 1 and save. Some dashboards accept a single address, others accept ranges written in CIDR notation, such as a block of addresses for an office. Only add what you actually need. A narrow list is safer than a wide one, because every address on the list can use your proxy service and consume whatever allowance your plan has.

After saving, allow a short moment for the change to take effect. Many providers apply it within seconds, but some systems update on a schedule. If the first test fails, wait a minute and test again before changing anything else.

Keep a record of what you added and why. A line such as "office router, added on a given date" helps you clean the list later. Stale entries are a quiet risk: an address that once belonged to you might be reassigned to another customer of your internet provider.

Step 3: Configure your browser or application

The proxy settings differ by software, but the information you enter is always the same: a host, a port and a protocol. No username or password is needed for the whitelisted address.

In an operating system or browser

Most browsers can use the system proxy settings or have their own. In the settings, find the section for network or proxy, choose manual configuration, then enter the host and port for the protocol you chose. Leave the credential fields empty. If the browser offers separate boxes for HTTP, HTTPS and SOCKS, fill in only the one that matches the endpoint you were given, and do not copy the same value into every box unless the provider tells you to.

In a command line tool or script

Many tools read environment variables such as the standard HTTP proxy and HTTPS proxy variables, or accept a proxy option on the command line. Provide the scheme, host and port in the form your tool expects, for example an address that starts with http:// for an HTTP proxy or socks5:// for a SOCKS5 proxy. Again, no credentials appear in the string.

In an application with its own proxy panel

Desktop applications, automation software and some mobile apps have a dedicated proxy section. Select the type, enter the host and port, and leave the user and password fields blank. If the form refuses to save without a username, check whether the application offers a no-authentication option; if it does not, a credential method may be a better choice for that tool.

Step 4: Test the connection

Testing is more than seeing a web page load. A page can load because the proxy is not being used at all. Follow this short routine.

  1. Visit an address-echo page without the proxy and write down the address.
  2. Turn the proxy on, reload the same page and compare. The reported address should now belong to the proxy network, not to your own connection. The article on how to confirm that a browser is really using a proxy walks through the checks in more detail.
  3. Open an ordinary site over HTTPS and confirm it loads without a credential prompt.
  4. If something fails, note the exact symptom: a timeout, a reset connection, a 407 response or a certificate warning. Each points to a different cause, as the table below shows.
Symptom Likely cause What to try
Timeout with no response Wrong host or port, or a firewall blocking outgoing traffic to that port Recheck host and port, try from another network
Connection reset or closed immediately Your address is not on the allowed list Compare your public IP with the list, wait a minute after saving
407 Proxy Authentication Required The proxy expects credentials for this connection Confirm the address, or use a credential method
Page loads but shows your own address Proxy not applied to that application Recheck the proxy settings and any bypass list
Certificate warning Wrong protocol selected, or traffic is being inspected on your network Confirm the protocol and check for a local filtering device

Step 5: Plan for address changes

The most common long term problem with whitelisting is that the address changes. Residential and mobile internet connections frequently receive a new public address after a router restart, a power outage or a lease renewal. When the address changes, the proxy stops working for you until the list is updated, and the symptom looks like the proxy has broken even though nothing on the provider side has changed.

Some practical habits reduce the pain.

  • Note your current address in your own records after each successful setup, so you can compare quickly when something fails.
  • For a server, ask the hosting provider for a fixed address. For an office, ask your internet provider whether a static address is available.
  • If you must work from changing networks, keep a credential method available as well, so you are not locked out.
  • Check whether the dashboard supports updating the list through a tool or request, which can make renewals faster. Do not assume this exists; look at the plan page.

Security considerations

Whitelisting is convenient, but convenience has a cost. Anyone who can send traffic from your whitelisted address can use the proxy. That includes other devices on the same network, other users behind the same shared address and any program running on the whitelisted machine.

Think about who shares your address. On a home router this is usually only your household. In a shared office, a coworking space or a university network, many unrelated people may leave through one address. If you whitelist that address, all of them can use your proxy allowance. In such environments, credentials give finer control.

Also be careful about the machine you whitelist. If a server is compromised, an attacker on that server inherits the proxy access. Keep software updated, limit who can log in and remove addresses you no longer use. Treat the allowed list like a firewall rule, because that is effectively what it is.

Finally, remember that a proxy does not encrypt traffic between you and the proxy by itself. Whether the hop is protected depends on the protocol in use and on whether the site you visit uses HTTPS. The tunneling behavior of HTTP proxies for HTTPS sites is described in the MDN article listed in the references. Use HTTPS wherever you can, and do not treat a proxy as a substitute for good security habits.

A plain example

Suppose a small team runs a monitoring script on a single server that checks how their own pages appear to visitors from another region. The server has a fixed address. They find it by running an address-echo request from the server and record it. In the provider dashboard they add that single address to the allowed list and save.

On the server they set the script to use the proxy host and port with the protocol they chose, with no username or password. They first run a test request to an address-echo page. The result shows an address from the proxy network instead of the server address, which confirms the route. They then run the real script, which loads pages over HTTPS and respects the target sites terms and rate expectations.

Three weeks later the hosting provider migrates the server to a different network and the address changes. The script starts timing out. Because the team recorded the old address, they compare it with the new one, see the mismatch, update the allowed list and the script works again within a minute. The whole fix takes less time than the diagnosis would have without a record.

Limits and what to watch for

  • The whitelist matches the address the proxy sees. Corporate gateways, carrier-grade address sharing and VPN software can all change which address that is.
  • A list that is too wide exposes your allowance to people you did not intend. A list that is too narrow causes surprise failures. Review it regularly.
  • Some applications ignore system proxy settings or have a bypass list for local addresses. If traffic does not seem to use the proxy, check those settings first.
  • Whitelisting identifies the network, not the person. If you need to track which team member used the proxy, a credential method fits better.
  • Not every plan or product type supports every authentication method. Confirm on the plan page before you design a workflow around one.
  • Use proxies only for lawful purposes and in line with the terms of the services you contact. A proxy is a networking tool, not permission to ignore a site rules.

Summary

IP whitelist authentication lets a proxy recognize you by the public address your connection comes from, so your software needs only a host, a port and a protocol. To set it up, find the public address of the exact network that will connect, add it to the allowed list in your dashboard, enter the host and port in your browser or application without credentials, and test by comparing the reported address with and without the proxy. Expect to update the list whenever your address changes, keep the list narrow and tidy, and consider credentials when you share a network or move between locations. When you are ready to choose a service and see which authentication options come with it, the proxy page is the place to look.

Frequently asked questions

What is IP whitelist authentication for a proxy?

It is a way of proving who you are by the public IP address your requests come from. The provider keeps a list of allowed addresses, and any connection from an address on that list can use the proxy without sending a username and password.

Do I need a username and password if my IP is whitelisted?

Usually not for the whitelisted address, because the address itself is the credential. Connections from any other address are normally refused, so keep a username and password method as an alternative if you work from several networks.

Why does my proxy stop working after my internet reconnects?

Many home and mobile connections receive a new public IP address from the internet provider from time to time. When that happens the new address is no longer on the allowed list, so you must update the list with the new address.

Can I whitelist a server and my laptop at the same time?

Providers generally let you register more than one address, within the limits of the plan. Check the plan page for how many addresses can be authorized and how the list is edited.

How do I know the whitelist is working?

Connect through the proxy, then check the public IP that an external page reports and confirm that requests succeed without a credential prompt. A refused or timed out connection usually means the address on the list does not match your current one.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a proxy for this?

XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.

See proxy plans

Keep reading

Proxy Guides

How Proxy Usernames and Passwords Work

Most proxies ask for a username and password. This guide explains what happens behind the prompt, where to enter credentials, and how to keep them safe.

9 min read

Proxy Guides

How to Check That Your Browser Is Really Using a Proxy

A practical checklist for confirming that your browser is routed through a proxy, from comparing your public IP to checking settings, HTTPS pages and bypass rules.

9 min read

Proxy Guides

HTTP Proxy vs HTTPS Proxy vs SOCKS5: What Is the Difference?

The three names sound similar but describe different things. Learn how HTTP, HTTPS and SOCKS5 proxies differ, what each can carry, and how to pick one.

10 min read