Pool a výplaty

Stratum proxy for a mining farm: what it is and when it pays off

Author: Updated 7 min read

Stratum proxy for a mining farm – PC Praha

A stratum proxy is a program on a mining farm's network that all the miners connect to and that forwards their work to the pool over one (or a handful of) shared connections. Instead of hundreds of internet connections, the farm maintains just a few, saves data, can switch to a backup pool automatically, and the connection to the pool can be encrypted. For one or two machines at home, you don't need a proxy.

Summary

  • Miners connect to the proxy on the local network, and the proxy connects to the pool. The pool sees one large connection instead of many small ones.
  • Main benefits: fewer connections and less data, fast failover to a backup pool, monitoring of the whole farm, and encryption towards the internet (Stratum V2).
  • Risks: the proxy is a single point of failure – without a backup instance, the whole farm can stop if it goes down.
  • Free tools: Braiins Farm Proxy, Braiins SV2 Proxy and the open-source Translator from the Stratum V2 suite (SRI).
Explanation:

Simply put: a stratum proxy is like a company switchboard

Imagine a large company where every employee calls the supplier on their own phone. The supplier would get hundreds of calls, the lines would be overloaded, and if the supplier went bust, everyone would have to find a new one on their own. It makes more sense to have a switchboard: employees only call the switchboard, and the switchboard keeps a single line open to the supplier. If the supplier doesn't pick up, it switches to a backup one – and the employees don't notice a thing.

A stratum proxy is exactly that kind of switchboard for miners. All the machines on the farm connect to one computer on the local network (even a small computer such as a Raspberry Pi will do), and it talks to the pool on their behalf. Stratum is the "language" a miner uses to talk to the pool.

What this means for you:

  • At home with one or two machines, you don't need a proxy. It pays off from a few dozen machines upwards, or when your internet connection is weak or expensive.
  • A pool outage is no problem. The proxy redirects all machines to the backup pool at once.
  • Less data over the internet. Braiins states that its proxy transfers roughly 95% less data.
  • The proxy needs a backup. If the only computer running the proxy fails, the whole farm stops mining.

Example as of 2 December 2026: a farm with 100 Antminer S21 XP machines (270 TH/s) has 27 PH/s of hashrate, which means roughly 15,900 Kč a day gross. An hour of downtime caused by a pool outage costs it about 660 Kč – a proxy with a backup pool gets it back to work within seconds. This is not investment advice.

You will find the details, with figures and tables, in the technical explanation.

How a stratum proxy works

Without a proxy, each miner opens its own TCP connection to the pool, logs in with a worker name and submits shares. With a proxy, there are two sides:

  • Downstream – the miner → proxy connection on the local network (usually Stratum V1, which every miner supports).
  • Upstream – the proxy → pool connection (Stratum V1, V1 over TLS, or encrypted Stratum V2).

With aggregation, the proxy divides the search space among the machines: each miner gets its own slice of the extranonce (called the "extranonce prefix" in the Stratum V2 reference implementation), so that no two machines compute the same thing. Towards the pool, it then appears as a single large miner. Because of the higher hashrate, the pool sets a higher share difficulty for it (vardiff), so the proxy only sends upstream a fraction of the shares it receives from the miners. This does not change the payout – a higher share difficulty means each share carries more weight.

Our own calculation: how many connections and messages a proxy saves

A farm of 100 × Antminer S21 XP (270 TH/s) = 27 PH/s. Let's assume the pool sets the difficulty so that each connection delivers a similar number of shares per minute:

Without proxy With proxy (aggregation)
Internet connections 100 1 + 1 backup
Worker logins at the pool 100 1 (or 100 with identity pass-through)
Shares sent to the pool 100 × N ≈ 1 × N (a saving of around 99%)
Hashrate and reward 27 PH/s 27 PH/s (unchanged)

With 100 machines, the theoretical saving in messages is around 99%. In its Farm Proxy tests, Braiins measured roughly 95% less data, and its documentation gives an example in which 2,320 connections from miners were reduced to 46 connections to the pool. Stratum V2 also makes the messages themselves smaller: the average message shrinks from roughly 100 bytes (V1, unencrypted) to 48 bytes (V2, encrypted), and a single TCP connection can carry up to 232 channels.

Why farms use a proxy

  • Failover: the proxy measures the connection quality to several pool servers and switches the whole farm at once if one goes down.
  • Hashrate splitting: part of the hashrate can be sent to another pool or to a customer (e.g. when renting out hashrate).
  • Security: unencrypted Stratum V1 traffic on the internet can be redirected. In 2014, an attacker used BGP hijacking of 51 networks at 19 providers to redirect miners to his own pool, earning an estimated USD 83,000. When only one encrypted connection from the proxy goes out to the internet, such an attack is much harder. Find out more in our guide Hashrate hijacking.
  • Monitoring: Farm Proxy includes Prometheus and Grafana with an overview of hashrate and rejected shares across the whole farm.

Drawbacks and what to watch out for

  • Single point of failure. Both Foundry and Braiins recommend a second proxy instance – not just a backup pool configured directly in the miners.
  • Latency. A proxy adds a small delay, which can slightly increase the proportion of stale shares. That is why the proxy belongs on the same local network as the miners.
  • Worker statistics. With aggregation, the pool sees one large worker. Braiins points out that with identity pass-through, individual machines may appear inactive on the pool's page even though they are mining – in that case, the machines need to be monitored in the proxy.
  • The local network stays unencrypted. The miner → proxy connection mostly runs over Stratum V1, so you need a separate, secured network for your miners.

Overview of free proxies (as of 2 December 2026)

Tool Licence Deployment Protocols
Braiins Farm Proxy free, proprietary Docker Compose, Linux (AMD64, ARM64, ARMv7), at least a Raspberry Pi 3 with 4 GB aggregation, failover, hashrate splitting, Grafana
Braiins SV2 Proxy free Linux with systemd, or Windows via WSL2, no Docker V1 and V2 miners on a single port; upstream V2, V1 with TLS or V1; optional aggregation
Translator Proxy (SRI) open source sv2-apps suite (alpha) translates V1 miners to Stratum V2, aggregated and non-aggregated mode

Braiins states that SV2 Proxy and Farm Proxy share code and plans to merge them. Always check the current documentation before deployment.

What next

Sources

Updated 2 December 2026.

Frequently asked questions

Do I need a stratum proxy for a single miner at home?
No. A proxy pays off from a few dozen machines upwards, or when your internet connection is weak or expensive. One or two miners connect directly to the pool.
Will a proxy reduce my pool reward?
No. A proxy only combines the work of the machines; hashrate and reward stay the same. The pool sets a higher share difficulty, so each share carries more weight.
What happens if the proxy goes down?
Without a backup, all the machines that go through it stop mining. That is why a second proxy instance on a different computer is recommended.
Is Braiins Farm Proxy free?
Yes, Braiins offers it free of charge, but under its own licence – it is not open source. The open-source alternative is the Translator from the Stratum V2 suite (SRI).
Does a proxy protect against hashrate hijacking?
It helps: only one connection goes out to the internet, and it can be encrypted via Stratum V2 or TLS. However, the local network between the miners and the proxy needs to be secured separately.

This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.

More articles in Mining wiki