5 numbered demos using helper scripts against the live system: 01-install — zero to running node in 30 seconds 02-chain-status — chain info, latest block, on-chain aliases 03-ecosystem-tour — full tour of all 8 services (teaser material) 04-mining — pool stats, miner connection examples 05-exit-node — VPN exit node setup and earning New helpers: last-block.sh, pool-stats.sh, lns-status.sh, explorer-stats.sh Removed old unnumbered demos. Co-Authored-By: Charon <charon@lethean.io>
68 lines
1.3 KiB
VHS
68 lines
1.3 KiB
VHS
# 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
|