Git Product home page Git Product logo

air-universe's Introduction

Air-Universe

English document → here
中文文档(咕咕咕) → here

Bugs:

  • None

TODO List:

  • Fix known bugs.
  • Auto generate Xray-core configuration from SSPanel. Finished
  • Support speed limit.
  • Record users ip. Finished
  • Support Trojan protocol. Finished
  • Turnkey installation script. Finished
  • Support Shadowsocks multiuser in single port. Finished

注意, 未经严格测试, 出问题了造成经济损失一概不负责

Features

  • 支持3端(Shadowsocks, V2ray, Trojan) 单端口多用户
  • Shadowsocks 单端口多用户 无须协议和混淆插件支持, 使用AEAD加密单端口
  • V2ray 支持 tcp和Websocket 可配合TLS传输, 证书可自定义(一键脚本不含此功能)也可自动生成
  • Trojan 支持TCP+TLS
  • 支持多个入站配合多节点ID, 流量分开统计
  • 支持记录用户IP, 但目前不可限制
  • 不支持限速
  • 审计规则默认屏蔽BT和内网IP, 可自行添加, 不支持从面板拉取
  • 审计信息不会上报

TurnKey Install

自动安装 Air-Universe + Xray, 在debian8测试通过, 不支持Centos

wget -N --no-check-certificate --no-cache https://github.com/crossfw/Air-Universe/raw/master/scripts/xray_script/Install_server_with_xray.sh && bash Install_server_with_xray.sh
  • 仅适配SSPanel-UIM
  • 使用Xray做Proxy-core, 同时也支持V2Ray-Core
  • 自动创建入站规则
  • 适配多入站,比如一个带ProxyProtocol的中转 和 一个直连入站,均采用面板节点ID, 流量分开统计。

详细说明

首先需要在面板上添加节点 请参考教程,比如这个 (逃 唯一的区别是,如果需要在中转后获取真实ip,请在v2ray或trojan节点地址配置时在最后加上"|relay=true"(不含引号), 亦或者在节点类型中选择ss中转或v2ray中转。至此,3种协议均可获取中转真实IP, 不过要注意的是,在开启此功能时,TCP包开头必须携带ProxyProtocol,否则不予建立连接, 所以如果既要中转又要直连的,需要开2个不同的端口(配合不同节点ID)。

注意 Shadowsocks AEAD单端口多用户需要更新面板到 232c87c 之后

如果使用自动生成证书的TLS, 请在节点信息后添加"|verify_cert=false"来跳过用户侧证书验证(需客户端支持)

需要输入的内容

########Air-Universe config#######\n
Enter node_ids, (eg 1,2,3): 2,3
Enter sspanel domain(https://): 1.1.1.1
Enter panel token: 123
  • 节点ID列表, 不同id用英文逗号","分隔,最后一位不用加
  • 面板地址(都2021年了还没HTTPS?) 输入域名即可,必须是https协议,否则你要自己去改配置文件.
  • 面板密码

这个脚本会做什么

  • 下载2个主程序到/usr/bin/au/

    • Air-Universe
    • Xray
  • 配置文件目录/etc/au/

  • 日志文件

    • Air-Universe log: /var/log/au.log
    • Xray log:/var/log/xr.log
    • Air-Universe日志文件每天6点清空
    • Xray日志文件每60s清空(用于统计ip)

air-universe's People

Contributors

crossfw avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.