loohive/tor

By loohive

•Updated 3 months ago

LOOHIVE Tor: Hardened Proxy & Onion Sidecar Suite for Anonymity and NAT-less Hosting

Image
Networking
Security
Developer tools
0

2.4K

loohive/tor repository overview

⁠ Tor Proxy & Hosting Suite (maintained by LOOHIVE)

Docker Pulls Docker Image Size Build Status

āš ļø UNOFFICIAL IMAGE This is an unofficial Tor client image maintained by LOOHIVE⁠. It is built directly from official Tor Project repositories⁠. This project is not affiliated with, endorsed by, or sponsored by The Tor Project.


ā šŸš€ Overview

The Tor Proxy & Hosting Suite (maintained by LOOHIVE) is a production-hardened collection of specialized Tor tools. It is designed to solve complex anonymity and hosting challenges with three distinct modes:

  • Standard Proxy: High-performance, slim SOCKS5 client.
  • Rotating Identity: Multi-instance load balancer for automated IP rotation and web scraping.
  • Onion Sidecar: Production-grade hosting gateway that bypasses NAT/Firewalls to expose internal services as .onion sites.

Designed for developers and DevOps teams, this suite provides reliable, zero-maintenance infrastructure for both individual privacy and global decentralized hosting.

⁠Key Features:
  • šŸ›”ļø Security Hardened: Runs as a non-root user (debian-tor).
  • šŸ”„ IP Rotation: Optional rotating tag for high-performance scraping and identity rotation.
  • šŸ§… Onion Hosting: Optional onion tag to instantly "sidecar" any web app into a .onion service.
  • šŸ”„ Fully Automated: Rebuilt weekly to ensure the latest Tor binary and OS security patches.
  • 🩺 Integrated Healthchecks: Periodic internal checks verify proxy activity (latest/rotating tags).

ā šŸŽÆ Use Cases

ā šŸ›”ļø Standard Client (latest)
  • Anonymous Browsing: Route your local browser traffic through a secure SOCKS5 proxy.
  • Privacy Testing: Verify how your applications behave when accessed from different global locations.
  • Lightweight Integration: Perfect for CLI tools or apps that need basic anonymity with minimal overhead (~40MB).
ā šŸ”„ Rotating Identity (rotating)
  • Web Scraping: Aggregate data from public sources without hitting IP-based rate limits or bans.
  • API Load Testing: Simulate traffic coming from multiple unique identities to test system resiliency.
  • Market Research: Access region-locked data or price-comparison sites across different Tor exit nodes.
ā šŸ§… Onion Sidecar (onion)
  • No-IP Hosting: Host a website or API from your home computer or local server without needing a Static IP or port forwarding.* Security First: Automatic SSL Termination. Expose your service over https:// with auto-generated self-signed certificates.* Bypass Restrictions: Access your internal dashboard (Grafana, Admin UI) securely while behind strict corporate firewalls or CGNAT.
  • Secure IoT Gateways: Connect to your smart home or remote devices using a private .onion address that works globally.

ā šŸ› ļø Usage

⁠Standard Client (Single Identity)

Run the latest stable version (slim image ~40MB):

docker run -d --name tor-client -p 9050:9050 loohive/tor:latest
⁠Rotating Proxy (Multi-Identity)

For automated rotation, use the multi-instance version:

docker run -d --name tor-rotating -p 9050:9050 -e TOR_INSTANCES=10 loohive/tor:rotating
⁠Onion Sidecar (Production-Ready Hosting)

Expose any web service (Nginx, Apache, Node.js, PHP, etc.) as a hidden service instantly.

Why it's powerful:

  • 🌐 Production-Ready: Full support for CRUD operations (POST, PUT, DELETE), cookies, and deep subpage routing.
  • ļæ½ Dual Protocol: Automatically exposes your service via both HTTP (80) and HTTPS (443) with built-in SSL termination.
  • šŸ›”ļø NAT & Firewall Bypass: Works behind CGNAT and strict firewalls. No port forwarding or static IP required.
  • šŸš€ Automated Identity: Dynamically generates your .onion address and prints it to your logs on first run.

Terminal Output Example:

***************************************************
 šŸš€ ONION SIDECAR ACTIVE
 šŸ“ PUBLIC ONION: http://v2c3...f4g5.onion
 šŸ”’ SECURE ONION: https://v2c3...f4g5.onion
***************************************************

ā šŸ—ļø Docker Compose Examples

⁠1. Standard Client (tor:latest)
services:
  tor:
    image: loohive/tor:latest
    ports:
      - "9050:9050"
⁠2. Rotating Proxy (tor:rotating)
services:
  proxy:
    image: loohive/tor:rotating
    ports:
      - "9050:9050"
    environment:
      - TOR_INSTANCES=10
⁠3. Onion Sidecar (tor:onion)
services:
  website:
    image: nginx:alpine
  
  tor-gate:
    image: loohive/tor:onion
    environment:
      - TARGET=website:80
    volumes:
      - ./tor-keys:/var/lib/tor/hidden_service

ā šŸ·ļø Supported Tags

  • latest, stable: Single Tor instance (Slim image).
  • rotating: Multi-instance Tor proxy with built-in load balancing.
  • onion: Onion Sidecar for hosting hidden services.

ā šŸ¤ Maintainer & Support

Maintained by the LOOHIVE Infrastructure Team.

Tor is a trademark of The Tor Project, Inc. This project is a community-driven implementation managed by LOOHIVE and is not an official product of The Tor Project. All logos and trademarks belong to their respective owners.

Tag summary

Content type

Image

Digest

sha256:c904cb767…

Size

45.6 MB

Last updated

3 months ago

docker pull loohive/tor:onion-0.4.9.6.