Access internationally blocked websites from your China-based server.
Scenario A — "git push keeps timing out"
text
git push github main
# → Connection timeout
→ /万重山-隧道-开启 → try push again → succeeds
Scenario B — "npm install keeps failing for a package from GitHub"
text
npm install some-github-package
# → network timeout
→ /万重山-隧道-开启 → npm works through tunnel
Scenario C — "HuggingFace model download is stuck"
text
huggingface-cli download ...
# → timeout or connection reset
→ /万重山-隧道-开启 → download completes through tunnel
Scenario D — "ClawHub skill install is super slow"
text
clawhub install author/skill
# → extremely slow, often fails
→ /万重山-隧道-开启 → ClawHub installs at full speed
SiteUse CaseStatusGitHubgit clone/push, npm packages✅ClawHubskill install, plugin browsing✅HuggingFacemodel downloads, datasets✅arXivresearch paper access✅Googlesearch, fonts, analytics✅YouTubevideo embeds, APIs✅Twitter/Xsocial media embeds✅Redditforum access, APIs✅
A server outside China (any VPS with SSH access)
SSH password for that server
Server's public IP address
autossh installed on your China server (auto-restarts tunnel if it drops)
apt install autossh (Debian/Ubuntu)sshpass installed (for password-based SSH)
apt install sshpasstext
Your China Server (autossh client)
↓ SSH tunnel (encrypted)
Singapore/International VPS (as SOCKS5 proxy)
↓
GitHub / ClawHub / HuggingFace / Google
Any international VPS works. Recommended:
Requirements:
bash
npx -y clawhub install guanqi0914/wcs-helper-network-skill
Send this command via Feishu private chat:
text
/万重山-隧道-配置 服务器IP SSH端口 用户名 密码
Example:
text
/万重山-隧道-配置 43.134.164.43 22 ubuntu myPassword123
text
/万重山-隧道-开启
You should see: ✅ Tunnel connected
bash
curl --socks5 127.0.0.1:1080 https://api.github.com
# Should return: HTTP 200
CommandWhat It Does/万重山-隧道-配置 <IP> <端口> <用户> <密码>Set up tunnel server credentials/万重山-隧道-开启Start the tunnel/万重山-隧道-关闭Stop the tunnel/万重山-隧道-状态Show tunnel connection status/万重山-隧道-测试Test tunnel speed/万重山-隧道-帮助Show help
Send /万重山-隧道-状态 first. If you see "Tunnel: ✅", you're good. If "Tunnel: ❌", send /万重山-隧道-开启 first.
The tunnel runs in the background. Send /万重山-隧道-关闭 when you don't need international access any more.
Only TCP connections through the SOCKS5 proxy are tunneled:
UDP traffic (some gaming, VoIP) is NOT proxied.
text
1. autossh connects to your international server via SSH
sshpass -p 'password' ssh -N -D 127.0.0.1:1080 user@server-ip
2. SSH creates encrypted tunnel
3. autossh monitors the tunnel every 30 seconds
4. If tunnel drops → autossh auto-restarts it
5. Applications use 127.0.0.1:1080 as SOCKS5 proxy
text
China Server → GitHub/ClawHub/HuggingFace
↓
Connection timeout / reset / very slow
text
China Server → SSH Tunnel → International VPS → GitHub/ClawHub/HuggingFace
↓
Stable encrypted connection
MetricValueTunnel latency50-100ms (China → Singapore)GitHub clone speed500KB/s - 5MB/sClawHub install1-5 secondsProxy overhead5-10% bandwidth
"Tunnel: ❌ Connection failed" → Check server IP, SSH port, username, password → Make sure SSH password auth is enabled on your VPS
"Tunnel connects but git push still times out" → Try again — GitHub sometimes rate-limits tunnel IPs temporarily → If persistent, your VPS IP may be on GitHub's blacklist
"autossh process not running after server restart"
→ Send /万重山-隧道-开启 to restart manually
→ Or set up systemd service (advanced — see auto-fix.sh)
"SSH connection refused" → Check if port 22 is open on your VPS firewall → Try SSH port 2222 if 22 is blocked
~/.wcs_tunnel.conf (chmod 600)bash
# Stop tunnel
/万重山-隧道-关闭
# Remove skill files
rm -rf ~/.openclaw/workspace/skills/wcs-helper-network-skill
rm -f ~/.wcs_tunnel.conf