Engineered for maximum data sovereignty, strict operational security (OPSEC), and physical anti-forensics.
PhantomNode OS is a self-hosted, sovereign server operating environment built on Debian 12 (Bookworm) and Kicksecure. It combines the clean, visual user experience of CasaOS and Umbrel (responsive Web Dashboard, 1-Click App Store, real-time system telemetry) with stringent OPSEC Level 1β4 cybersecurity, cryptography, and anti-forensics principles.
- IP & Geolocation Leaks: Conventional home cloud systems require router port forwarding (UPnP / NAT traversal) or centralized dynamic DNS. This exposes the operator's real residential IP address, ISP identity, and physical location to network observers and automated port scanners.
- Lack of Tor v3 Service Isolation: Traditional setups do not dynamically generate isolated, per-service Tor v3
.onionendpoints with end-to-end cryptographic authentication. - DNS Leak Vectors: Default container configurations frequently bypass local recursive DNS resolvers and leak domain queries to ISP or upstream DNS servers.
- No Physical Anti-Forensics Protections: Standard home servers provide zero hardware-level defenses against physical device seizure, cold-boot memory extraction, or unauthorized USB access.
- Zero-Port-Forwarding & Tor v3 Isolation:
Every deployed application runs strictly without router port forwarding. Remote access is powered by cryptographic Tor v3 Hidden Services (
.onion), accessible from anywhere in the world via Tor Browser or Orbot without leaking the server's public IP address. - Local LAN + Tor Dual Accessibility:
Containers bind to all local network interfaces (
0.0.0.0) inside a hardened UFW firewall zone, allowing seamless local network access (http://<LAN_IP>:<Port>) alongside the private.onionlink. - Automated Port Conflict Resolution: Before deploying any container, PhantomNode scans both host sockets and installed service manifests. If a requested port is already occupied (e.g. port 3000), it automatically allocates the nearest available free port, preventing deployment failures.
- DNS Leak Proofing: Containers are prevented from querying external commercial DNS resolvers. All queries are resolved through local recursive Unbound instances, AdGuard Home, or Tor-based encrypted resolvers.
- Kernel & Network Sysctl Hardening:
TCP timestamps are disabled to prevent uptime-based OS fingerprinting. Additional protections include reverse-path filtering (
rp_filter), ICMP redirect denial, BPF JIT hardening, restricteddmesgaccess, and kernel panic reboot mitigations. - Physical Anti-Forensics Triggers:
- USB Dead Man's Switch (
nukeusb): If an unauthorized USB device is inserted (or a monitored USB token is pulled), the system instantly flushes memory buffers and forces an emergency power shutdown (poweroff -f). - HID Input Trap (
emergency-hid): Monitored mouse movement or unauthorized keyboard input on a headless server immediately triggers an emergency halt. - 1-Click Emergency Panic Button: Cache flush,
swapoff -aand forced shutdown directly from the Web Dashboard. Nuke mode also runscryptsetup luksSuspendon every encrypted volume, wiping the disk keys from kernel memory before an instant SysRq power cut. The USB and HID triggers run the same sequence (PHANTOM_PANIC_MODE=nuketo make them nuke too).
- USB Dead Man's Switch (
| Application | Category | OPSEC Level | Description |
|---|---|---|---|
| AdGuard Home | Network & DNS | OPSEC Level 1 | Network-wide ad, tracker, and malware blocker with encrypted upstream DNS (DoH, DoT, DoQ). |
| Deluge BitTorrent | P2P & Torrents | OPSEC Level 1 | Lightweight BitTorrent client with Web UI, headless daemon for desktop thin clients, and proxy support. |
| Dockge | System Admin | OPSEC Level 1 | Reactive, self-hosted Docker Compose stack manager with interactive web terminal and visual editor. |
| Tor Snowflake & Proxy | Encrypted Network | OPSEC Level 3 | Censorship-resistant Tor SOCKS5 & Privoxy HTTP proxy routed via Snowflake WebRTC, with built-in volunteer relay. |
| Monero Node & Dashboard | Financial Privacy | OPSEC Level 3 | Full validating Monero (XMR) blockchain node with real-time web dashboard (block height, sync progress, peers). |
| Nextcloud Hub | Cloud & Storage | OPSEC Level 2 | Self-hosted sovereign cloud storage, calendar, and contacts behind isolated Tor onion routing. |
| Vaultwarden | Passwords & Auth | OPSEC Level 1 | Lightweight Bitwarden-compatible password vault written in Rust with zero-knowledge client encryption. |
| WireGuard (WG-Easy) | Encrypted Network | OPSEC Level 2 | High-performance WireGuard VPN server with responsive Web UI and 1-click QR code client profile generator. |
| I2Pd Darknet Router | Encrypted Network | OPSEC Level 3 | Lightweight C++ Invisible Internet Project (I2P) router with built-in HTTP and SOCKS5 client proxies. |
| SimpleX Chat Server | Encrypted Comms | OPSEC Level 3 | Sovereign SMP message broker and XFTP media relay without user identifiers, phone numbers, or metadata graphs. |
| Matrix Synapse | Encrypted Comms | OPSEC Level 2 | Federated, end-to-end encrypted team chat and voice communications server compatible with Element. |
| Syncthing | Continuous Sync | OPSEC Level 1 | Decentralized, peer-to-peer file synchronization system encrypted in transit without central storage. |
| FileBrowser | Cloud & Storage | OPSEC Level 1 | Clean, lightweight web-based file manager for uploading, editing, and sharing files over LAN or Tor. |
| Pi-hole + Unbound | Network & DNS | OPSEC Level 1 | Network-wide telemetry blocker paired with an independent, local recursive root DNS resolver. |
| Ollama + Open WebUI | Private AI | OPSEC Level 2 | 100% offline local neural language models (Gemma, DeepSeek, Qwen) with ChatGPT-style web interface. |
| SearXNG | Private Search | OPSEC Level 1 | Privacy-respecting metasearch engine combining results across 70+ engines without search profiling. |
| Invidious | Media & Streaming | OPSEC Level 1 | Lightweight, ad-free YouTube frontend operating without Google accounts, cookies, or JavaScript bloat. |
| Redlib | Private Social | OPSEC Level 1 | Private, privacy-friendly Reddit frontend with clean UI and zero tracking cookies. |
| Forgejo | Development | OPSEC Level 1 | Self-hosted Git software forge (Gitea community fork) with SSH repository access over LAN and Tor. |
| BorgBackup Server | Backup & Recovery | OPSEC Level 2 | Deduplicating, authenticated, and AES-256 encrypted remote backup repository over SSH. |
| Cockpit Console | System Admin | OPSEC Level 1 | System and hardware management web console for monitoring CPU, RAM, storage, and system services. |
| Monero Wallet RPC | Financial Privacy | OPSEC Level 3 | Authenticated monero-wallet-rpc on your own node: the backend for WooCommerce / merchant XMR payment gateways. |
| Nostr Relay (strfry) | Encrypted Comms | OPSEC Level 2 | High-performance Nostr relay for a private community, reachable over .onion. |
| Meshtastic Web Client | Off-Grid Radio | OPSEC Level 3 | Self-hosted client for LoRa mesh radios (AES-256 off-grid messaging) without the public web app. |
| Kiwix Offline Library | Offline Knowledge | OPSEC Level 1 | Offline Wikipedia, Stack Exchange and reference libraries for air-gapped and off-grid setups. |
| Stirling-PDF | Documents & Metadata | OPSEC Level 2 | Local PDF toolkit: strip metadata, redact, OCR, merge and convert without third-party uploads. Telemetry off. |
| Kopia Encrypted Backups | Backup & Recovery | OPSEC Level 2 | Client-side encrypted, deduplicated snapshots of every app volume to local disk, USB, SFTP or S3. |
| Uptime Kuma | Monitoring | OPSEC Level 1 | Self-hosted uptime monitor for apps, nodes and .onion services. |
Download phantomnode-<version>-amd64.iso from Releases, verify it, and write it to a USB stick:
sha512sum -c phantomnode-1.2.0-amd64.iso.sha512
sudo dd if=phantomnode-1.2.0-amd64.iso of=/dev/sdX bs=4M status=progress conv=fsyncThe ISO is the official Debian 13 netinst (signature-verified at build time) with a PhantomNode preseed. Boot it (BIOS or UEFI), pick PhantomNode OS - Graphical install, and you only answer:
- Keyboard layout
- Which disk to erase
- The disk encryption passphrase (full-disk LUKS2 + LVM, swap encrypted too)
- The password for the
phantomoperator account
Everything else is automatic: hostname phantom-node, UTC timezone (doesn't reveal your location), no root login, SSH server, no popularity-contest. After the first reboot, enter the disk passphrase and PhantomNode installs itself (Docker, Tor, dashboard), which takes about 5-10 minutes and needs internet. The console login screen then shows the dashboard address. Get the first password with sudo phantom password show.
The installer does not pre-wipe the disk with random data (it can take hours). Everything written afterwards is encrypted; wipe the disk beforehand if it held sensitive data.
Build it yourself (needs xorriso, gpg, curl):
scripts/build-iso.sh # -> dist/phantomnode-<version>-amd64.isoAlready have a server? Deploy PhantomNode OS on any clean installation of Debian 12/13 Minimal or Kicksecure with a single command:
curl -fsSL https://raw.githubusercontent.com/kristofbarany/phantom-node/main/install.sh | sudo bashManual Git Clone Option:
git clone https://github.com/kristofbarany/phantom-node.git cd phantom-node sudo ./install.sh
- System Dependencies & Docker: Installs Docker Engine, Docker Compose plugin, Tor daemon, UFW, and anti-forensics utilities.
- PhantomNode Core: Clones and provisions
/opt/phantom-nodewith an isolated Python virtual environment. - Tor v3 Engine: Automatically creates and provisions the Master Dashboard Tor v3 Hidden Service (
.onion). - Kernel Hardening & WAN Shield: Applies strict
sysctlanti-forensics hardening and locks down UFW. - Systemd Automation: Registers and enables
phantom-dashboard.servicefor instant startup. - Interactive SSH & Login Banner: Configures
/etc/profile.d/phantom-welcome.shand bashrc hooks so every SSH connection immediately displays the host IP, dashboard port (7426), onion URL, and system telemetry. - Post-Install Summary: Prints the host IP address, dashboard port, and onion link upon completion.
Open the dashboard in your web browser:
- Local Network:
http://<server-ip>:7426 - Remote Access (Worldwide):
http://<master-onion-address>.onion(in Tor Browser)
sudo phantom password 2fa enable # TOTP second factor (Aegis, 2FAS, KeePassXC...)
sudo phantom onion auth add phone # Tor client auth: only keyed devices can reach the onion
sudo phantom update trust add "ssh-ed25519 AAAA... you@host" # only apply SSH-signed updates
sudo phantom audit # logins and privileged actionsThe OPSEC dialog in the dashboard shows a live OPSEC Score: each check against Levels 1-3 (2FA, onion client auth, signed updates, LUKS root, encrypted swap, USB switch...) with the command that fixes it.
Signed updates: once a key is trusted, the updater refuses any origin/main commit that is not signed by it. Sign releases locally (git config gpg.format ssh, git commit -S / git merge -S) and push them. Merges made with GitHub's web button are signed by GitHub's key, not yours, so the updater rejects them.
The dashboard (LAN and .onion) requires a password. On first start PhantomNode generates a random one; the installer prints it, and you can show it again on the server:
sudo phantom password show # first-boot password
sudo phantom password set # choose your own (min 10 chars, signs out all sessions)
sudo phantom password reset # forgot it? generate a new random onePasswords are stored as a salted scrypt hash in /var/lib/phantom-node/auth.json (root-only). Sessions use an HttpOnly, SameSite=Strict cookie that expires after 12 hours (PHANTOM_SESSION_TTL), and repeated failed logins are throttled.
- Live Telemetry: Real-time monitoring of CPU load, RAM allocation, NVMe/SSD storage, uptime, and Tor status.
- Privacy App Store: 1-Click deployment for sovereign privacy tools with auto-generated onion services.
- Advanced Custom Deployment: Configure custom web ports, custom Tor onion ports, and
.envenvironment overrides before starting containers. - App Information & Port Mapping Modal: Dedicated Info button on installed apps displaying:
- Complete list of active network ports (Web console, Node RPC, P2P sync, DNS, SOCKS/HTTP proxy, SSH, etc.).
- 1-Click endpoint clipboard copy (e.g.
192.168.2.229:18081). - Tailored client setup guides (Feather Wallet, Bitwarden extension, WireGuard profiles, DNS resolvers, etc.).
- 1-Click Container Updates: Update individual container stacks with a single button or click Update All Containers to pull the latest images and restart all active apps.
- 1-Click System OTA Updater: Check GitHub for new PhantomNode OS releases directly from the header version badge and apply updates with zero downtime.
- Tor v3 & QR Center: Display dedicated
.onionaddresses with one-click copy and QR codes rendered on the node itself (no third-party QR or icon CDNs, so onion addresses never leave the box). - OPSEC Control Center: Arm or disarm the hardware USB Dead Man's Switch, check defensive triggers, or execute an emergency memory wipe and shutdown.
Full command-line system management is available directly from the terminal:
# View system health, Tor status, and active containers
phantom status
# Show the interactive welcome banner with dashboard IP, port, and system metrics
phantom welcome
# List all available catalog apps and their installation status
phantom app list
# 1-Click app deployment
phantom app install adguard-home
phantom app install nextcloud
# Deploy with custom port or interactive advanced settings
phantom app install adguard-home --port 8053
phantom app install vaultwarden --advanced
# Manage container lifecycle
phantom app start <app_id>
phantom app stop <app_id>
phantom app restart <app_id>
phantom app logs <app_id>
phantom app remove <app_id>
# Update containers (pull latest Docker images & restart stacks)
phantom app update <app_id> # Update a specific container
phantom app update-all # Update all installed containers simultaneously
# List all active Tor v3 Hidden Service addresses
phantom onion list
# OPSEC Shield and hardware protection
phantom opsec status
phantom opsec arm-usb # Arm the USB Dead Man's Switch
phantom opsec disarm-usb # Disarm USB defense
phantom opsec panic # Emergency shutdown: cache flush + swapoff + forced power-off
phantom opsec panic nuke # ...and wipe LUKS keys from memory before cutting power
# System OTA Updates & Custom Tor Mirrors
phantom password show # Show the first-boot dashboard password
phantom password set # Set your own dashboard password
phantom password reset # Generate a new random dashboard password
phantom password 2fa enable # Turn on TOTP two-factor login
phantom onion auth add <name> # Authorize a device for the dashboard onion (Tor client auth)
phantom onion auth list|remove # List / revoke authorized devices
phantom update trust add "<ssh key>" # Enforce signed OTA updates
phantom audit [N] # Show recent logins and privileged actions
phantom update check # Check for upstream releases
phantom update # Download latest changes and restart services
phantom update mirror # Show current upstream git mirror
phantom update mirror set <url> # Set custom git mirror (e.g. self-hosted GitLab over Tor .onion)
phantom update mirror reset # Reset mirror to official GitHub repository
phantom update mirror test # Test connectivity to the current mirrorOperators who prefer zero connection to GitHub can mirror the PhantomNode repository to an independent GitLab, Gitea, or Forgejo instance hosted over Tor:
- Mirror
https://github.com/kristofbarany/phantom-node.gitto your private server. - Expose the git service via a Tor v3 Hidden Service (e.g.
http://[your-onion-address].onion/user/phantom-node.git). - Set your node's update mirror via CLI or Web Dashboard:
phantom update mirror set http://[your-onion-address].onion/user/phantom-node.git - PhantomNode OS will automatically route all Git update traffic, diff inspections, and commit pulls through the local Tor SOCKS5 proxy (
socks5h://127.0.0.1:9050).
- PhantomNode OS is designed strictly for personal and business data sovereignty, legitimate privacy preservation, and cybersecurity defense.