Tor Entry Guard Bandwidth Requirements

This article provides a concise overview of the bandwidth, stability, and configuration criteria needed to operate a Tor entry guard. To become a guard, a relay must not only provide a minimum sustained data throughput but also maintain high availability and rank within the top tier of network relays as determined dynamically by Tor Directory Authorities.

To qualify for the Guard flag, a relay must meet both absolute baseline thresholds and relative dynamic standards set by the Tor network consensus:

Consensus Weight and Measurement

The bandwidth requirement is evaluated through active measurements rather than self-reported figures:

  1. Bandwidth Authorities (bwauths): Tor utilizes specialized scanner relays to regularly measure the real-world throughput of your node.
  2. Consensus Bandwidth: Your relay’s measured performance is combined into a consensus weight. The Guard flag is automatically granted when this weight crosses the current network threshold.
  3. Warm-Up Phase: New relays go through an initial testing period (often lasting several days to a few weeks) where traffic gradually scales up as authorities verify sustained capacity.

Crucial Uptime and Stability Requirements

Bandwidth alone is insufficient; an entry guard must demonstrate high reliability to prevent circuit disruptions:

Example Configuration

In the torrc configuration file, operators should ensure bandwidth parameters accommodate the guard threshold:

# Ensure sufficient rate limits (example values for a 20 Mbps allocation)
RelayBandwidthRate 2500 KBytes   # 2.5 MB/s (~20 Mbps)
RelayBandwidthBurst 3500 KBytes  # 3.5 MB/s peak allowance

If the relay maintains this throughput consistently alongside high uptime, the Directory Authorities will automatically append the Guard flag to the node’s consensus status.