Open flukaxkx opened 5 years ago
支持
又仔细对了一下win下颌mac下的配置文件: 第一, win下都是:“inbound”,“outbound” mac下是:“inbounds”,“outbounds”
第二, mac下多了http(s)代理,我记得socks不是可以代理所有的流量吗? 弄两个代理会不会有影响呢?
第三,
"alpn" : [
"http\/1.1"
],
这段是什么意思啊,win下没有这个东西啊。
第四,ws字段也有不同,上面的是mac的,下面的是win的 这个会不会影响使用啊。
"wsSettings" : {
"path" : "\/ooo",
"headers" : {
}
},
"wsSettings": {
"connectionReuse": true,
"path": "/ooo",
"headers": null
}
删去最新的v2rayx,装上早年的1.1.0版本,就好用了。 难道真是版本的问题?
1.1.0自动生成的config.json如下:
{
"policy" : {
"levels" : {
"0" : {
"uplinkOnly" : 0
}
}
},
"dns" : {
"servers" : [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"outboundDetour" : [
{
"protocol" : "freedom",
"tag" : "direct",
"settings" : {
}
}
],
"inbound" : {
"listen" : "127.0.0.1",
"port" : 1081,
"protocol" : "socks",
"settings" : {
"auth" : "noauth",
"udp" : false,
"ip" : "127.0.0.1"
}
},
"inboundDetour" : [
{
"listen" : "127.0.0.1",
"allocate" : {
"strategy" : "always",
"refresh" : 5,
"concurrency" : 3
},
"port" : 8001,
"protocol" : "http",
"tag" : "httpDetour",
"domainOverride" : [
"http",
"tls"
],
"streamSettings" : {
},
"settings" : {
"timeout" : 0
}
}
],
"log" : {
"error" : "\/var\/folders\/q3\/cpsx8wvx6_j43kh39vs0hlyr0000gn\/T\/cenmrev.v2rayx.log.x\/error.log",
"loglevel" : "debug",
"access" : "\/var\/folders\/q3\/cpsx8wvx6_j43kh39vs0hlyr0000gn\/T\/cenmrev.v2rayx.log.x\/access.log"
},
"routing" : {
"strategy" : "rules",
"settings" : {
"domainStrategy" : "IPIfNonMatch",
"rules" : [
{
"domain" : [
"localhost"
],
"type" : "field",
"outboundTag" : "direct"
},
{
"type" : "field",
"outboundTag" : "direct",
"ip" : [
"geoip:private"
]
}
]
}
},
"outbound" : {
"sendThrough" : "0.0.0.0",
"mux" : {
"enabled" : false,
"concurrency" : 8
},
"protocol" : "vmess",
"settings" : {
"vnext" : [
{
"address" : "abc.abc",
"port" : 443,
"users" : [
{
"id" : "xxx",
"alterId" : 64,
"security" : "chacha20-poly1305",
"level" : 1
}
],
"remark" : ""
}
]
},
"streamSettings" : {
"wsSettings" : {
"path" : "\/ooo",
"headers" : {
}
},
"tlsSettings" : {
"serverName" : "abc.abc",
"allowInsecure" : true
},
"httpSettings" : {
"path" : "",
"host" : [
""
]
},
"tcpSettings" : {
"header" : {
"type" : "none"
}
},
"kcpSettings" : {
"header" : {
"type" : "none"
},
"mtu" : 1350,
"congestion" : false,
"tti" : 50,
"uplinkCapacity" : 5,
"writeBufferSize" : 1,
"readBufferSize" : 2,
"downlinkCapacity" : 20
},
"network" : "ws",
"security" : "tls"
}
}
}
很明显你win的配置文件已经是老版本的配置了,根据v2ray项目的说法应该很快不被支持,新版的config文件已经将inbounds
和outbounds
全部改为了数组。
从v2ray-core项目的issue来看,客户端使用ws+tls的新配置而服务端仍然使用老版本+旧配置有无法连接的反馈,建议将服务端更新为新版config文件,同时更新客户端和服务端core至最新版
好的,多谢,我正在看新版的文档,尽快更新一下。
请回答下列问题。不按模板发的 issue 将直接被关闭。
0) 如果你没有遇到任何错误和不正常,请在此处回答你想发表的内容: ws+tls+web(https) 不能联网 web服务器使apache v2rayX 采用的是 全局+main的模式。
1) 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本? macOS X 10.13.6 在vmware 虚拟机上安装,桥接模式
2) 如果你在操作 V2RayX 的时候遇到程序崩溃/无反应,请描述你的操作,之后在命令行(终端.app)里运行
/Applications/V2RayX.app/Contents/MacOS/V2RayX
,重复上述操作直至软件崩溃,把终端里的输出贴到下面指定的地方。3) 如果 V2RayX 没有发生崩溃,但是有一些不正常行为,比如上次勾选了 mux,再次打开,mux 的钩没有了。请描述你遇到的不正常行为。
4) 如果 V2RayX 一切正常,但网络依然不如你所预料,请首先把 log level 切换到 debug,再次访问你想访问的网站。然后点击 V2RayX 的
view current config.json
,将弹出的浏览器内的配置文件粘贴到下面指定的地方,但是隐藏掉ip/端口/id等信息。然后点击 V2RayX 的
view log
,把 error.log 中的输出贴到下方:5) 其他你认为可以帮助开发者和你一起解决问题的信息: 这是我win下的配置信息,在v2rayN下好用:
这是我服务器的配置信息