Forward proxy

A forward proxy is an intermediary on the client side: a program sends it requests, and it reaches any website on its own behalf instead of the client.

Updated · Prokso editorial team

When people just say "proxy", they most often mean a forward proxy. It sits between your program and the internet. A browser or script sends its request not to the website but to the proxy, which opens a connection to the website on its own behalf and returns the response to you. The website sees the proxy's address, not yours.

How it works

For ordinary pages over HTTP, the program gives the proxy the full page address, and the proxy makes the request itself. For HTTPS, the program sends a CONNECT command: the proxy opens a tunnel to the website and from then on only relays encrypted bytes. With SOCKS5, the program asks the proxy to connect to the required address and port and then exchanges data through it.

A forward proxy serves clients. It is the client that decides which proxy to go through, and it is the proxy that knows who is using it, so it usually requires a login and password or IP-based access.

Forward vs reverse proxy

ForwardReverse
Who it servesClientsA website or server
Who sets it upThe user or the client's network administratorThe website owner
Where it leadsTo any websiteOnly to the servers of its own website
What it hidesThe client's addressThe website's internal structure
Typical tasksChoosing an IP country, office filtering, cachingLoad balancing, protection, caching, TLS

More on the opposite type in the entry on the reverse proxy.

A forward proxy can also cache responses, filter websites or keep a log of requests. In office networks it is often installed exactly for that. Commercial proxies such as Prokso instead give you a choice of address: the country, the network type and the rotation mode.

Explicit and transparent

You configure an explicit forward proxy yourself: in the browser, the system or your code. A transparent proxy is not configured in the program at all; the network intercepts the traffic on its own, as happens in offices or on public Wi-Fi. Such a proxy often also passes your real address to the website in headers.

Where a forward proxy is configured

  • In the system: Windows, macOS, Android, iOS, or automatically through a PAC file.
  • In a browser or extension: for one browser or one antidetect browser profile.
  • On the command line: the HTTP_PROXY, HTTPS_PROXY and ALL_PROXY environment variables; common mistakes with them are covered on the page about proxy environment variables.
  • In code: the proxy parameter of your HTTP request library.

Prokso is a forward proxy

Prokso proxies work exactly this way. Your program connects to the gw.prokso.com gateway: port 823 for HTTP and 824 for SOCKS5 give a new IP on every request, and ports 10000-20000 give a sticky IP on each port. The gateway then passes the request to an exit node from the pool, and the website sees that node's address.

Your program talks only to the gateway, and it is the exit node that connects to the website. So the website's logs keep the address of a node from the pool, not your home or office address.

Step-by-step setup is described in the help center and in the guides for specific programs. To check that a proxy works and gives the right country, use the proxy checker.

Further reading

FAQ

How is a forward proxy different from a reverse proxy?

A forward proxy serves clients and leads to any website, hiding the client's address. A reverse proxy sits in front of a website and distributes requests among its servers.

Are Prokso proxies forward proxies?

Yes. Your program connects to the gw.prokso.com gateway, and the website sees the address of an exit node from the pool.

Where do I set a forward proxy?

In the system or browser settings, in an antidetect browser profile, in the HTTP_PROXY and HTTPS_PROXY environment variables, or in the library parameters in your code.

Residential $1.59, mobile $2.50, datacenter $0.65 per GB

Sign up in a minute, get access right after payment.

Create account

Install the Prokso app