What a proxy is
Every request on the internet carries the IP address it came from. With a proxy in between, that address is the proxy's. To the website, the visit looks like it came from wherever the proxy sits: another city, another country, another network.
That's the whole idea, and it's why proxies are used to see a site the way people in another place see it, to spread requests over many addresses, or to keep your own address out of a site's logs.
How a proxy works, step by step
The proxy only changes where your traffic appears to come from. It doesn't change what you send, and with HTTPS the content stays encrypted between your browser and the site.
- Your app connects to the proxy's address and port and logs in with a username and password.
- It tells the proxy which site to reach.
- The proxy opens the connection to that site from its own IP, the exit IP.
- Answers flow back the same way: site to proxy, proxy to you.
# Without a proxy: shows your own public IP
curl https://api.ipify.org
# Through a proxy: shows the proxy's exit IP instead
curl -x "socks5h://USERNAME:PASSWORD@PROXY_HOST:PORT" https://api.ipify.orgThe main types of proxies
Proxies differ in where the exit IP comes from and in the protocol your app uses to talk to them. The source decides how sites treat you; the protocol decides which apps can use it.
| Type | IP comes from | Good for |
|---|---|---|
| Residential | Home internet connections | Local results, sites that are strict with servers |
| Mobile | 4G/5G carriers | Mobile-first sites and apps |
| ISP | An internet provider's range, kept longer | Long sessions with one identity |
| Datacenter | Server networks | Speed and volume on tolerant sites |
Proxy or VPN?
Both hide your IP, but they work at different levels. A VPN usually takes over the whole device and sends everything through one tunnel. A proxy is set per app, and you can give different apps, or different browser profiles, different exits.
| Proxy | VPN | |
|---|---|---|
| Covers | The apps you point at it | Usually the whole device |
| Choose the exact location | Often, down to city or IP | Usually country or city |
| Several exits at once | Yes, one per app or profile | Usually one at a time |
| Typical use | Testing, research, automation | Everyday privacy |
How to use a proxy
Using a proxy comes down to three steps: get the proxy details, put them into the app you want to route, and check that the exit IP changed. Most problems come from skipping the last step.
- Get the host, port, username and password from your provider's dashboard.
- Set them in the app: the browser, an extension, your code, or a proxy app on Android or Windows.
- Open an IP checker through the proxy and confirm the IP and location are the proxy's.