RC Tunnel Successfully Exposed | Generated by AI

Home 2026.07

Everything is working perfectly! Here’s the full summary:


✅ RC Tunnel Successfully Exposed

📋 What was done

Step Status
Env vars extracted from /proc/1/environ ✅ Found FRP_BROKER_URL & FRP_BROKER_TLS_SERVER_NAME
rc-tunnel installed ✅ v0.3.0 → ~/.local/bin/rc-tunnel
Test page created ~/tunnel-demo/index.html
HTTP server started ✅ Python3 on 127.0.0.1:8081
Local test curl returned the HTML page
Tunnel exposed ✅ via rc-tunnel expose --port 8081

🌐 Public URL

https://rc-a899e6bb9beab78e.radeon.firstdg.ai

🔍 Verification

⚠️ Note

The status and logs subcommands require the same env vars (FRP_BROKER_URL, FRP_BROKER_TLS_SERVER_NAME) to be exported. You can source them from /proc/1/environ or add them to your shell profile.

🛑 To stop the tunnel

# With env vars exported:
export FRP_BROKER_URL=$(grep -z FRP_BROKER_URL /proc/1/environ | tr '\0' '\n' | cut -d= -f2-)
export FRP_BROKER_TLS_SERVER_NAME=$(grep -z FRP_BROKER_TLS_SERVER_NAME /proc/1/environ | tr '\0' '\n' | cut -d= -f2-)
export PATH="$HOME/.local/bin:$PATH"
rc-tunnel stop

Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate