Medusa Stealth Routing¶
Medusa stands on the shoulders of @datawookie — whose medusa-proxy gave NeXuS its head. GPL-3.0. The Wookie built the bones. NeXuS grew the Hydra. Thank you.
To set up Medusa Stealth Routing within the NeXuS ecosystem, you must implement a multi-layered anonymity architecture that utilizes load-balanced proxy chains. This system is designed to provide "Democratic Security" that is accessible to all users while maintaining enterprise-grade protection . The following technical steps are required based on the provided sources: 1. Foundation and Containerization
Operating System: Ensure the host is running a hardened version of Alpine Linux Edge, optimized for minimal attack surface
. Container Engine: Install Podman 5.5.2 to run services in rootless containers using user namespaces, which isolates processes from the host kernel . Safety Protocol: Before modifying any configuration files, perform a timestamped backup as mandated by the NeXuS "Backup-First" doctrine
.
-
Deploying the Medusa Proxy Service The core of the stealth routing system relies on the medusa-proxy container, which orchestrates multiple anonymity circuits.
Image Selection: Use the NeXuS Medusa container (local build via
podman-compose)
.
Environment Configuration: Define the following variables in your deployment script or podman-compose.yml:
TORS=5: Deploys 5 independent Tor instances to enable load balancing
. HEADS=2: Configures the number of Privoxy heads for traffic handling . ENABLE_API_CONTROL=true: Enables programmatic control over the proxy circuits
.
Port Mapping: Map port 8888 for HTTP proxy traffic, 1080 for SOCKS5, and 2090 for the monitoring dashboard
.
-
Implementing Multi-Hop Traffic Chaining Medusa Stealth Routing operates through a specific sequence of "hops" to obfuscate traffic origin and type:
The Chain: Configure your applications to route traffic through the following sequence: Application → Privoxy → Tor → Medusa Proxy Chain
. Load Balancing: Utilize HAProxy within the Medusa container to balance requests across the 5 (or up to 9 in "Hydra" configurations) active Tor circuits . Filtering: Integrate Privoxy with uBlock Origin rules at the entry of the chain to perform ad/tracker blocking and header manipulation, such as User-Agent rotation, before the traffic enters the anonymity network
.
-
Integration and Stealth Activation
Proxy Redirection: Update your AI Proxy or primary interface settings to point to the Medusa endpoint (e.g., HTTP_PROXY=http://medusa-proxy:8888) and set PRIVACY_MODE=enabled
. Stealth Mode: Activate the specialized "Stealth Mode" script (nexus-security-fortress.sh), which automates the routing of all system traffic through these proxy chains . Dashboard Verification: Access the dashboard at localhost:2090 to monitor circuit health, IP rotation, and real-time performance metrics
.
🛡️ Security Note The system employs a 5-second visual cancel timer for any automated security checks or destructive operations, ensuring the human operator retains final control over the "automated fortress" . Analogy: The Secret Tunnel System. Setting up Medusa Stealth Routing is like building a house with five different secret tunnels leading to the outside world. Instead of always using the front door (your direct IP), the Medusa Orchestrator (the guide) constantly shuffles you through different tunnels so no one watching from the street can ever be sure which exit you'll use or where you truly came from.