跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 已解决!感谢各位老大!
未分類
18 11 月 2021

已解决!感谢各位老大!

seamus 大佬有话说 :

已解决!感谢各位老大!

本帖最后由 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: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:37
有图比搜搜一大堆教程。

yc006t就是没找到哪里错了……

bbsbbs 大佬有话说 :

v2ray这个配置文件简直**

darius 大佬有话说 :

中转鸡为啥要用v2ray中转呢,用iptables、nginx啥的转发到落地鸡不就行

micms 大佬有话说 :

建议直接dns搞个奈飞机

lovecan 大佬有话说 :

连 中专机器能上google吗?

seamus 大佬有话说 :

游戏人生超 大佬有话说 : 2021-11-18 17:46
现在门槛都很低,快餐时代,几个人能耐心读一读文档的。
入站
出站

感谢老大我已经处理好了!谢谢!

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具