Tor-Hidden InspIRCd · Zero Metadata · No Central Infrastructure
A fully anonymous, self-hosted IRC network tunnelled through a Tor hidden service. No phone numbers, no logs, no identity — just encrypted, onion-routed messaging across any device.
This project deploys an InspIRCd IRC server behind a Tor .onion hidden service, enabling fully anonymous real-time communication without relying on any centralised platform. All traffic is routed through Tor's SOCKS5 proxy, meaning neither the server nor the clients ever reveal real IP addresses.
Built and tested across three environments: WSL (Windows Subsystem for Linux), Kali Linux VM, and Android (via Termux + tmux).
- Full anonymity — Tor
.onionaddress; no DNS, no real IPs exposed - Privacy-by-design — no metadata, no phone numbers, no registration requirements
- Zero centralised infrastructure — self-hosted, self-contained
- Multi-platform — runs on Linux, WSL, and Android
- Containerised — Docker-based deployment for portability and reproducibility
- Verified traffic integrity — SOCKS5 routing validated with
tcpdumpandtorsocks - Multiple clients — WeeChat (terminal) and HexChat (GUI) both supported
[Client: WeeChat / HexChat]
│
│ SOCKS5 (127.0.0.1:9050)
▼
[Tor Client (local)]
│
│ Tor network (3-hop circuit)
▼
[Tor Hidden Service (.onion)]
│
│ localhost:6667
▼
[InspIRCd Server]
│
└── Channels, nicks, messages (no logs)
See ARCHITECTURE.svg for the full visual diagram.
| Tool | Purpose |
|---|---|
| Docker & Docker Compose | Container orchestration |
| Tor | Onion routing daemon |
| InspIRCd | IRC server (runs inside Docker) |
| WeeChat or HexChat | IRC clients |
| tcpdump | Traffic validation |
| torsocks | Force-proxy CLI tools through Tor |
git clone https://github.com/yourname/anon-irc
cd anon-ircdocker compose up -dThis brings up:
inspircd— the IRC server, bound to127.0.0.1:6667tor— the hidden service proxy, creating a.onionaddress
docker exec tor-container cat /var/lib/tor/irc_hidden_service/hostnameSave this address — it's the only way to reach your server.
/server add anonnet <your-onion>.onion/6667
/set irc.server.anonnet.proxy "tor"
/proxy add tor socks5 127.0.0.1 9050
/connect anonnet
- Open Network List → Add network
- Server:
<your-onion>.onion/6667 - Under Proxy: SOCKS5, host
127.0.0.1, port9050 - Connect
# Install dependencies
pkg install tor tmate tmux weechat
# Start Tor
tor &
# Start WeeChat in a persistent tmux session
tmux new -s irc
weechatConfigure WeeChat identically to the desktop setup, using the same SOCKS5 proxy settings.
Verify that no unproxied traffic leaks outside Tor:
# Watch all IRC-related traffic — should show only Tor localhost traffic
sudo tcpdump -i any port 6667 -n
# Confirm torsocks routes correctly
torsocks nc <your-onion>.onion 6667If tcpdump shows any traffic to a non-loopback address besides Tor's 127.0.0.1:9050, there is a proxy leak — do not use the connection until resolved.
services:
inspircd:
image: inspircd/inspircd-docker
volumes:
- ./inspircd.conf:/inspircd/conf/inspircd.conf
network_mode: host # binds to 127.0.0.1 only
tor:
image: torproject/tor
volumes:
- ./torrc:/etc/tor/torrc
- tor-data:/var/lib/tor
network_mode: host
volumes:
tor-data:This project was built with the following guarantees:
- No metadata — InspIRCd is configured with logging disabled
- No real IPs — hidden service means the server's IP is never exposed; SOCKS5 means the client's IP is never sent
- No registration — no email, no phone number, no account
- No persistence — channel history is not stored; messages exist only in transit
- Isolation — each Docker container has the minimum required network exposure
| Platform | Client | Status |
|---|---|---|
| WSL2 (Ubuntu) | WeeChat | ✅ Verified |
| Kali Linux VM | HexChat + WeeChat | ✅ Verified |
| Android (Termux) | WeeChat in tmux | ✅ Verified |
- Tor latency — expect ~1–3s message delays due to onion routing
- No TLS inside Tor — traffic between InspIRCd and the Tor hidden service is local loopback; Tor itself provides encryption over the network
- Single point of failure — if the host running InspIRCd goes down, the service is unavailable (no federation)
- Android stability — Termux background processes may be killed by the OS; use
termux-wake-lockto prevent this
- Keep your
.onionaddress private if you want a closed group - Rotate
.onionaddresses periodically by deleting/var/lib/tor/irc_hidden_service/and restarting Tor - Do not share the Docker host's real IP or hostname in any IRC channel
- Consider running the server on a VPS you access only over Tor
| Month | Milestone |
|---|---|
| Aug 2024 | Initial InspIRCd deployment + Tor hidden service setup |
| Aug 2024 | WeeChat + HexChat SOCKS5 client configuration |
| Aug 2024 | Traffic validation with tcpdump + torsocks |
| Sep 2024 | Docker containerisation of full stack |
| Sep 2024 | Android (Termux + tmux) client verified |
MIT — do whatever you want, but remember that anonymity tools carry responsibility. Use ethically.