tor-relay

tor-relay

Docker 应用程序 from not_a_real_human's Repository

概述

This allows a tor to act as a relay on your Unraid system. It does NOT allow it to act as an exit node. It automatically enables account bandwidth tracking to prevent from using too much network bandwidth.

These are the container variables which can be modified:

IPV4_ONLY
OR_PORT
DIR_PORT
RELAY_BANDWIDTH_RATE
RELAY_BANDWIDTH_BURST
ACCOUNTING_MAX
ACCOUNTING_START
NICKNAME
CONTACT_INFO

A few defaults are pre-set, otherwise they are set by the container itself.

Two manual steps are required, in addition to one highly recommended configuration:

  1. (Step1) Users must create a data/ folder somewhere on their Unraid system, by default it is expected that this is at /mnt/user/appdata/tor-relay/data/
  2. (Step2) The root user must change the folder permissions to that of the unprivileged tor user. This is required for tor container to create a .tor folder to track bandwidth stats between reboots.
  3. (Configuration) Assign this container a static ip on the network, and forward the ports for OR_PORT and DIR_PORT to that static ip.

These two manual steps from above are:

mkdir -p /mnt/user/appdata/tor-relay/data/
sudo chown 100:100 /mnt/user/appdata/tor-relay/data/

The port forwarding configuration must be configured at the router.

要求

See overview.

运行时参数

网络
br0
外壳
sh
特权
false

模板配置

OR PortPorttcp
目标
9001
默认值
9001
价值
9001
DIR PortPorttcp
目标
9030
默认值
9030
价值
9030
Server data directoryPathrw
目标
/var/lib/tor/
默认值
/mnt/user/appdata/tor-relay/data/
价值
/mnt/user/appdata/tor-relay/data/
NICKNAMEVariable
价值
HelloWorldItsMe
ACCOUNTING_MAXVariable
默认值
300 GBytes
价值
320 GBytes
RELAY_BANDWIDTH_RATEVariable
默认值
512 KBytes
价值
512 KBytes
RELAY_BANDWIDTH_BURSTVariable
默认值
1024 KBytes
价值
1024 KBytes

下载统计数据

1,072
下载总数

详细信息

存储库
mitchellthompkins/tor-relay:latest
最后更新2026-05-01
初见2025-09-04

在Unraid 上运行 tor-relay 。

tor-relay 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。