hysteria

安装hysteria:wget https://github.com/HyNetwork/hysteria...

设置执行权限: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服务端配置:


config.json



{

  "listen": ":9527",

  "cert": "/root/ca.crt",

  "key": "/root/ca.key",

  "obfs": "password"

}


关闭防火墙:ufw disable

运行:

nohup ./hysteria-linux-arm  server › hysteria.log 2>&1 &


转自

https://github.com/HyNetwork/hysteria/wiki/%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8





评论

此博客中的热门博文

带8个免费监控授权的黑群晖DSM7.X安装教程和注意事项

甲骨文云dd重装系统一键脚本

synology 查看隐藏目录和 文件夹大小