Open toohandsome opened 3 years ago
使用xray 同样不行
v2ray不支持xtls 透明代理需要配置iptables 配置文件有问题
我使用xray启动的,请问该如何配置呢? 我暂时没配置透明代理,使用树莓派手动设置代理访问google,以下是日志:
配置文件如下(从xray项目拷贝修改的)
{
"log": {
"access": "access.log",
"error": "error.log",
"loglevel": "warning"
},
"inbounds": [
{
"tag": "socks",
"port": 10808,
"listen": "0.0.0.0",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"allowTransparent": false
}
},{
"tag": "http",
"port": 10809,
"listen": "0.0.0.0",
"protocol": "http",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"udp": false,
"allowTransparent": false
}
},{
"port": 12345,
"protocol": "dokodemo-door",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"network": "tcp,udp",
"followRedirect": true
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
}, {
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}, {
"protocol": "vless",
"tag": "proxy",
"settings": {
"vnext": [{
"address": "1111",
"port": 443,
"users": [{
"id": "1e9a0e99-4937-1111-8c111118-11",
"flow": "xtls-rprx-direct",
"encryption": "none"
}]
}]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"serverName": "1111.xyz"
}
}
}],
"routing": {
"strategy": "rules",
"settings": {
"rules": [{
"type": "field",
"domain" : ["ext:site.dat:gw"],
"outboundTag": "proxy"
}, {
"type": "field",
"domain" : ["ext:site.dat:ad"],
"outboundTag": "blocked"
}]
}
}
}
解决了 参考 https://github.com/v2fly/v2ray-core/issues/304 证书的问题
恭喜 官改应该没有内置证书
解决了 参考 v2fly/v2ray-core#304 证书的问题
看得不太懂,能帮忙详细说一下么?
运行的 v4.41.0 的 v2ray-linux-armv5.tar.gz 里面的文件 看日志是执行成功了的,如图所示: 配置文件如下:
但是接入该路由器下的设备无法访问gsite