xray手机访问可以,但是电脑失败,是ssl证书设置有问题吗 #4201
Unanswered
southBeforeNorth
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我是按照:https://xtls.github.io/document/level-0/ch08-xray-clients.html ,过程完全按照教程步骤和内容,进行搭建的xray服务
在手机上的小火箭,已经能正常访问国外网站
但是在电脑的V2rayN(版本:v7.4.1)上,访问失败,具体如下图,请问大家是什么原因呢
看起来是ssl证书有问题,但是找了很久不知道怎么解决
真的麻了,感谢各位大佬帮忙看看
报错如下:
v2rayN导出的配置如下
{ "log": { "loglevel": "warning" }, "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 } } ], "outbounds": [ { "tag": "proxy", "protocol": "vless", "settings": { "vnext": [ { "address": "xxx", "port": 443, "users": [ { "id": "xxx", "email": "[email protected]", "security": "auto", "encryption": "none", "flow": "xtls-rprx-vision" } ] } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "allowInsecure": false } }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } } ], "dns": { "hosts": { "dns.google": "8.8.8.8", "proxy.example.com": "127.0.0.1" }, "servers": [ { "address": "223.5.5.5", "domains": [ "geosite:cn" ], "expectIPs": [ "geoip:cn" ] }, "1.1.1.1", "8.8.8.8", "https://dns.google/dns-query" ] }, "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api" }, { "type": "field", "outboundTag": "proxy", "domain": [ "domain:googleapis.cn", "domain:gstatic.com" ] }, { "type": "field", "port": "443", "network": "udp", "outboundTag": "block" }, { "type": "field", "outboundTag": "block", "domain": [ "geosite:category-ads-all" ] }, { "type": "field", "outboundTag": "direct", "ip": [ "geoip:private" ] }, { "type": "field", "outboundTag": "direct", "domain": [ "geosite:private" ] }, { "type": "field", "outboundTag": "direct", "ip": [ "223.5.5.5", "223.6.6.6", "2400:3200::1", "2400:3200:baba::1", "119.29.29.29", "1.12.12.12", "120.53.53.53", "2402:4e00::", "2402:4e00:1::", "180.76.76.76", "2400:da00::6666", "114.114.114.114", "114.114.115.115", "114.114.114.119", "114.114.115.119", "114.114.114.110", "114.114.115.110", "180.184.1.1", "180.184.2.2", "101.226.4.6", "218.30.118.6", "123.125.81.6", "140.207.198.6", "1.2.4.8", "210.2.4.8", "52.80.66.66", "117.50.22.22", "2400:7fc0:849e:200::4", "2404:c2c0:85d8:901::4", "117.50.10.10", "52.80.52.52", "2400:7fc0:849e:200::8", "2404:c2c0:85d8:901::8", "117.50.60.30", "52.80.60.30" ] }, { "type": "field", "outboundTag": "direct", "domain": [ "domain:alidns.com", "domain:doh.pub", "domain:dot.pub", "domain:360.cn", "domain:onedns.net" ] }, { "type": "field", "outboundTag": "direct", "ip": [ "geoip:cn" ] }, { "type": "field", "outboundTag": "direct", "domain": [ "geosite:cn" ] }, { "type": "field", "port": "0-65535", "outboundTag": "proxy" } ] } }
xray配置如下:
{ "log": { "loglevel": "warning", "access": "/home/breeze/xray_log/access.log", "error": "/home/breeze/xray_log/error.log" }, "dns": { "servers": [ "https+local://1.1.1.1/dns-query", "localhost" ] }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "block" }, { "type": "field", "ip": [ "geoip:cn" ], "outboundTag": "block" }, { "type": "field", "domain": [ "geosite:category-ads-all" ], "outboundTag": "block" } ] }, "inbounds": [ { "port": 443, "protocol": "vless", "settings": { "clients": [ { "id": "xxx", "flow": "xtls-rprx-vision", "level": 0, "email": "[email protected]" } ], "decryption": "none", "fallbacks": [ { "dest": 8080 } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "alpn": "http/1.1", "certificates": [ { "certificateFile": "/home/breeze/xray_cert/xray.crt", "keyFile": "/home/breeze/xray_cert/xray.key" } ] } } } ], "outbounds": [ { "tag": "direct", "protocol": "freedom" }, { "tag": "block", "protocol": "blackhole" } ] }
nginx配置如下
Beta Was this translation helpful? Give feedback.
All reactions