ipv4无法连接v2ray
你正在使用哪个版本的 V2Ray?
server: V2Ray 版本: v5.1.0
client: V2rayU 3.3.0
你的使用场景是什么?
使用chrome等浏览器通过vmess观看youtube等
你看到的异常现象是什么?
利用ipv4无法连接,但是利用ipv6是可以正常连接的
你期待看到的正常表现是怎样的?
请附上你的配置
服务端配置:
// 在这里附上服务端配置
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 31431,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "xxxxxxx",
"level": 1,
"alterId": 0
}
]
},
"streamSettings": {
"network": "tcp"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
//include_ss
//include_socks
//include_mtproto
//include_in_config
//
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
//include_out_config
//
],
"dns": {
"servers": [
"https+local://dns.google/dns-query",
"8.8.8.8",
"1.1.1.1",
"localhost"
]
},
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
}
,
{
"type": "field",
"domain": [
"domain:epochtimes.com",
"domain:epochtimes.com.tw",
"domain:epochtimes.fr",
"domain:epochtimes.de",
"domain:epochtimes.jp",
"domain:epochtimes.ru",
"domain:epochtimes.co.il",
"domain:epochtimes.co.kr",
"domain:epochtimes-romania.com",
"domain:erabaru.net",
"domain:lagranepoca.com",
"domain:theepochtimes.com",
"domain:ntdtv.com",
"domain:ntd.tv",
"domain:ntdtv-dc.com",
"domain:ntdtv.com.tw",
"domain:minghui.org",
"domain:renminbao.com",
"domain:dafahao.com",
"domain:dongtaiwang.com",
"domain:falundafa.org",
"domain:wujieliulan.com",
"domain:ninecommentaries.com",
"domain:ntdtv.com.tw",
"domain:minghui.org",
"domain:renminbao.com",
"domain:dafahao.com",
"domain:dongtaiwang.com",
"domain:falundafa.org",
"domain:wujieliulan.com",
"domain:ninecommentaries.com",
"domain:shenyun.com"
],
"outboundTag": "blocked"
} ,
{
"type": "field",
"protocol": [
"bittorrent"
],
"outboundTag": "blocked"
}
//include_ban_ad
//include_rules
//
]
},
"transport": {
"kcpSettings": {
"uplinkCapacity": 100,
"downlinkCapacity": 100,
"congestion": true
}
}
}
**客户端配置:**
```javascript
// 在这里附上客户端配置
{
"log": {
"error": "",
"loglevel": "info",
"access": ""
},
"inbounds": [
{
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": false,
"auth": "noauth"
},
"port": "1080"
},
{
"listen": "127.0.0.1",
"protocol": "http",
"settings": {
"timeout": 360
},
"port": "1087"
}
],
"outbounds": [
{
"mux": {
"enabled": false,
"concurrency": 8
},
"protocol": "vmess",
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "none"
}
},
"security": "none"
},
"tag": "proxy",
"settings": {
"vnext": [
{
"address": "xxxx",
"users": [
{
"id": "xxxx",
"alterId": 0,
"level": 1,
"security": "auto"
}
],
"port": 31431
}
]
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP",
"userLevel": 0
}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "none"
}
}
}
],
"dns": {},
"routing": {
"settings": {
"domainStrategy": "AsIs",
"rules": []
}
},
"transport": {}
}
客户端配置:
// 在这里附上客户端配置
请附上出错时软件输出的错误日志
服务器端错误日志:
// 在这里附上服务器端日志
2022/09/08 17:59:52 [Warning] [2107870748] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:52 [Warning] [1735071134] app/dispatcher: default route for tcp:suggestqueries-clients6
.youtube.com:443
2022/09/08 17:59:53 [Warning] [668410797] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:53 [Warning] [2260680267] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:53 [Warning] [1947436625] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:53 [Warning] [3115423848] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:53 [Warning] [3057837514] app/dispatcher: default route for tcp:yt3.ggpht.com:443
2022/09/08 17:59:53 [Warning] [3134848245] app/dispatcher: default route for tcp:jnn-pa.googleapis.com:4
43
2022/09/08 18:00:44 [Warning] [915140679] app/dispatcher: default route for tcp:encrypted-tbn0.gstatic.c
om:443
2022/09/08 18:00:46 [Warning] [2399867268] app/dispatcher: default route for tcp:static.ads-twitter.com:
443
2022/09/08 18:00:46 [Warning] [2046062873] app/dispatcher: default route for tcp:a.quora.com:443
2022/09/08 18:00:46 [Warning] [267180439] app/dispatcher: default route for tcp:www.redditstatic.com:443
2022/09/08 18:00:46 [Warning] [3236676466] app/dispatcher: default route for tcp:connect.facebook.net:44
3
客户端错误日志:
// 在这里附上客户端日志
请附上访问日志
// 在这里附上服务器端日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上 --test 命令的输出
如果 V2Ray 服务运行异常,请附上 journal 日志
用tracert连服务器,有timeout吗?(force 使用IPv4)
有的,
xxx~ % traceroute xxxxxx
traceroute to xxxxxx (xxxxxx), 64 hops max, 52 byte packets
1 172.16.46.1 (172.16.46.1) 23.624 ms 28.824 ms 3.143 ms
2 10.0.1.1 (10.0.1.1) 2.118 ms 2.550 ms 4.504 ms
3 192.168.2.41 (192.168.2.41) 4.169 ms 4.032 ms 30.039 ms
4 159.226.253.125 (159.226.253.125) 39.398 ms 37.489 ms 43.164 ms
5 8.200 (159.226.254.141) 33.538 ms 69.104 ms 33.883 ms
6 159.226.254.66 (159.226.254.66) 34.488 ms 41.008 ms 34.062 ms
7 8.198 (159.226.254.10) 190.195 ms
159.226.254.62 (159.226.254.62) 72.113 ms
8.198 (159.226.254.10) 69.319 ms
8 te0-0-0-18.br02.hkg15.pccwbtn.net (63.217.16.33) 78.240 ms 70.322 ms 99.492 ms
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days