Tor Private Network
  • Go 48.2%
  • Shell 48.2%
  • Dockerfile 3.6%
Find a file
2026-02-07 02:41:44 +00:00
internal Initial commit 2026-02-07 02:41:44 +00:00
scripts Initial commit 2026-02-07 02:41:44 +00:00
.gitignore Initial commit 2026-02-07 02:41:44 +00:00
.golangci.yml Initial commit 2026-02-07 02:41:44 +00:00
Dockerfile Initial commit 2026-02-07 02:41:44 +00:00
go.mod Initial commit 2026-02-07 02:41:44 +00:00
main.go Initial commit 2026-02-07 02:41:44 +00:00
README.md Initial commit 2026-02-07 02:41:44 +00:00

Tor Private Network

Docker-based private Tor network orchestration. Provisions 1 Directory Authority, 2 Relays, and 1 Exit Node.

Requirements

  • Go 1.25+
  • Docker
  • Docker Compose v2

Usage

  1. Clone the repository:

    git clone https://git.mrmave.work/maverick/tor-private-network.git
    cd tor-private-network
    
  2. Generate configuration:

    go run main.go generate
    
  3. Start network:

    go run main.go run
    
  4. Verify connectivity:

    docker run --rm --network tor-private-network_tornet curlimages/curl:latest --socks5 tor-relay1:9050 https://check.torproject.org/api/ip
    
  5. Cleanup:

    docker compose down -v
    docker run --rm -v $(pwd):/work alpine rm -rf /work/data