Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.08 KB

Hysteria2

Hysteria 2 One-Click Installation Script

User Manual

1. Resolve the domain name to your VPS IP

If you are using Cloudflare, do not turn on the CDN service.

2. Ensure that port 80 of the VPS is not occupied

This script uses ACME to automatically apply for certificates, so please make sure that port 80 is available. You can use the following command to determine:

lsof -i :80

3. Execute installation command

bash <(curl -Ls https://ssa.sx/hy2)
# or
bash <(curl -Ls https://github.com/missuo/Hysteria2/raw/main/hy2.sh)

4. Enter the configuration information according to the prompts

Enter the port (default: 8443): 
Enter the domain: 
Enter the password (default: Hy2Best2024@):

Client

Surge

🇺🇸 NodeName = hysteria2, us.example.com, 8443, password=Hy2Best2024@, sni=us.example.com, download-bandwidth=600

Shadowrocket

Manually fill in according to the information you entered.

Author

Hysteria2 © Vincent Young, Released under the MIT License.