NekoBoxForAndroid配置Hysteria2

服务器安装Hysteria2 root@bwg:~# bash <(curl -fsSL https://get.hy2.sh/) Checking for installed version ... not installed Checking for latest version ... v2.1.1 Downloading hysteria binary: https://github.com/apernet/hysteria/releases/download/app/v2.1.1/hysteria-linux-amd64 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13.0M 100 13.0M 0 0 15.4M 0 --:--:-- --:--:-- --:--:-- 36.0M Installing hysteria executable ... ok Install /etc/hysteria/config.yaml ... ok Creating user hysteria ... ok Install /etc/systemd/system/hysteria-server.service ... ok Install /etc/systemd/system/[email protected] ... ok Congratulation! Hysteria 2 has been successfully installed on your server. What's next? + Take a look at the differences between Hysteria 2 and Hysteria 1 at https://hysteria.network/docs/misc/2-vs-1/ + Check out the quick server config guide at https://hysteria.network/docs/getting-started/Server/ + Edit server config file at /etc/hysteria/config.yaml + Start your hysteria server with systemctl start hysteria-server.service + Configure hysteria start on system boot with systemctl enable hysteria-server.service 配置(/etc/hysteria/config.yaml)示例如下: ...

十月 20, 2023 · JQX

Hysteria使用实例

Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网络工具(双边加速),比如卫星网络、拥挤的公共 Wi-Fi、在中国连接国外服务器等。 基于修改版的 QUIC 协议。 SOCKS5 代理 (TCP & UDP) HTTP/HTTPS 代理 TCP/UDP 转发 TCP/UDP TPROXY 透明代理 (Linux) TCP REDIRECT 透明代理 (Linux) TUN (Windows 下为 TAP) 以上是Hysteria官网的介绍,项目地址为https://github.com/HyNetwork/hysteria 最新hysteria2使用方法在这里 https://unixetc.com/post/nekoboxforandroid-hysteria2/ 以下为旧版本v1使用实例 服务端安装配置 服务器是Debian11系统,使用以下命令安装: wget https://raw.githubusercontent.com/HyNetwork/hysteria/master/install_server.sh bash ./install_server.sh 启用服务 systemctl enable hysteria-server systemctl start hysteria-server 自签证书 openssl genrsa -out server.key 1024 openssl req -new -x509 -days 3650 -key server.key -out server.crt -subj "/C=CN/ST=mykey/L=mykey/O=mykey/OU=mykey/CN=domain1/CN=domain2/CN=domain3" 然后新建配置文件vi config.json { "listen": ":39870", "cert": "/root/server.crt", "key": "/root/server.key", "obfs": "fuckgfw2022", "up_mbps": 500, "down_mbps": 500 } 使用screen让hysteria在后台一直运行 ...

七月 11, 2022 · JQX