hysteria
安装hysteria
1 | bash <(curl -fsSL https://get.hy2.sh/) |
服务器端配置/etc/hysteria/config.yaml
1 | listen: :<服务器端口号> |
客户端配置config.yaml
1 | server: <域名,不能是ip>:<服务器端口> |
systemd启动hysteria
1 | systemctl start hysteria-server |
alpinlinux后台启动hysteria2
1 | nohup hysteria server > /var/log/hysteria/msg.log 2>&1 & |