Sign inSign up

fedorage/tor-simple-relay

By fedorage

•Updated almost 6 years ago

Simple Tor Relay Docker container

Image
0

1.4K

fedorage/tor-simple-relay repository overview

⁠Simple Tor Relay Docker container

This is a simple docker container to run the most updated version of tor on your computer in a safe way.

Now, you cannot say anymore: "I cannot create my node, it's too complicated'.

⁠Getting Started

⁠About tor

Find more information about tor on the officiel tor website https://www.torproject.org/⁠.

⁠Prerequisites

To run this container, you will need docker⁠ and docker-compose (optionnal).

⁠Reasons why you should use this container
  • Onion Router Port: 443
  • Directory Server Port: 80
  • Docker container running on separate user (tor)
  • Compiled from official source code⁠ with official, non altered code (see Dockerfile⁠)
⁠Relay Node example

docker-compose.yml

version: "2"
services:
  tor:
    image: fedorage/tor-simple-relay:latest
    ports:
      - "443:9001"
      - "80:9030"
      - "46396:46396"
    environment:
      TOR_EXTRA_CONF: |
        Nickname MyTorSimpleRelay
        ContactInfo [email protected]
⁠Relay Node but not exit node example

docker-compose.yml

version: "2"
services:
  tor:
    image: fedorage/tor-simple-relay:latest
    ports:
      - "443:9001"
      - "80:9030"
      - "46396:46396"
    environment:
      TOR_EXTRA_CONF: |
        Nickname MyTorSimpleRelay
        ContactInfo [email protected]
        Exitpolicy reject *:* # Exit node not allowed
⁠How to launch
docker-compose up -d

Then wait for 20 minutes, and check if your node is in the list of nodes in https://torstatus.blutmagie.de/⁠.

⁠Versioning

⁠On Git

We use Github for source versionning:

⁠On Docker Hub

We use Docker Hub for image versioning and auto-building docker images:

⁠Authors

⁠License

This project is licensed under the MIT License - see the LICENSE.md⁠ file for details.

Tag summary

Content type

Image

Digest

Size

312 MB

Last updated

almost 6 years ago

docker pull fedorage/tor-simple-relay