Comments (3)
手动配置Xray入站
from air-universe.
手动配置Xray入站
请问如何配置呢?这个部分不是由 airu 从 API 自动添加的吗?
from air-universe.
手动配置Xray入站
请问如何配置呢?这个部分不是由 airu 从 API 自动添加的吗?
- Route:client->xray:443[tfo-in]->xray[direct-out]->au10084->xray10085[api]->xray[raw-in]->xray[direct-out]
//Xray server config.json
{
"inbouds": [
{
"listen": "127.0.0.1",
"port": 443,
"protocol": "dokodemo-door",
"settings":
{
"address": "127.0.0.1",
"port": 10084 //v2board node server port is equivalent to air-universe listening port
},
"streamSettings":
{
"network": "tcp",
"security": "tls",
"tlsSettings":
{
"certificates": [
{
"certificateFile": "/path/to/fullchain.crt",
"keyFile": "/path/to/private.key"
}]
},
"sockopt":
{
"tcpFastOpen": true
}
},
"tag": "tfo-in"
},
{
"listen": "127.0.0.1",
"port": 10085, //This port use for air-universe callback api to create user info
"protocol": "dokodemo-door",
"settings":
{
"address": "127.0.0.1"
},
"tag": "api"
}],
"outbounds": [
{
"protocol": "freedom",
"settings": {},
"tag": "direct-out"
}],
"api":
{
"services": [
"HandlerService",
"StatsService"
],
"tag": "api"
},
"stats":{},
"policy":
{
"levels":
{
"0":
{
"statsUserDownlink": true,
"statsUserUplink": true
}
}
},
"routing":
{
"rules": [
{
"type": "field",
"domainStrategy": "AsIs",
"inboundTag": ["tfo-in","raw-in"],
"outboundTag": "direct-out"
},
{
"type": "field",
"domainStrategy": "AsIs",
"inboundTag": ["api"],
"outboundTag": "api"
}]
}
}
//Air-Universe au.json
"proxy":
{
"type": "xray",
"alter_id": 0,
"auto_generate": true,
"in_tags": ["raw-in"],
"api_address": "127.0.0.1",
"api_port": 10085,
"force_close_tls": true,
"log_path": "/var/log/au.log",
"cert":
{
"cert_path": "/path/to/certificate.crt",
"key_path": "/path/to/key.key"
},
"speed_limit_level": [0]
}
from air-universe.
Related Issues (20)
- 关于家宽动态IP的一些功能 HOT 4
- 无法正常识别sspanel "|relay=true" 字段 HOT 1
- 关于链式转发问题的提问如何在配置文件中写入UUID和用户名 HOT 1
- 如何自定义审计规则
- v2board节点配置完成后日志中出现x509报错(已解决) HOT 1
- django-sspanel api地址不一样 HOT 1
- nat上安装出问题
- 大佬为什么运行AirU的机器,内存会爆炸?
- 请问设置数量应该怎么设置 HOT 1
- Auto ins
- Air-Universe后端无限自动重启问题 HOT 1
- 安装后出现错误 failed to parse key > open /usr/local/share/au/server.key: permission denied
- 对接v2b开tls没网 HOT 7
- 似乎不支持xtls? HOT 1
- failed to receive server preface within timeout HOT 13
- 后端不支持sspanel自定义配置 HOT 1
- 同学,您这个项目引入了174个开源组件,存在4个漏洞,辛苦升级一下
- 后端使用air最新加xray-core最新报错 HOT 2
- 脚本错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from air-universe.