Skip to content

cedar2025/hysteria

This branch is 3 commits ahead of, 36 commits behind apernet/hysteria:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 9, 2025
6f4f1d3 · Feb 9, 2025
Feb 9, 2025
Dec 8, 2024
Dec 8, 2024
Dec 8, 2024
Sep 2, 2023
Aug 21, 2024
Jun 4, 2023
Sep 2, 2023
Dec 8, 2024
Sep 1, 2023
Mar 14, 2024
Dec 8, 2024
Dec 8, 2024
Oct 4, 2024
Oct 4, 2024
May 29, 2024
Sep 2, 2023
Nov 11, 2023
Aug 25, 2024

Repository files navigation

Hysteria 2

支持对接V2board面板的Hysteria2后端

项目说明

本项目基于hysteria官方内核二次开发,添加了从v2b获取节点信息、用户鉴权信息与上报用户流量的功能。 性能方面已经由hysteria2内核作者亲自指导优化过了。

TG交流群

欢迎加入交流群 点击加入

示例配置

v2board:
  apiHost: https://面板地址
  apiKey: 面板节点密钥
  nodeID: 节点ID
tls:
  type: tls
  cert: /etc/hysteria/tls.crt
  key: /etc/hysteria/tls.key
auth:
  type: v2board
trafficStats:
  listen: 127.0.0.1:7653
acl: 
  inline: 
    - reject(10.0.0.0/8)
    - reject(172.16.0.0/12)
    - reject(192.168.0.0/16)
    - reject(127.0.0.0/8)
    - reject(fc00::/7)

其他配置完全与hysteria文档的一致,可以查看hysteria2官方文档 点击查看

快速启动

docker run -itd --restart=always  --network=host \
 -e apiHost=https://example.com \
 -e apiKey=xxxxxxxxxxxxxxxxxxxxx \
 -e domain=hy2.example.com  \
 -e nodeID=1 \
ghcr.io/cedar2025/hysteria:latest

docker 仓库

docker pull ghcr.io/cedar2025/hysteria:latest

About

add support v2board to Hysteria2

Resources

License

Stars

Watchers

Forks

Languages

  • Go 91.1%
  • Shell 4.4%
  • Python 4.3%
  • Other 0.2%