大佬!配置 直连规则的链接无法成功
Welcome
- [x] Yes, I'm using the latest major release. Only such installations are supported.
- [x] Yes, I'm using the supported system. Only such systems are supported.
- [x] Yes, I have read all WIKI document,nothing can help me in my problem.
- [x] Yes, I've searched similar issues on GitHub and didn't find any.
- [x] Yes, I've included all information below (version, config, log, etc).
Description of the problem,screencshot would be good
维护者你好,关于在面板配置 直连规则的链接,在客户端无论如何都是走了代理 并未实现直连(404)[socks >> proxy,配置语法正常运行重启后无果,问题依旧,请大佬辛苦排查下谢谢
Xray-ui: v24.12.19 Xray: v25.3.6 【geoip geosite】版本: 202504072213 见你push未更新相关方面就还是老版本,因为我有些链接在geoip都没有更新的,
Version of xray-ui
# Paste here
xray-ui log reports or xray log
# paste log here
你是要服务器直连或者根据规则转发到其它地方。客户端如果你要直连只能配置相关规则 xray-ui 只支持服务器配置不支持客户端配置的。除非你手动配置相关配置。
{
"log": {
"access": "",
"error": "",
"loglevel": "info"
},
"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",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "blocked"
},
{
"protocol": "wireguard",
"settings": {
"secretKey": " ",
"address": [
"172.16.0.2/32",
"2606:4700:110:8a37:9d2:3dd6:c190:612e/128"
],
"network": "tcp,udp",
"peers": [
{
"publicKey": " ",
"allowedIPs": [
"0.0.0.0/0",
"::/0"
],
"endpoint": "engage.cloudflareclient.com:2408"
}
],
"reserved": [
209,
123,
109
],
"mtu": 1280
},
"tag": "wireguard"
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true,
"statsOutboundDownlink": true,
"statsOutboundUplink": true
},
"levels": {
"0": {
"handshake": 2,
"connIdle": 120,
"uplinkOnly": 1,
"downlinkOnly": 1
}
}
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"type": "field",
"domain": [
"www.gstatic.com"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"ip.sb",
"tonkiang.us",
"bgp.he.net",
"app.4gtv.tv",
"geosite:openai",
"yandex.com",
"www.histar.tv",
"eu.org",
"domain:clstorage.net",
"geosite:geolocation-cn",
"geosite:cn"
],
"outboundTag": "wireguard"
},
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "wireguard"
}
]
},
"stats": {}
}
嗯。。因为我见xray ui 默认规则 默认CN IP 网址 为 blocked、修改请到《面板配置》下面的《xray 相关设置》进行配置 大多数国内IP网站socks -> direct]。 只是我遇到些网站他自己走了代理 是国内ip的,dns没污染,他就还是走了代理 😂,手动在服务端配置了,客户端v2rayn 之类好像 不行 不晓得咋编写配置,能get
我先看看大佬刚回复的配置 点赞
那你应该在v2rayn 里面配置
把你直连的添加到里面 要使用那个规则就修改那个
嗯嗯好!❤️ 话说刚刚见大佬配置有wireguard,我因为用的是claw 机子,听r佬群各种会说 用wireguard限速,应该咱这种去用wireguard落地机(另一台服务器)不会影响吧,
嗯嗯好!❤️ 话说刚刚见大佬配置有wireguard,我因为用的是claw 机子,听r佬群各种会说 用wireguard限速,应该咱这种去用wireguard落地机(另一台服务器)不会影响吧,
我这个只是特殊的走那边没感觉到限速,毕竟流量小。
好嘞感谢大佬回复,大佬生活愉快