使用hysteria协议,搭建中转服务

1 搭建方法:直接使用一键搭建脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/flame1ce/hysteria2-install/main/hysteria2-install-main/hy2/hysteria.sh && bash hysteria.sh

2 hysteria相关命令

  • 启动Hysteria2
    systemctl start hysteria-server.service
  •  查看Hysteria2状态
    systemctl status hysteria-server.service
  • 设置开机自启
    systemctl enable hysteria-server.service
  • 重启Hysteria2
    systemctl restart hysteria-server.service
  • 停止Hysteria2
    systemctl stop hysteria-server.service
  • 查看日志
    journalctl -u hysteria-server.service
posted @ 2024-08-09 15:13  Stephen_Lu  阅读(234)  评论(0编辑  收藏  举报