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

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).
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
- Stratum and Stratum V2 – how a miner communicates with the pool.
- How to get a mining farm up and running – network, electricity and cooling.
- Mining wiki: all terms
Sources
- Braiins Academy: Farm Proxy (introduction, features, FAQ)
- GitHub: braiins/farm-proxy
- Braiins: Why miners need farm proxies (2022)
- Braiins Academy: SV2 Proxy
- stratumprotocol.org: Mining Proxy, Translator and JD Client roles
- stratumprotocol.org: message size and encryption
- GitHub: stratum-mining/sv2-apps
- Foundry: What is a stratum proxy
- Sophos: BGP hijacking for cryptocurrency profit (2014)
Updated 2 December 2026.
Frequently asked questions
Do I need a stratum proxy for a single miner at home?
Will a proxy reduce my pool reward?
What happens if the proxy goes down?
Is Braiins Farm Proxy free?
Does a proxy protect against hashrate hijacking?
This text was prepared with the help of AI. Facts, figures and procedures were checked by Yegor.