Onion Pipe Client: Anonymous E2EE Sync Tunnel & Multiplexer over Tor
724
Onion-Pipe is an open-source anonymous webhook system maintained by the LOOHIVE Infrastructure Team. It allows you to receive webhooks on your local machine via the Tor network without any open ports or complex firewall configurations. It is the perfect tool for developers testing multi-service webhooks in a zero-trust environment.
By using the Onion-Pipe community relay network, you get a persistent, encrypted gateway that is identity-verified via GitHub.
Skip the manual tokens and authorize directly from your terminal:
docker run -it --rm loohive/onion-pipe login
Follow the prompts to log in via GitHub. It will provide the final command to start your tunnel.
First, generate your E2EE keys:
docker run --rm -v ./registration:/registration loohive/onion-pipe init
docker run -d --name onion-pipe \
-v ./registration:/registration \
-v ./onion_id:/var/lib/tor/hidden_service \
-e API_TOKEN="YOUR_API_TOKEN" \
-e SERVICES_MAP="/api=http://host.docker.internal:3000,/web=http://host.docker.internal:8080" \
loohive/onion-pipe
Use the following docker-compose.yml for multiplexed routing:
services:
onion-pipe:
image: loohive/onion-pipe:latest
container_name: loohive-gateway
environment:
- API_TOKEN=your_token_here
- RELAY_URL=https://onion-pipe.loohive.com
# Map multiple path prefixes to different backend services
- SERVICES_MAP=/api=http://app:3000,/web=http://ui:80
volumes:
- ./registration:/registration
- ./onion_id:/var/lib/tor/hidden_service
extra_hosts:
- "host.docker.internal:host-gateway"
restart: always
Note: SERVICES_MAP allows one .onion address to serve multiple backends. For example, a request to /h/token/api/login will be automatically routed to your app container on port 3000 at the path /api/login.
| Feature | Ngrok / Alternatives | LOOHIVE Onion-Pipe |
|---|---|---|
| Authentication | Shared Tokens | Personal GitHub Identity |
| Privacy | Centralized Snooping | Zero-Knowledge Architecture |
| Persistence | Random URLs (Free tier) | Permanent .onion Addresses |
| Security | Public Exposure | End-to-End X25519 Encryption |
| Multi-Service | 1 Address = 1 App | Multiplexer (Many-to-1) |
https://relay.com/h/your-token/api/test). The relay encrypts it instantly./api/test), decrypts it using your local private key, and forwards it synchronously to the mapped destination (http://api:3000/api/test).If you change your environment or need to refresh your relay mapping:
docker exec onion-pipe register
To rotate your E2EE identity (recommended every 90 days):
init again:docker run --rm -v ./registration:/registration loohive/onion-pipe init
docker exec onion-pipe register
/var/lib/tor/hidden_service volume to keep your .onion address forever.This is open-source software provided by LOOHIVE. Tor is a trademark of The Tor Project, Inc. All trademarks belong to their respective owners.
Content type
Image
Digest
sha256:0c08ac2ac…
Size
60 MB
Last updated
7 months ago
docker pull loohive/onion-pipe