Running a Tor relay

Also available in Italian.

For a few months in 2024 I ran a Tor middle relay. It isn’t running anymore, but it’s one of those small projects that taught me more than its size would suggest.

It started as a personal experiment more than anything else: a reason to finally get comfortable with SSH, a VPS, and the command line in general. But it wasn’t just that. Tor exists so people can route around censorship and surveillance, and for a lot of people around the world it isn’t a hobby — it’s a safety tool. Pointing some spare bandwidth at that felt like a small, concrete way to help.

Getting it running

I dipped into the topic after watching a Mental Outlaw video on YouTube, then set up the VPS myself: Debian, for stability and solid SSH access. It ended up being my first real hands-on experience with SSH, a VPS, and the command line in general — no dashboard, no GUI, just checking on the relay over the CLI.

Earning the network’s trust

I picked a middle relay on purpose: it only passes already-encrypted traffic between other relays in the circuit and never touches the final destination, so it doesn’t carry the abuse reports or legal exposure that come with running an exit node. It’s the easiest way to contribute real bandwidth without the headaches that put most people off.

One thing nobody tells you going in: a new relay’s traffic doesn’t just ramp up smoothly. For the first several days it trickles — Tor’s bandwidth authorities measure your relay conservatively until they trust what it can actually handle — and then, once it’s “vouched for,” traffic jumps hard as the network starts routing real load through it. If you’re thinking about running one yourself, it’s also worth checking that your VPS provider is actually Tor-friendly before committing; not all of them are.

The thank-you

After running it for several months, the Tor Project sent over an official shirt as a thank-you for keeping the relay up — still one of my favorite pieces of nerdy merch.

Black t-shirt with the text “Take back the internet with Tor” and a purple line-art illustration of a computer with an onion-shaped globe, an official Tor Project thank-you gift for running a relay
Official Tor Project swag for running a relay for several months

Looking back

The relay is gone now, but the experience stuck: it’s where SSH and a VPS stopped being abstract concepts and became things I was actually comfortable with, plus a reminder that contributing to infrastructure other people depend on doesn’t take much — just some bandwidth and the willingness to leave something running.

If you have spare bandwidth and want to help, the Tor Project has guides for running your own relay.

To be continued

Filed under#tor#privacy#self-hosting

Keep reading

The project behind this postTor middle relayA Tor middle relay on a small VPS for a few months in 2024: my first real work with SSH and a server, and a small contribution to a free, reachable internet.Archived
  1. Also on #self-hostingWatching small VPSes without drowning in emails
  2. Also on #self-hostingA WireGuard VPN for work, step by step

Here, live

Presence

Thomas’s avatarFrieren, as Thomas’s avatarAsuka, as Thomas’s avatarRei, as Thomas’s avatarStatus unknown

Bari, Apulia
Bari, Apulia ·  local time
Now editing
—in—

Connecting…Blooming… (connecting)Synchronising… 82.4%. Obviously.Connecting. I will wait.

Viewers

Right now on site
—
On this page
—
All-time, site
—
All-time, this page
—

last 14 days · No tracking cookies, no IPs stored.

Connecting…Blooming… (connecting)Synchronising… 82.4%. Obviously.Connecting. I will wait.

Contents