bytevirt-hysteria2-node

Provision and audit ByteVirt VPS servers as no-panel Hysteria2 UDP proxy nodes.

4|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/sukbearai/king-ai --skill bytevirt-hysteria2-node-sukbearai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bytevirt-hysteria2-node
Source: https://github.com/sukbearai/king-ai/tree/main/packages/skills/skills/bytevirt-hysteria2-node
Command: npx skills add https://github.com/sukbearai/king-ai --skill bytevirt-hysteria2-node-sukbearai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Setting up a Hysteria2 proxy node on a fresh ByteVirt VPS involves many error-prone steps: installing the official server, generating auth and obfuscation credentials, configuring TLS, verifying UDP reachability, and producing a working Shadowrocket import link. This Skill walks through the entire provisioning and auditing workflow with concrete commands and safety defaults. ## Core Features & Use Cases - End-to-end provisioning: SSH preflight checks, official Hysteria2 installation via get.hy2.sh, password auth plus salamander obfuscation, self-signed or domain TLS certificates, and systemd service setup on Debian 12. - Verification and troubleshooting: Same-host Hysteria2 client tests to separate config errors from provider-side UDP ingress blocks, plus application-layer UDP listener checks. - Shadowrocket handoff: Generates YAML snippets and hy2:// import links, with guidance for latency display quirks and connectivity test URLs. - Use Case: You just bought a ByteVirt VPS and want a working hy2:// link for Shadowrocket. The Skill SSHes in, installs Hysteria2 on UDP 443, generates fresh credentials, verifies the service, and hands you the import link. ## Quick Start Ask the agent to provision a Hysteria2 node on your new ByteVirt VPS at a given IP and SSH port, and produce a Shadowrocket hy2:// import link.

Frequently Asked Questions about bytevirt-hysteria2-node

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

FAQPage Schema
How do I set up a Hysteria2 proxy server on a Debian VPS?▼

Install the official Hysteria2 server with the get.hy2.sh script, write a config.yaml with password auth and salamander obfuscation, add a TLS certificate, then enable the hysteria-server systemd service. Verify with systemctl status and journalctl logs showing 'server up and running'.

How do I create a Shadowrocket hy2:// import link?▼

Build the link as hy2://<auth_password>@<ip>:443/?sni=<server_name>&insecure=1&obfs=salamander&obfs-password=<obfs_password>#<label>. Use insecure=1 only for self-signed certificates, and prefer hy2:// over hysteria2:// since Shadowrocket commonly accepts the hy2 scheme.

Why does my Hysteria2 client time out even though the server is running?▼

If a same-host Hysteria2 client test succeeds but external clients time out, the server config is fine and provider-side UDP ingress is likely blocked. Confirm the cloud console allows inbound UDP on the selected port, and test with a Python UDP listener plus nc -u from your local machine.

Can I use Hysteria2 without a domain name?▼

Yes, generate a self-signed ECDSA certificate with openssl using the server hostname or IP as the CN and SAN. Clients must then set insecure: true in YAML or insecure=1 in the hy2:// link, since the certificate cannot be publicly validated.

Why does Shadowrocket show no latency for my Hysteria2 node?▼

Shadowrocket's built-in connectivity display can be blank or unstable for Hysteria2 even when the proxy works. Check the server log for 'client connected' entries and verify browser traces show the VPS IP, then switch the test URL to https://cp.cloudflare.com/generate_204.