# 05 — Exit Node Setup # Shows how to run a VPN exit node and earn LTHN Output demos/05-exit-node.gif Set FontSize 13 Set Width 1000 Set Height 600 Set Theme "Dracula" Set TypingSpeed 35ms Set Padding 12 Set Shell bash Type "# Lethean VPN Exit Node — Earn LTHN" Enter Sleep 500ms Type "# Configure your exit node" Enter Type "cp .env.example .env" Enter Sleep 300ms Type "echo 'WALLET_PASSWORD=my-secure-pass' >> .env" Enter Type "echo 'EXIT_PUBLIC_IP=203.0.113.50' >> .env" Enter Type "echo 'EXIT_NAME=my-exit' >> .env" Enter Sleep 500ms Type "" Enter Type "# Start the exit node stack" Enter Type "docker compose -f docker-compose.exit.yml up -d" Enter Sleep 3s Type "" Enter Type "# Your exit node runs:" Enter Type "echo ' Chain daemon — syncs blockchain'" Enter Type "echo ' Wallet — PoS staking + receives payments'" Enter Type "echo ' WireGuard VPN — encrypted tunnel for gateway traffic'" Enter Type "echo ' Controller — manages peering and on-chain registration'" Enter Sleep 2s Type "" Enter Type "# Gateways discover you via on-chain alias:" Enter Type "echo ' @my-exit v=lthn1;type=exit;cap=vpn,proxy;ip=203.0.113.50'" Enter Sleep 2s Type "" Enter Type "# Open ports 46942/tcp + 51820/udp on your router" Enter Type "# Then sit back and earn LTHN" Enter Sleep 3s