全球主机交流论坛
标题:
已解决!感谢各位老大!
[打印本页]
作者:
seamus
时间:
2021-11-18 17:36
标题:
已解决!感谢各位老大!
本帖最后由 seamus 于 2021-11-18 18:09 编辑
已解决!解决方法是用本地V2RAY客户端config.json中的设置替换中转鸡config.json中"tag"到 "routing": 之间的设置!方便快捷!
Netflix落地机安装安装V2ray-VMESS+WS+TLS,配置为
{
"inbounds": [{
"port": 33149,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "72609a0a-6492-49e1-bfb1-fb903ed2cab8",
"level": 1,
"alterId": 0
}
],
"disableInsecureEncryption": false
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/HzwrgX",
"headers": {
"Host": "sgluodi.beian.xyz"
}
}
}
}],
复制代码
直接连接落地机是能够看Netflix的!
中转鸡也是安装V2ray-VMESS+WS+TLS,下面实我参照网上配置修改的
{
"inbounds": [{
"port": 25374,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "8a3a02c2-441e-6617-aa46-3552ad5c9669",
"level": 1,
"alterId": 0
}
],
"disableInsecureEncryption": false
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/mgxX675L2l",
"headers": {
"Host": "sg.beian.xyz"
}
}
},
"sniffing": {
"enabled": true, //一定要开启 sniffing,V2Ray 才能识别 Netflix 的流量
"destOverride": ["http", "tls"]
}
}],
// "outbounds": [{
// "protocol": "freedom",
// "settings": {}
// },{
// "protocol": "blackhole",
// "settings": {},
// "tag": "blocked"
// }],
// "routing": {
// "rules": [
// {
// "type": "field",
// "ip": ["geoip:private"],
// "outboundTag": "blocked"
// }
// ]
// }
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"tag": "sgluodiVPS",
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "45.xxx.xxx.xxx",
"port": xxxxx,
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/HzwrgX",
"headers": {
"Host": "sgluodi.beian.xyz"
}
}
},
"users": [{
"id": "72609a0a-6492-49e1-bfb1-fb903ed2cab8",
"security": "auto",
"alterId": 0
}]
}]
}
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "sgluodiVPS",
"domain": ["geosite:netflix"]
}
]
}
}
复制代码
设置好中转鸡v2ray启动是成功的!但是客户端连接上去后Netflix就提示没网络!
也不知道哪里错了!所以上来请教一下各位大哥!
作者:
喵酱暗恋我
时间:
2021-11-18 17:36
你自己抓包看一下是哪个请求出去之后没回复
作者:
今晚不吃饭
时间:
2021-11-18 17:37
有图比搜搜一大堆教程。
作者:
游戏人生超
时间:
2021-11-18 17:46
本帖最后由 游戏人生超 于 2021-11-18 17:48 编辑
现在门槛都很低,快餐时代,几个人能耐心读一读文档的。
入站
inbounds
复制代码
出站
outbounds
复制代码
路由规则
routing
复制代码
实现套娃分流,即出站时,奈飞流量走指定出口。
就要完成
1.设置指定出口
"outbounds": [
{
"tag": "netflix",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "****.***",
"port": 443,
"users": [
{
"id": "****",
"alterId": 0,
"email": "
[email protected]
",
"security": "auto"
}
]
}
]
},
复制代码
2.在路由规则内规定哪些流量走“netfilx”标签
"routing": {
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "linear",
"rules": [
{
"type": "field",
"outboundTag": "netflix",
"domain": [
"geosite:netflix"
]
},
{
"type": "field",
"outboundTag": "direct",
"network": "udp,tcp"
}
]
}
复制代码
害怕伸手党直接粘贴,多说一句,outbounds里的 默认出口标签 “direct”我上面没写,还是要加上的。
作者:
seamus
时间:
2021-11-18 17:47
今晚不吃饭 发表于 2021-11-18 17:37
有图比搜搜一大堆教程。
就是没找到哪里错了……
作者:
bbsbbs
时间:
2021-11-18 17:52
v2ray这个配置文件简直**
作者:
darius
时间:
2021-11-18 17:55
中转鸡为啥要用v2ray中转呢,用iptables、nginx啥的转发到落地鸡不就行
作者:
micms
时间:
2021-11-18 17:58
建议直接dns 搞个奈飞机
作者:
lovecan
时间:
2021-11-18 18:01
连 中专机器能上google吗?
作者:
seamus
时间:
2021-11-18 18:12
游戏人生超 发表于 2021-11-18 17:46
现在门槛都很低,快餐时代,几个人能耐心读一读文档的。
入站
出站
感谢老大我已经处理好了!谢谢!
作者:
tegihov430
时间:
2021-11-18 19:35
改本地配置有点不通用,还是建议改中转机上的服务器配置
欢迎光临 全球主机交流论坛 (https://ddzzz.eu.org/)
Powered by Discuz! X3.4