Sign inSign up

magy/tor-middle-relay

By magy

Updated about 8 years ago

A simple docker with Alpine to host a TOR middle relay

Image
1

216

magy/tor-middle-relay repository overview

tor-middle-relay

Minimal docker container to host a TOR middle relay

The image is based on great Alpine Linux distribution so it is has extremely low size (less than 5 MB).

Star this project on Docker Hub :star2: https://hub.docker.com/r/magy/tor-middle-relay/

Based on Jessfraz Docker.

Ports

  • 9050 SOCKSv5 (without auth)

Volumes

  • /var/lib/tor data dir.

Getting started

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull magy/tor-middle-relay

Alternatively you can build the image yourself.

docker build -t tor github.com/Magy/tor-middle-relay
Quickstart
docker run -p 127.0.0.1:9001:9001 --name tor magy/tor-middle-relay

# or
docker-compose up

Environment variables

NameDescriptionDefault value
RELAY_NICKNAMEThe nickname of your relayhackdc
CONTACT_GPG_FINGERPRINTYour GPG ID or fingerprintnone
CONTACT_NAMEYour namenone
CONTACT_EMAILYour contact emailnone
RELAY_BANDWIDTH_RATELimit how much traffic will be allowed through your relay (must be > 20KB/s)1000 KBytes
RELAY_BANDWIDTH_BURSTAllow temporary bursts up to a certain amount1000 KBytes
RELAY_PORTDefault port used for incoming Tor connections (ORPort)9001

Tag summary

Content type

Image

Digest

Size

6.4 MB

Last updated

about 8 years ago

docker pull magy/tor-middle-relay