mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 21:39:53 +00:00

it seems like some linux newbies might try to manage the cert & key by themselves or thirdparty software (such as caddy), and complain about hysteria start failure due to permission denied. and it is actually really pretty hard to teach them how to edit systemd units, or place their certs & key files into a suitable directory and set proper permission. which this commit, we can easily tell them just re-run the install script with the following command: HYSTERIA_USER=root ./install_server.sh -f this script can also detect the correct user from the installed systemd units, so it still works properly even if the user forgets to specify HYSTERIA_USER= in the subsequent runs.
An Aperture Internet Laboratory project
Hysteria is a feature-packed proxy & relay tool optimized for lossy, unstable connections (e.g. satellite networks, congested public Wi-Fi, connecting to foreign servers from China) powered by a customized protocol based on QUIC.
Use cases
- Censorship circumvention
- Boosting slow connections
- Bypassing commercial/academic/corporate firewalls
- Bypassing ISP throttling
- ...
Modes
- SOCKS5 proxy (TCP & UDP)
- HTTP/HTTPS proxy
- TCP/UDP relay
- TCP/UDP TPROXY (Linux)
- TCP REDIRECT (Linux)
- TUN (TAP on Windows)
- Still growing...
Documentation
Hysteria 是一个功能丰富的,专为恶劣网络环境(如卫星网络、拥挤的公共 Wi-Fi、从中国连接境外服务器等)进行优化的双边加速工具,基于修改版的 QUIC 协议。
常见用例
- 绕过网络审查
- 提升传输速度
- 绕过商业/学校/企业防火墙
- 绕过运营商 QoS 限速
模式
- SOCKS5 代理 (TCP & UDP)
- HTTP/HTTPS 代理
- TCP/UDP 转发
- TCP/UDP TPROXY 透明代理 (Linux)
- TCP REDIRECT 透明代理 (Linux)
- TUN (Windows 下为 TAP)
- 仍在增加中...
中文文档
Benchmarks
Donations are greatly appreciated! Contact me if you would like your name listed as a sponsor.
欢迎大佬捐赠! 如希望挂名请在捐赠后联系我。
Description
Languages
Go
91%
Shell
4.4%
Python
4.4%
Dockerfile
0.2%