luci-app-xray
luci-app-xray copied to clipboard
能说一下到底怎么才能用起来吗?
我下载了下面两个ipk安装,中间提示缺少的组件我也安装好了 luci-app-xray-shared_2.0.0-1_all.ipk luci-app-xray-fw4_2.0.0-1_all.ipk
安装好后台也能看到界面,但是相比之前手动写的config.json,感觉不一样,我在windows上用v2rayN用1分钟配置可以正常链接了,但是在luci-app-xray配了一天没用起来,看日志启动了没问题,我将电脑网关和dns都改成了这个openwrt(openwrt只是作为一个旁路由来使用)的ip还是无法翻墙,/usr/bin/xray -test -config /var/etc/xray/config.json
也显示ok,
luci-app-xray界面配置上也没说是不是全部接管了openwrt的流量(已勾选透明代理)?
是不是类似系统代理,然后在xray这里用geo来分流?比如黑名单模式,白名单模式,luci-app-xray采用的是默认是什么模式呢? 在DNS Settings有一条Bypassed domain rules:geosite:cn,用的绕过大陆模式吗?只要是国外ip一律走梯子? 我在windows上x2rayN、macOS和其他linux上可以正常使用的config.json配置:
{
"log": {
"access": "",
"error": "",
"loglevel": "none"
},
"inbounds": [
{
"tag": "socks",
"port": 10808,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
],
"routeOnly": false
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
},
{
"tag": "http",
"port": 10809,
"listen": "127.0.0.1",
"protocol": "http",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
],
"routeOnly": false
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "xxxx.com",
"port": 443,
"users": [
{
"id": "xxxx-xxxx-xxx-xx",
"alterId": 0,
"email": "[email protected]",
"security": "auto",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"allowInsecure": true,
"show": false
}
},
"mux": {
"enabled": false,
"concurrency": -1
}
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "proxy",
"domain": [
"geosite:google"
],
"enabled": true
}
]
}
}