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
评论
发表评论