网上教程都试了,都不行,安装的xui是https://github.com/FranzKafkaYu/x-ui/ 用的vless协议,xray调成了1.8版本
这是xui面板的默认xray代码:
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"handshake": 10,
"connIdle": 100,
"uplinkOnly": 2,
"downlinkOnly": 3,
"statsUserUplink": true,
"statsUserDownlink": true,
"bufferSize": 10240
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]},
"stats": {}
}
xui面板生成的时候我看有提供如下信息:
User1
Id: 4282***-a***-4b5a-bf**-100***
Flow: xtls-rprx-vision
Utls: chrome
Email: v***.l***@xray.com
私钥:ME5TP2**********
公钥:g1f1w***********4
shortIds: ,46,8****,fe****,b6b*****
网上的教程我看有写什么securityalterID,我看跟我这个貌似都不同,我是通过日本的中转机 连web新加坡nat鸡。
谢谢大佬了,不知道默认协议里有哪些需要修改。我明明选的是vless,这个默认代码里是dokodemo-door,装了xui面板,直连日本鸡或新家坡NAT鸡都没问题,中转就不行了。还有不知道为啥inbound里有个62789端口,我设置的端口里明明没有这个端口
热议
2楼 郑爽 昨天22:52
好好看文档吧
3楼 charles97 昨天23:01
好好看文档吧
文档看了两天了,知道在outbound 和routing里面设置,但是就是不行
4楼 zhongziso 昨天23:35
很简单啊,出口分流就好了
5楼 charles97 10小时前
我写的协议,但是还是有问题,报错
app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [dial tcp *.9.19.9:17652: operation was canceled] > common/retry: all retry attempts failed
,还请大佬指点:
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"tag": "VPS1" ,
"protocol": "vless",
"settings": {
"vnext": [{
"address": "7.*.*.6",
"port": 5**5,
"users": [{
"id": "42****-a**-4***-b***-10****",
"security": "auto",
"alterId": 0
}] }] }
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
},
{
"type": "field",
"outboundTag": "VPS1",
"domain": ["geosite:netflix","nflxvideo.net","nflxext.com","nflxso.net"]}
] },
"stats": {}
}
6楼 qqlikeho 10小时前
你好像傻 你新加坡落地非得用vless做什么 又没有墙 直接用S5不就行了 。
7楼 comet 10小时前
改成1.75的试试,不行用vmess配置试试。
8楼 comet 10小时前
我是让gpt改好直接能用
9楼 啥都不会 9小时前
outbounds 加上落地鸡的配置(对照落地鸡的inbounds抄就好了),加个tag xxx
然后routing 规则分流到落地鸡(tag xxx)
另外dokodemo-door的62789(tag api)是对接面板用的
10楼 charles97 9小时前
你好像傻 你新加坡落地非得用vless做什么 又没有墙 直接用S5不就行了 。
S5不会弄,但是改成vmess就可以了,谢谢提醒,等有空再试试S5
申明:本文内容由网友收集分享,仅供学习参考使用。如文中内容侵犯到您的利益,请在文章下方留言,本站会第一时间进行处理。