Skip to content

What Is a Proxy? How a Proxy Server Works, the Types and What a Site Sees

What is a proxy? A server that sends your web requests for you, so the site sees its IP address instead of yours. How it works, the types and the costs.

Billal AinaouiJuly 18, 2026Updated November 2, 202614 min read

What Is a Proxy? How a Proxy Server Works, the Types and What a Site Sees

A proxy is a server that sends your web requests for you, so the website sees the proxy's IP address instead of yours. Your browser or app connects to the proxy, the proxy connects to the site, and the answer travels back the same way. The HTTP standard calls it "a message-forwarding agent that is chosen by the client".

Proxies differ in two ways. One is the protocol they speak: HTTP, HTTPS or SOCKS5. The other is where their address comes from: a data center, a home internet connection, an ISP range or a mobile carrier. This page explains how the relay works and what a website sees through one. It also covers where proxies came from, how safe public ones are, the types, what each costs, and what a proxy leaves to other tools. It rests on the HTTP and SOCKS standards, peer-reviewed studies and our own measurements, all listed under Sources.

What is a proxy server?

A proxy server is an intermediary that makes internet requests on your behalf. Your traffic goes to the proxy first, and the proxy forwards it to the website you want. The response comes back through the proxy to you. Because the request leaves from the proxy, the website sees the proxy's IP address. That substitution is the core of the job.

The standards have said much the same for thirty years. HTTP/1.0 defined a proxy in 1996 as "an intermediary program which acts as both a server and a client". It serves your software on one side and acts as a client toward the website on the other.

What is a proxy?

Proxy

intermediary server

A server that makes internet requests on your behalf. Your traffic goes to the proxy, the proxy forwards it to the website, and the answer comes back the same way, so the website sees the proxy's IP address instead of yours.

Also called
proxy server
Source: HProxy; RFC 9110, section 3.7 · hproxy.comProxy.

Where did the proxy come from?

The word entered computing through research on distributed systems. In 1986, Marc Shapiro wrote that a client "must first acquire a proxy for this service", and that "the proxy is the only visible interface to the service". That idea still holds: your software talks to the proxy, and the proxy deals with everything behind it.

The web proxy came from a practical problem. By 1994, many company networks reached the internet only through a firewall. Ari Luotonen of CERN and Kevin Altis of Intel described a proxy that "provides access to the Web for people on closed subnets who can only access the Internet through a firewall machine". Their paper called caching "a brand new feature", because a proxy could keep a page and answer the next person faster.

Standards followed within two years. SOCKS5 became RFC 1928 in March 1996, and HTTP/1.0 defined the proxy that May. The current HTTP standard, RFC 9110, dates from June 2022. Two months later, RFC 9298 added a way to tunnel UDP through an HTTP proxy.

Proxies also stayed common. In a 2014 study of 646,000 client addresses, Nicholas Weaver and colleagues reported that 14% gave results that suggest a web proxy.

How the proxy became a standard
  1. 1986

    Marc Shapiro publishes the proxy principle

  2. 1994

    Luotonen and Altis describe World-Wide Web proxies

  3. Mar 1996

    SOCKS5 becomes RFC 1928

  4. May 1996

    HTTP/1.0 defines a proxy in RFC 1945

  5. Jun 2022

    RFC 9110 restates HTTP semantics

  6. Aug 2022

    RFC 9298 tunnels UDP through HTTP

Source: The papers and standards listed under Sources on this page · hproxy.comProxy.

How does a proxy work?

Without a proxy, your device opens a connection straight to a website. The site sees your real IP, the address your internet provider assigned you. Every website you visit learns that address, because it has to send the answer somewhere.

A proxy inserts one hop. Your device connects to the proxy and hands it the request, and the proxy opens its own connection to the target. The target sees the address where the request finally leaves for the open internet, the exit IP, which belongs to the proxy.

A proxy stands in the middle and swaps the IP the site sees
  1. Your device

    your real IP

  2. Proxy server

    swaps in its own IP

  3. Target website

    sees the proxy's IP

Source: Forward proxy request path · hproxy.comProxy.

What the proxy receives on the wire

The first message depends on the site and the protocol, and it decides what the proxy can read.

A plain HTTP site. The client puts the whole address in the request line, which RFC 9112 calls the absolute-form:

GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1

The proxy reads the full request and the full answer, and it can change either.

An HTTPS site. The client sends only the host and the port, which RFC 9112 calls the authority-form:

CONNECT www.example.org:443 HTTP/1.1

From then on, RFC 9110 has the proxy "restrict its behavior to blind forwarding of data". The site's own encryption runs end to end inside that tunnel, so the proxy carries the bytes without reading them. It still learns the host name and the port.

A SOCKS5 proxy. The client speaks a small binary protocol, which RFC 1928 calls a "shim-layer" between the application and the transport. It names the version, agrees a login method, and asks for one of three commands: CONNECT, BIND or UDP ASSOCIATE. The target can be an IP address or a domain name.

That last detail decides who looks up the name. If the client sends a domain name, the proxy resolves it. If the client resolves it first, its own DNS server sees the lookup. The curl tool shows both: --socks5 will "resolve the hostname locally", and --socks5-hostname will "let the proxy resolve the hostname".

Why the exit IP matters

To a website an IP address is an identity. The moment a request arrives, the site can look up who owns the address: the ASN, or Autonomous System Number, behind it. It can also see roughly where the address sits and what kind of network it belongs to. Swap the exit IP and every one of those answers changes. That one lever powers scraping without bans, seeing prices as a local shopper, checking ads by country, and keeping separate accounts separate.

What does a website see through a proxy?

The exit IP, always. Beyond that, it depends on what the proxy adds to the request. A proxy can name itself in the Via header, which the HTTP standard defines to show "the presence of intermediate protocols and recipients". It can also pass your own address on, in the Forwarded header of RFC 7239 or the older X-Forwarded-For.

Free proxies do both, often. On October 22, 2026, we sent a plain HTTP request through every working free proxy on our list. Each went to our own test server, and we read what arrived.

What 3,089 free proxies told our test server
  • Named a proxy and hid the user44%
  • Passed the user's real address on42%
  • Added no proxy header14%
Source: HProxy free proxy measurement: working free proxies that relayed a plain HTTP request to our test server, October 22, 2026 · hproxy.comProxy.

So 86% of them named a proxy in a header, and 42.3% handed the website the address they were meant to hide. Headers are only half the story. The same day, an IP reputation check flagged 99.1% of the 7,082 working free proxies we track, the quiet ones included. Our page on anonymous proxy detected covers that measurement in full.

How safe are public proxies?

Public proxies are the addresses listed for free on the web. Three large measurements agree on two points: most of them fail, and some of the rest tamper with traffic.

StudySampleMain result
Mani et al., 2018107,034 listed92% silent
Tsirantonakis et al., 201819,473 working5.15% malicious
HProxy, 2026954,218 found51.1% never worked

Akshaya Mani and colleagues watched open proxies for 50 days in 2018. Of their HTML requests, 10.5% came back with unexpected content. Of the proxies that could carry HTTPS, 1.06% inserted a modified certificate. And 1.93% altered a Windows executable with malicious intent at least once.

Giorgos Tsirantonakis and colleagues collected 65,871 proxies from 15 list sites over two months. 19,473 of them worked. 38.21% of those changed the content, mostly through privacy features that block ads and trackers. 1,004 were malicious, or 5.15%.

Our own engine shows the same pattern at a larger scale. The free proxy source quality study records 426,593,121 checks by November 2, 2026, and half of all addresses never worked once.

How often public proxies misbehaved, by measureEach bar has its own base, named beside it
Passed the real IP onHProxy, 3,089 relaying proxies
42.3%
Changed page contentNDSS 2018, 19,473 working proxies
38.21%
Returned unexpected HTMLACSAC 2018, share of requests
10.5%
Malicious changesNDSS 2018, 19,473 working proxies
5.15%
Altered an .exe fileACSAC 2018, 21,385 proxies
1.93%
Inserted a TLS certificateACSAC 2018, 9,625 HTTPS proxies
1.06%
The studies differ in sample and year, so read each bar on its own base.
Source: Tsirantonakis et al., NDSS 2018; Mani et al., ACSAC 2018; HProxy test of October 22, 2026 · hproxy.comProxy.

The practical rule follows from the wire section above. A public proxy can read and change anything that travels without HTTPS. Treat a certificate warning through a proxy as a reason to stop, and never send a password through a proxy you did not verify.

What types of proxies are there?

Every proxy does the same relay. What separates one from another comes down to two independent choices.

The protocol you speak to it. This decides what traffic the proxy can carry. An HTTP proxy understands web requests and is the default for browsers and scrapers. A SOCKS5 proxy sits lower down and relays any TCP connection, and UDP where both ends support it. That is why it handles email, torrents and game clients. HTTP vs SOCKS5 proxy puts them head to head, and what is a SOCKS5 proxy covers the SOCKS side.

Where the IP comes from. This decides how much a website trusts the address, and it is where most of the price difference lives:

  • Residential: an address on a home internet connection from a consumer provider. It reads as an ordinary person, which is why defended sites let it through. See what is a residential proxy.
  • ISP: a static address registered to a consumer provider but hosted in a data center, so it pairs residential trust with server speed. See what is an ISP proxy.
  • Mobile: an address from a cellular carrier. Carriers put many users behind one address, so sites hesitate to block it. See what is a mobile proxy.
  • Datacenter: an address owned by a hosting company. Fast and cheap, and easy for a defended site to spot. See what is a datacenter proxy.

Protocol and source combine freely: an HTTP residential proxy and a SOCKS5 datacenter proxy are both normal. Pick the protocol for the traffic and the source for how suspicious the target is. The source also sets the price.

What one GB costs by proxy type
Datacenter17 sellers
$0.60
ISP traffic11 sellers
$1.50
Residential64 sellers
$3.65
Mobile33 sellers
$4.00
The more an address looks like an ordinary user, the more a gigabyte through it costs.
Source: HProxy price records: median price per GB on each seller's smallest plan, sellers' own pricing pages, captured July 20 to October 14, 2026 · hproxy.comProxy.

Datacenter and ISP proxies are mostly sold per IP, so their per-GB samples are smaller. Types of proxies compares all four in depth.

Forward and reverse: the word points two ways

When most people say "proxy" they mean a forward proxy. That is the kind you set up in your own software, working on your behalf to reach the internet. Its mirror image is the reverse proxy, which sits in front of a website's own servers and works for the site. MDN sums up the split: forward proxies serve clients. Reverse proxies are "used to control and protect access to a server for load-balancing, authentication, decryption or caching". A proxy you buy to change what a site sees is always a forward proxy. Forward vs reverse proxy untangles the two in full.

What can a proxy server do?

  • Change the address a site sees, which is what scrapers, price checkers, ad checkers and account managers buy proxies for.
  • Filter, log and cache for an organization. The HTTP standard notes that proxies "are often used to group an organization's HTTP requests through a common intermediary for the sake of security services, annotation services, or shared caching".
  • Speed up repeated content, when the proxy caches what many people request. A proxy you use to change your address adds a hop, so each request usually gets a little slower.

What a proxy leaves to other tools

Swapping the exit IP changes one column of facts about you and leaves the other as it was.

What swapping the exit IP changes, and what stays

What a proxy changes

  • The exit IP

    the address the site sees

  • Your apparent location

    where you seem to connect from

  • Your apparent network

    the ASN the site reads you as

What stays as it was

  • Encryption

    only the site's own HTTPS protects your data

  • Your whole device

    a standard proxy routes one app

  • Your fingerprint

    headers, TLS, cookies and behavior still describe you

Source: What a forward proxy changes and what it leaves as it is · hproxy.comProxy.

Encryption comes from HTTPS. A standard proxy relays your bytes without scrambling them. What keeps your data private is the site's own HTTPS, which works through the proxy either way. On a plain HTTP site, a plain HTTP proxy's operator can read everything you send.

A VPN covers the whole device. A VPN encrypts and routes everything your device sends to its server, while a proxy usually routes one app and adds no encryption. Proxy vs VPN vs Tor lays out when each one wins.

Anonymity takes more than an address. The IP is the first signal a site reads, and the free-proxy numbers above show how often a proxy gives itself away. Headers, the TLS fingerprint, cookies and behavior describe you too, as how websites detect proxies explains.

Which proxy do you need?

Start from the target. If the site barely checks, a cheap datacenter address over HTTP does the job, and anything more is wasted money. If the target has a real bot team, you want a residential or ISP address that reads as a genuine user. The protocol follows whatever your tool speaks.

Our residential proxies cost $0.50 for one GB, and the balance does not expire. Every plan answers on both HTTP and SOCKS5. You can also start free, with no signup. Pull live addresses from our free proxy list and test them in the proxy checker. It shows what a website would see. How to use a proxy walks through the setup step by step.

What this page could not check

  • No network tests. We measured no proxy network's speed or block rate, ours included.
  • Free proxies only. The header shares come from free proxies, which behave differently from paid ones.
  • Per-GB samples. Datacenter and ISP proxies are mostly sold per IP, so 17 and 11 sellers stand behind their per-GB medians.
  • Old studies. The peer-reviewed figures date from 2014 and 2018. Public proxies change quickly, so read them as evidence of the risk and leave the exact shares to their year.
  • First use. Shapiro's paper is the earliest use of the term we read. We cannot show that nobody used the word earlier.
  • Check by January 22, 2027. Free pools change by the hour and prices by the month.

Sources

Standards

  1. Fielding, R., Nottingham, M. and Reschke, J. RFC 9110, HTTP Semantics. IETF, June 2022. Sections 3.7, 7.6.3 and 9.3.6.
  2. Fielding, R., Nottingham, M. and Reschke, J. RFC 9112, HTTP/1.1. IETF, June 2022. Sections 3.2.2 and 3.2.3.
  3. Berners-Lee, T., Fielding, R. and Frystyk, H. RFC 1945, Hypertext Transfer Protocol: HTTP/1.0. IETF, May 1996.
  4. Leech, M. et al. RFC 1928, SOCKS Protocol Version 5. IETF, March 1996.
  5. Petersson, A. and Nilsson, M. RFC 7239, Forwarded HTTP Extension. IETF, June 2014.
  6. Schinazi, D. RFC 9298, Proxying UDP in HTTP. IETF, August 2022.

Papers

  1. Shapiro, M. "Structure and Encapsulation in Distributed Systems: the Proxy Principle." 6th International Conference on Distributed Computing Systems, May 1986, pages 198 to 204.
  2. Luotonen, A. and Altis, K. "World-Wide Web Proxies." Computer Networks and ISDN Systems 27, 1994, pages 147 to 154.
  3. Weaver, N., Kreibich, C., Dam, M. and Paxson, V. "Here Be Web Proxies." Passive and Active Measurement Conference, 2014, pages 183 to 192.
  4. Mani, A., Vaidya, T., Dworzanski, D. and Sherr, M. "An Extensive Evaluation of the Internet's Open Proxies." Annual Computer Security Applications Conference, 2018, pages 252 to 265.
  5. Tsirantonakis, G., Ilia, P., Ioannidis, S., Athanasopoulos, E. and Polychronakis, M. "A Large-scale Analysis of Content Modification by Open HTTP Proxies." Network and Distributed System Security Symposium, 2018.

Documentation

  1. MDN, "Proxy servers and tunneling", read October 22, 2026.
  2. curl project, "curl man page", entries for --socks5 and --socks5-hostname, read November 2, 2026.

Our own data

  1. HProxy free proxy measurement, October 22, 2026: 3,089 working free proxies relaying a plain HTTP request to our test server; 7,082 working free proxies checked against an IP reputation source.
  2. HProxy verification engine, November 2, 2026: 954,218 addresses and 426,593,121 checks.
  3. HProxy price records: per-GB plans of 64 sellers, captured July 20 to October 14, 2026, with headline "from" prices left out.

Frequently asked questions

What is a proxy in simple terms?

A proxy is a server that sits between you and the internet and makes requests on your behalf. Your computer connects to the proxy, the proxy connects to the website, and the answer comes back the same way. The website sees the proxy's IP address instead of yours, which is the main reason people use one.

How does a proxy work?

Your app sends its request to the proxy's address and port. The proxy opens its own connection to the website, forwards the request, and passes the answer back. For HTTPS sites the proxy opens a tunnel and forwards the encrypted bytes without reading them.

What is the difference between a proxy and a VPN?

Scope and encryption. A proxy usually routes one app or one browser and adds no encryption of its own. A VPN routes your whole device through an encrypted tunnel to its server. A proxy is the lighter tool when you only need to change the address one program uses.

Does a proxy hide my IP address?

From the website, usually: the site sees the proxy's exit IP. Some proxies pass your address on in a header anyway. Of 3,089 free proxies we tested on October 22, 2026, 42.3% did exactly that. The address is also one signal among several, so headers, cookies and your browser's fingerprint still describe you.

Can a proxy server speed up the internet?

A caching proxy can, for content many people request, which is why organizations run them. A proxy you use to change your address adds a hop, so it usually makes each request a little slower.

How much do proxies cost?

It depends on the type. Per GB on the smallest plan, the median in our price records is $0.60 for datacenter, $1.50 for ISP traffic, $3.65 for residential and $4.00 for mobile. Our residential proxies cost $0.50 for one GB.

Is using a proxy legal?

In most countries, yes. A proxy is a relay, and relaying your own traffic is lawful. What can cross a line is what you do through it, such as breaking a site's terms or a local law.

Are free proxies safe?

Treat them as untrusted. A 2018 NDSS study tested 19,473 working public proxies and found 5.15% behaving maliciously. A 2018 ACSAC study found 1.06% of HTTPS-capable proxies inserting a modified certificate. Keep to HTTPS, and never send a password through one.

When did proxies start?

Marc Shapiro described the proxy principle for distributed systems in 1986. Ari Luotonen of CERN and Kevin Altis of Intel described World-Wide Web proxies in 1994, to carry web traffic through firewalls. HTTP/1.0 defined the term in May 1996, and SOCKS5 became RFC 1928 two months earlier.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed