One command installs Tor, generates a v3
.onionhidden service, installs aaPanel (a free web hosting control panel), and adds two free Impreza Host plugins so you create, manage and protect your hidden service from the panel UI — no SSH after setup.
Maintained by Impreza Host · 📚 Docs · 📖 Tutorial: run a .onion site
🧅 Tor + a v3 .onion |
Installed, enabled, with a hidden service ready on port 80 |
| 🎛️ aaPanel | Free control panel — websites, PHP, databases, FTP, phpMyAdmin |
| 🧩 Tor Manager | Create/manage .onion services, edit torrc, generate vanity addresses — from the panel |
| 🛡️ Onion Guard | Proof-of-Work + firewall + reverse proxy that shields your .onion from bots & DDoS |
Tested on Ubuntu 20.04 / 22.04 / 24.04 and Debian 11 / 12.
SSH into a fresh server as root and run:
git clone https://github.com/imprezahost/aapanel-tor-network.git
cd aapanel-tor-network
bash tor.shNo
git? Runapt install -y gitfirst.
When it finishes you'll see your aaPanel login details and your .onion address — keep them safe. Both plugins are waiting under App Store → Installed.
Both are free and open source, installed automatically by the script (or add them to any existing aaPanel — see each repo). Because they read /etc/tor/torrc, the hidden service the script creates is picked up by both with zero extra config.
🧩 Tor Manager — provision
Install Tor, create and manage .onion hidden services, and edit the full torrc, all from aaPanel:
- Create / list / remove hidden services; map ports to local backends
- One-click vanity
.oniongenerator (mkp224o) - Categorised
torrceditor withtor --verify-configvalidation before save - Add to aaPanel — register a hidden service as a website in one click
- Back up your hidden-service keys as a zip · live Tor logs
🛡️ Onion Guard — protect
Keep bots, scrapers and DDoS off your hidden service — no third-party CAPTCHAs, never leaving Tor:
- Browser Proof-of-Work challenge (SHA-256), adaptive difficulty under load
- No-JavaScript fallback (server-rendered CAPTCHA) for hardened Tor Browser
- Per-path & per-User-Agent firewall + per-IP rate limiting
- Auto-discovers your hidden services and reverse-proxies them (nginx/Apache)
- Custom branding on the challenge page
Tor Manager → creates & configures hidden services in torrc
│
▼
Onion Guard → auto-discovers them, applies PoW + firewall + proxy
│
▼
your app (WordPress, a forum, your own code …)
- Log in to aaPanel with the details the script printed.
- Install a web stack (nginx/Apache + PHP + a database) from the software store — or skip it if you serve something else.
- Open Tor Manager → your
.onionis already listed; create more, or a vanity one. - Open Onion Guard → turn on Proof-of-Work + firewall for your
.onion. - Under Website, add your
.oniondomain → you're live on Tor.
📖 Step-by-step walkthrough: https://community.imprezahost.com/d/114-run-a-onion-site-on-your-impreza-vps
aaPanel hosts whatever you want. You can serve the same site on both the clear web and Tor:
- Create your site on a normal domain (
.com, etc.) under Website. - Create a second site for your
.onionand point its Website Path at the same directory.
Same content, two front doors — one indexed on the surface web, one private over Tor.
Impreza Host's one-click app catalog — WordPress, Nextcloud, Gitea, n8n, Vaultwarden, Matrix and more — can deploy with a
.onionmirror built in.
Impreza Host provisions Tor + aaPanel + Tor Manager + Onion Guard for you automatically. Pick Tor Hosting at checkout and your panel and .onion tooling are ready in minutes — we run the server, you click.
- After install, change the aaPanel username, password and port (Panel → Settings).
- Do not install SSL / Let's Encrypt on a
.onion— Let's Encrypt doesn't issue for.onion, and Tor already encrypts the connection end to end. Need HTTPS on a.onionanyway? Talk to us. - Back up your keys. Losing
/var/lib/tor/<service>/hs_ed25519_secret_keymeans losing your address forever — Tor Manager has a one-click key backup.
| 🌐 Home | https://impreza.host |
| 📚 Docs | https://docs.imprezahost.com |
| 📖 Tutorial | https://community.imprezahost.com/d/114-run-a-onion-site-on-your-impreza-vps |
| 🧩 Tor Manager | https://github.com/imprezahost/tor-manager |
| 🛡️ Onion Guard | https://github.com/imprezahost/onion-guard |
| 💬 Community | https://community.imprezahost.com |
Maintained by Impreza Host — managed .onion hosting, the easy way. Issues and pull requests welcome.