Sign inSign up

aianus/tor-relay

By aianus

•Updated almost 11 years ago

Tor relay customizable via mounted volumes

Image
1

724

aianus/tor-relay repository overview

⁠tor-relay

⁠Usage

⁠Set up your config manually on your host file system
mkdir -p /srv/tor/etc/tor
mkdir -p /srv/tor/var/lib/tor
useradd -u 9001 -g 9001 tor
chown -R tor:tor /srv/tor/var/lib/tor
echo 'ORPort 443 NoListen' >> /srv/tor/etc/tor/torrc
echo 'ORPort 9001 NoAdvertise' >> /srv/tor/etc/tor/torrc
echo 'ExitPolicy reject *:*' >> /srv/tor/etc/tor/torrc
docker run -p 443:9001 -v /srv/tor/etc/tor:/etc/tor -v /srv/tor/var/lib/tor:/var/lib/tor aianus/tor-relay

⁠Persisting the Relay's Key

Your relay's key will be stored in the volume mounted ad /var/lib/tor

Tag summary

Content type

Image

Digest

sha256:3295e96f8…

Size

76.4 MB

Last updated

almost 11 years ago

docker pull aianus/tor-relay