You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
新人入坑,买的亚马逊的VPS,可以正常连接外网。
基本上每一步都是按照projectX的小小白白话文操作的,配置完成后,可以正常访问域名,http和https都可以ping通,服务端看xray运行也一切正常。但客户端无论是通过v2rayN连接,还是通过xray.exe,都无法访问任何网站。
服务端配置如下:
{
"log": {
"loglevel": "warning",
"access": "/home/admin/xray_log/access.log",
"error": "/home/admin/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": "7ab2da8b-fb1e-4606-a7fc-0ae17b58e4d2",
"flow": "xtls-rprx-vision",
"level": 0
}
],
"decryption": "none",
"fallbacks": [
{
"dest": 80
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": "http/1.1",
"certificates": [
{
"certificateFile": "/home/admin/xray_cert/xray.crt",
"keyFile": "/home/admin/xray_cert/xray.key"
}
]
}
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
]
}
v2rayN截图如下

希望大佬可以指点迷津
Beta Was this translation helpful? Give feedback.
All reactions