ufw allow 你的端口
ash <(curl -fsSL [url]https://get.hy2.sh/[/url])
# listen: :443 acme: domains: - your.domain.net #此处填写你解析好的域名 email: [email]your@email.com[/email] #此处输入你的邮箱,不一定需要真实邮箱auth: type: password password: Se7RAuFZ8Lzg #设置一个认证密码masquerade: type: proxy proxy: url: [url]https://news.ycombinator.com/[/url] #伪装网址 rewriteHost: true複製代碼
启动:systemctl start hysteria-server.service重启:systemctl restart hysteria-server.service开机自启:systemctl enable hysteria-server.service查看状态:systemctl status hysteria-server.service複製代碼
server: your.domain.net:443 auth: Se7RAuFZ8Lzg bandwidth: up: 20 mbps down: 100 mbpssocks5: listen: 127.0.0.1:1080 http: listen: 127.0.0.1:8080複製代碼