An SSH client that tunnels through DNS. Built for censorship resistance, identity-aware access, and ultra-portable deployment --- with a single binary.
tapeworm
is a hardcoded SSH-over-DNS tunneling system. The client connects through DNS, tunnels traffic to your SSH server, and launches a login shell --- no configuration, no extra setup. Just run the binary.
It's designed for drop-in deployment: you hand out the client binary, users run it, and they're dropped into an SSH session tunneled over DNS.
The full stack used at transirc.chat:
User runs tapeworm-client
โ
DNS Tunnel via port 5353/UDP
โ
tapeworm-server
โ
Custom SSH Server (supports PROXY protocol)
โ
IRC Terminal Environment (NickServ-authenticated)
โ
Weechat or other IRC Client
-
๐ Client IP is preserved via PROXY protocol v1 at every step
-
๐ง NickServ-based SSH authentication ensures verified IRC identity
-
๐ IRC access via Weechat + custom terminal environment
-
๐งณ No tun/tap required --- it's a proxy, not a VPN
# Compile the server binary
go build -o tapeworm-server tapeworm-server.go
# Start it with your config
./tapeworm-server config.conf
-
Listens on
UDP/5353
for incoming DNS tunnel clients -
Forwards SSH traffic to your backend SSH server
-
Sends PROXY v1 headers so backend knows the real client IP
# Compile the client
go build -o tapeworm-client tapeworm-client.go term_resize_unix.go (or for windows term_resize_windows.go)
# The just run the binary
./tapeworm-client
-
No arguments needed --- everything is embedded
-
Immediately connects to the DNS tunnel server
-
Launches an SSH session through the tunnel
Every hop in this system uses PROXY protocol v1 to preserve the original IP. This allows:
-
Accurate session logging
-
Proper NickServ authentication on IRC
-
Enforcing bans/rate-limits per user
-
Seamless identity flow across tunnel โ SSH โ IRC
[ tapeworm-client ]
โ DNS packets over UDP 5353
โผ
[ tapeworm-server ]
โ PROXY v1 header
โผ
[ custom SSH server ]
โ NickServ-auth
โผ
[ IRC + Weechat + SSH Env ]
-
โ Standalone binary (no tun/tap, no config)
-
โ DNS tunnel over UDP 5353
-
โ PROXY protocol v1 support
-
โ Designed to work with NickServ-auth SSH setups
-
โ Portable (works on Linux, targeting Windows next)
-
โ Optimized for locked-down and censored networks
TransIRC is a welcoming, self-hosted IRC community for trans and gender questioning individuals. Our SSH and DNS-tunnel system was built to:
-
Provide safe IRC access in hostile or filtered environments
-
Maintain accountability with NickServ-verified identities
-
Let users access a full terminal-based IRC + utility experience over SSH
We're releasing tapeworm
so others can build similar secure and identity-aware networks.