Stratum V1 TLS, V2 & Farm Proxy
DodaRig supports both Stratum V1 (plain TCP and TLS-encrypted) and Stratum V2, plus an integrated Stratum Proxy for managing multi-rig mining farms.
1. Encrypted Stratum V1 (TLS)
Almost all modern Monero pools recommend TLS to protect your worker traffic and prevent ISP/network tampering. DodaRig uses tokio-rustls + webpki-roots for zero-dependency TLS encryption.
Enable TLS in either of two ways:
- Use a
stratum+ssl://ortls://prefix in your pool URL:dodarig -o stratum+ssl://pool.supportxmr.com:443 -u YOUR_WALLET -p rig1 - Or set
tls = trueinconfig.toml(or pass--tls true).
2. Stratum V2 Auto-Negotiation
By default (stratum_version = "auto"), DodaRig attempts a Noise-encrypted Stratum V2 connection first and automatically falls back to Stratum V1 if the pool only speaks V1.
You can force a specific protocol via --stratum-version v1 or --stratum-version v2.
3. Built-in Stratum Farm Proxy
If you run multiple rigs on the same local network, you can run one DodaRig instance as a Stratum Proxy so all rigs share a single upstream pool connection with automatic primary/backup failover:
[proxy]
enabled = true
listen_address = "0.0.0.0"
listen_port = 3333
upstream_url = "pool.supportxmr.com:3333"
upstream_user = "YOUR_MONERO_WALLET_ADDRESS"
upstream_pass = "farm-proxy"
difficulty = 10000
backup_upstream_url = "xmr-eu1.nanopool.org:14444"Point your downstream rigs to <PROXY_IP>:3333, and monitor connected downstream sessions via GET /api/proxy/connections (see HTTP API, Metrics & Fleet).
Related Documentation
- Multi-Coin Profiles & Setup Wizard — Save TLS pool configs in profiles.
- CLI & Web GUI Reference — Proxy and Stratum CLI flags.
- DodaRig Product Overview — Compare DodaRig’s Stratum V2 & proxy support against other miners.