sing-box-vps

Deploy and manage sing-box proxy servers on VPS using community installation scripts.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill sing-box-vps-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sing-box-vps
Source: https://github.com/CHENHUI-X/toolbox/tree/main/custom-skills/devops/sing-box-vps
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill sing-box-vps-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up and maintaining a multi-protocol proxy server on a VPS involves complex configuration, credential management, subscription delivery, and ongoing troubleshooting that is error-prone when done manually. ## Core Features & Use Cases - One-command installation: Deploy sing-box with Vless-reality-vision, Vmess-ws, Hysteria-2, Tuic-v5, and Anytls protocols using the yonggekkk/sing-box-yg script, with no domain or certificate required. - Subscription generation and delivery: Produce Clash/Mihomo, sing-box, base64, and Surfboard subscription formats, serve them over hardened HTTP endpoints, and push configs to GitHub. - Operations and troubleshooting: Rotate credentials to block freeloaders, diagnose partial node outages (UDP firewall, expired TLS certs), route Telegram traffic through WARP, and run automated health checks and traffic reports. - Use Case: After a VPS IP change or credential leak, use this Skill to regenerate all credentials, sync every subscription file, restart services, and verify end-to-end connectivity across all protocols. ## Quick Start Ask the agent to install sing-box on your VPS with all supported protocols and show you the subscription links.

Frequently Asked Questions about sing-box-vps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install sing-box on a VPS with multiple protocols?

Run the one-line installer: bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/sb.sh) as root. It sets up Vless-reality-vision, Vmess-ws, Hysteria-2, Tuic-v5, and Anytls, then use the sb command for the management menu.

How to rotate sing-box credentials after a subscription leak?

Rotate all credential fields together: uuid, password, reality private_key, short_id, and the vmess transport.path. Update both sb.json and the subscription YAML files, restart sing-box and the subscription server, then grep for old values to confirm zero residue.

Why are Hysteria2 and TUIC nodes unreachable while VLESS works?

Hysteria2 and TUIC use UDP, which cloud firewalls often block even when TCP ports are open. Check conntrack for UDP packets on those ports and add cloud firewall rules allowing the UDP ports, or verify the subscription includes skip-cert-verify for self-signed certificates.

Does sing-box work on Serv00 or free hosting accounts?

A dedicated Serv00/Hostuno edition of the script exists supporting vless-reality, vmess-ws with Argo tunnels, and hysteria2. However, free Serv00 accounts risk termination when running proxy scripts.

Why does git push of subscription config to GitHub return 404 on write?

A 404 on PUT with a successful GET means the fine-grained token is read-only; GitHub intentionally returns 404 instead of 403 for unauthorized writes. Regenerate the token with Contents: Read and Write permission on the target repository.

What are the limitations of running sing-box on low-memory VPS?

On VPS with 1GB RAM or less, strip unnecessary services like Docker, Snapd, and panel software, then apply sysctl kernel tuning. The skill documents a real case improving available memory from 286MB to 440MB after cleanup.