Proxy Chaining: Multiple Proxy Servers in a Row
A proxy chain sends your traffic through two or more proxy servers in a row, so each server forwards it to the next and only the last one connects to the website, which sees the last proxy's IP. Chains are used to put a company or local proxy in front of a proxy service, to inspect traffic while debugging, or to add layers between you and the site, at the cost of speed and reliability with every hop. ProxyField works as the last hop of a chain over HTTP, HTTPS or SOCKS5, with 412M+ residential IPs from $1.95/GB; start with the Easy Trial: 1 GB for $2.95.
- residential IPs
- 412M+
- from, traffic never expires
- $1.95/GB
- Easy Trial
- 1 GB for $2.95
On this page 7 sections
How a proxy chain works
In a chain, your app connects to the first proxy and asks it to reach the second, and so on, until the last proxy opens the connection to the site:
your app → proxy 1 → proxy 2 → … → proxy N → websiteEach hop is an ordinary proxy connection:
- HTTP proxies chain with CONNECT: the app asks proxy 1 to open a tunnel to proxy 2, then sends a second CONNECT through that tunnel asking proxy 2 to open a tunnel to the site. TLS to the site runs inside the innermost tunnel, end to end.
- SOCKS proxies chain the same way: a SOCKS connection to proxy 2 is opened through proxy 1.
- Upstream proxies chain on the server side: proxy 1 is configured to forward everything it receives to proxy 2. Your app only knows proxy 1.
What each hop sees: the first proxy sees your IP and the address of the next hop; the last proxy sees the previous hop's IP and the site you visit; the site sees only the last proxy's IP. With HTTPS sites, no hop can read the pages, because they travel inside your own TLS session.
What is a super proxy?
A super proxy is the entry server of a proxy network: the one host you connect to, which forwards your traffic to an exit IP in the provider's pool. The term is common in residential proxy networks. Seen this way, every rotating proxy service is a short chain run by the provider: your app, the entry server, then the exit IP that the site sees.
ProxyField's gateway, gate.proxyfield.io:7000, plays this role: you configure one address, and each request leaves from a residential or mobile IP in the pool, a new one per request or the same one for a sticky session up to 36 h. How the gateway picks IPs is covered in what a proxy pool is.
Why chain proxies
Most real chains have two hops and a practical reason:
- A company network that requires its own proxy. Traffic must leave through the office proxy first, so a proxy service can only be reached as the second hop.
- A local proxy in front of a proxy service. A local proxy handles authentication, routing rules or logging for apps that cannot send proxy credentials, and forwards everything upstream.
- Debugging. A local inspection tool shows the requests your scraper sends, then forwards them to the proxy service.
- Layering. Each hop sees only its neighbors, so no single proxy sees both your IP and the site. This only helps if the operators are independent and none of them logs; every extra hop is one more operator you trust.
For web scraping, a chain is rarely needed: one rotating residential proxy already gives each request a new IP. See proxies for web scraping.
How to set up a proxy chain
On Linux, with proxychains-ng. It forces a program's TCP connections through a list of proxies in order. In /etc/proxychains.conf (or proxychains4.conf):
strict_chain
proxy_dns
tcp_connect_time_out 8000
tcp_read_time_out 15000
[ProxyList]
# hop 1: the office proxy; hop 2: ProxyField
http 10.0.0.5 3128
http gate.proxyfield.io 7000 <login> <password>Then run proxychains4 curl https://api.ipify.org: the output is the ProxyField IP. More in Linux proxy settings.
With a local upstream proxy (Squid). Your apps point at Squid; Squid forwards everything to the proxy service:
cache_peer gate.proxyfield.io parent 7000 0 no-query default login=<login>:<password>
never_direct allow allFor debugging (mitmproxy). Run it in upstream mode and point your scraper at it; it shows each request and forwards it to the proxy service:
mitmproxy --mode upstream:http://gate.proxyfield.io:7000 --set upstream_auth=<login>:<password>mitmproxy decrypts HTTPS to show it, so your client must trust mitmproxy's certificate. Use this only on your own machine, for your own traffic, and never in production; the difference between tunneling and inspecting proxies is in what an SSL proxy is.
On Windows and macOS. Proxifier can chain proxies and apply the chain to chosen apps: Proxifier.
What chaining costs
Every hop adds a round trip, a handshake and a point of failure:
- Speed. Latency adds up hop by hop. Two hops on the same continent are usually fine; hops spread across continents slow every request. Place hop 1 close to you and the last hop close to the target.
- Reliability. If any hop fails, the request fails. A chain of three proxies with 99% availability each works about 97% of the time.
- Debugging. Errors such as 407 or 502 can come from any hop; test each hop on its own first. See why a proxy is not working.
- Trust. Each operator can see what reaches its hop. Chaining a free public proxy adds risk, not protection.
Proxy chain or VPN?
A VPN encrypts all of a device's traffic to one server; a proxy chain relays one app's traffic through several servers, without encryption between hops unless the app's own traffic is encrypted. If you want privacy on an untrusted network, a VPN is simpler. You can also combine them: a VPN on the device, then a proxy as the hop the site sees, as described in proxy vs VPN.
Need a reliable last hop? ProxyField residential proxies work as the exit of a chain over HTTP, HTTPS or SOCKS5, with 412M+ IPs in 195+ countries, from $1.95/GB with no subscription. Start with the Easy Trial: 1 GB for $2.95. Traffic never expires, and all purchases are final.
Proxy Chaining FAQ
What is proxy chaining in simple terms?
ProxyField can be the last hop of a proxy chain, with 412M+ residential IPs from $1.95/GB, and proxy chaining in simple terms means sending your traffic through two or more proxies in a row, so the site sees only the last proxy's IP. A typical chain puts an office or local proxy first and the proxy service last.
What is a super proxy?
A super proxy is a proxy network's entry server: you connect to it, and it forwards your traffic to an exit IP in the provider's pool. It makes every rotating proxy service a short chain, with the exit IP being the address the site sees.
How many proxies should a chain have?
Usually two: a local or company proxy, then the proxy service. Each extra hop adds latency and another point of failure, and more than three hops rarely helps unless every operator is independent.
Is proxy chaining the same as a VPN?
No. A VPN encrypts all of a device's traffic to one server; a proxy chain relays one app's traffic through several proxies and adds no encryption between hops. HTTPS sites stay encrypted end to end through either.
Does proxy chaining slow down my connection?
Yes, every hop adds a round trip and a handshake. Keep chains short, put the first hop near you and the last hop near the target, and test each hop on its own so you know where the delay comes from.
Do I need a proxy chain for web scraping?
Rarely. One rotating residential proxy already gives each request a new IP, so a chain only adds latency. Chain when your network forces traffic through its own proxy first, or when you put a local debugging or routing proxy in front of the proxy service.
Can I use proxy chaining on Windows?
Yes. Proxifier can build a chain of HTTP or SOCKS proxies and apply it to the apps you choose, and a local proxy such as Squid can forward to an upstream proxy service on any system.
How do I chain a proxy behind my own proxy server?
Configure your server to forward to the proxy service as its upstream: in Squid, a cache_peer line with the service's host, port and login=<login>:<password>, plus never_direct allow all. Your apps keep pointing at your server, and the site sees the proxy service's IP.
Is proxy chaining legal?
Proxy chaining is a way of routing traffic; whether a use is lawful depends on what you do through it and on the sites' terms, not on the number of hops. The general rules are in are proxies legal.
Related pages
Easy Trial: 1 GB for $2.95.
Try for the price of 1 GB, no subscription, traffic never expires.