seagullz4 / hysteria2 Goto Github PK
View Code? Open in Web Editor NEWhysteria2一键安装精简版/hy2一键安装/hysteria2 install/نصب با یک کلیک hysteria2/祝大家万事如意,心想事成
hysteria2一键安装精简版/hy2一键安装/hysteria2 install/نصب با یک کلیک hysteria2/祝大家万事如意,心想事成
请教一下,安装之后,hysteria2节点链接信息有什么作用?
root@racknerd-a0f00c:~# ./install.sh
安装必要依赖中......
依赖安装完成░██ ░██
░██ ░██ ░████ ░█ ░█ ░█░█░█
░██ ░██ ░█ █ ░█ ░█ ░█ ░█
░██████ ░██████ ░█ ░█ ░█ ░█
░██ ░██ ░█ ░█ ░█ ░█ ░█ ░█░█░█
░██ ░██ ░██ █ ░█ ░█人生有两出悲剧:一是万念俱灰,另一是踌躇满志
选择一个操作,小崽子(ง ื▿ ื)ว:
- 安装(以梦为马)
- 卸载(以心为疆)
- 查看配置(穿越时空)
- 退出脚本(回到未来)
- 在线更新hy2内核(您当前的hy2版本:你还没有安装,老登)
- 安装xanmod内核(更好的调动网络资源)
hy2内核最新版本为: v2.3.0hysteria2状态: 未运行
输入操作编号 (1/2/3/4/5): 1
别急,别急,别急,老登
原神,启动。
正在下载中,老登( ゚д゚)つBye
在执行完1以后,显示 正在下载中 会卡住,等一会会直接断开ssh链接且无法再次连接上,需要重启vps才可以重新ssh。
系统配置
Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-100-generic x86_64)
建议修改为从github获取最新版本
#!/bin/bash
REPO_URL="https://github.com/apernet/hysteria/releases"
LATEST_RELEASE=$(curl -s $REPO_URL/latest | grep -o '"tag_name":.[^}],' | head -n 1 | sed 's/[^"]"//;s/",//')
DOWNLOAD_URL="https://github.com/apernet/hysteria/releases/download/$LATEST_RELEASE/hysteria-linux-amd64"
echo "Latest release version: $LATEST_RELEASE"
echo "Download URL: $DOWNLOAD_URL"
由我于的粗心导致,很多bug,这些bug如各果位老登遇到最尽好快提个issue,不然引会起很多bug,比如有会很多bug.
rt
如题
netstat -tuln 会将tcp的端口也列出来,但是hy2应该只使用udp的端口就足够了。
hy2的原作者是这样描述端口跳跃的:
端口跳跃
**用户有时报告运营商会阻断或限速 UDP 连接。不过,这些限制往往仅限单个端口。端口跳跃可用作此情况的解决方法。
https://v2.hysteria.network/zh/docs/advanced/Port-Hopping/#_3
请求大佬在百忙中在脚本里加一下这个功能
FATAL failed to read server config {"error": "Config File \"config\" Not Found in \"[/home/ubuntu /root/.hysteria /etc/hysteria]\""}
启动会报错
配置好服务端 复制节点信息到nekobox 无法使用 nekobox是最新版3.24内核使用sing-box hysteria2也是2.2的最新版 删除nekobox节点配置里面的端口跳跃栏里面的数据留空 不使用 节点是可以使用的
请问下这是怎么回事???
VPS是重装之后 没装任何东西 就安装了warp 我是v6机
rt
rt
Line 83 in 008017e
你好
我在配置hysteria2的时候选择了端口跳跃,按照官网的要求需要使用iptables转发端口.
但是我发现脚本没有设置iptables规则哈(iptables -L查看的),想问一下脚本是怎么实现端口跳跃的哈? 还是官网的iptables配置是可选项哈?
https://v2.hysteria.network/zh/docs/advanced/Port-Hopping/
感谢
最近的hy更新,使用脚本更新功能后,服务异常,需要手动kill后再启动服务才能正常。怀疑结束进程的代码没有执行?
log如下:
选择一个操作,小崽子(ง ื▿ ื)ว:
hysteria2状态: 运行中
输入操作编号 (1/2/3/4/5): 5
正在更新中,别急,老登
更新完成,老登
$ service hysteria status
× hysteria.service - My Hysteria Server
Loaded: loaded (/etc/systemd/system/hysteria.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-03-25 09:51:53 HKT; 20s ago
Process: 3899388 ExecStart=/root/hy3/hysteria-linux-amd64 server (code=exited, status=203/EXEC)
Main PID: 3899388 (code=exited, status=203/EXEC)
CPU: 1ms
Mar 25 09:51:53 tokyo-amd systemd[3899388]: hysteria.service: Failed at step EXEC spawning /root/hy3/hy>
Mar 25 09:51:53 tokyo-amd systemd[1]: Started My Hysteria Server.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Main process exited, code=exited, status=203/EX>
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Failed with result 'exit-code'.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Scheduled restart job, restart counter is at 7.
Mar 25 09:51:53 tokyo-amd systemd[1]: Stopped My Hysteria Server.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Start request repeated too quickly.
Mar 25 09:51:53 tokyo-amd systemd[1]: hysteria.service: Failed with result 'exit-code'.
Mar 25 09:51:53 tokyo-amd systemd[1]: Failed to start My Hysteria Server.
没有域名怎么办呀?
因为看到大家都说hysteria能够拯救垃圾线路,提升垃圾线路的网速。那么对于相对来说还可以的线路比如CN2 GIA-E 线路,是否也有加速效果呢?不知道有没有大佬验证过这个问题,有没有相关的结论?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.