Tor Relay Configuration Generator

Generate secure torrc configurations for Middle/Guard, Exit, or Bridge relays. Review Tor documentation and local laws before deployment.

❄️

Want to run a Snowflake Proxy instead? Snowflake is a lightweight way to help censored users without running a full Tor relay. It doesn't require torrc configuration. Learn more about Snowflake →

Configuration Options

Identity & Contact
Network Settings
Bandwidth & Limits
Advanced Options
Generated Configuration

Copy this into /etc/tor/torrc:

After applying your configuration, restart Tor: sudo systemctl restart tor

Understanding Tor Relay Types

Tor relays are servers that help route traffic through the Tor network. Different relay types serve different roles:

Middle/Guard Relay

Middle relays route traffic between other relays. High-performing relays may be promoted to Guard status by Directory Authorities, becoming trusted entry points.

Risk: Low — never sees destination traffic.

Exit Relay

Exit relays are the final hop, connecting to destination websites on behalf of Tor users. They require careful exit policy configuration.

Risk: Medium — may receive abuse complaints.

Bridge

Bridges are unlisted relays that help censored users access Tor. They can use pluggable transports like obfs4 or WebTunnel to disguise traffic.

Risk: Low — helps bypass censorship.