hysteria节点搭建教程
标签搜索
侧边栏壁纸
  • 累计撰写 22 篇文章
  • 累计收到 3 条评论

hysteria节点搭建教程

admin
2023-09-19 / 0 评论 / 343 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2023年09月23日,已超过625天没有更新,若内容或图片失效,请留言反馈。

sddefault.jpg

安装hysteria:

wget https://github.com/apernet/hysteria/releases/download/app%2Fv2.0.2/hysteria-android-amd64

设置执行权限:

chmod 755 hysteria-linux-amd64

自签证书:

生成私钥:openssl ecparam -genkey -name prime256v1 -out ca.key
    生成证书:openssl req -new -x509 -days 36500 -key ca.key -out ca.crt  -subj "/CN=bing.com"

hysteria服务端配置:

{
  "listen": ":9527",
  "cert": "/root/hy/ca.crt",
  "key": "/root/hy/ca.key",
  "obfs": "password"
}

关闭防火墙:

ufw disable

服务端后台运行:

nohup ./hysteria-linux-amd64 server > hysteria.log 2>&1 &
0

评论 (0)

取消