| 
 | 
 
 
发表于 2020-5-11 19:55:17
|
显示全部楼层
 
 
 
 
(1)修改伯力机的config.json,在outbounds里增加如下ruvds客户端的配置(该配置可以通过本地电脑的v2ray客户端导出),相当于伯力机作为客户端去连接ruvds服务器 
{ 
      "tag": "ruvds", 
      "protocol": "vmess", 
      "settings": { 
        "vnext": [ 
          { 
            "address": "XXXX", 
            "port": 443, 
            "users": [ 
              { 
                "id": "XXXXX", 
                "alterId": 0, 
                "email": "t@t.tt", 
                "security": "auto" 
              } 
            ] 
          } 
        ], 
        "servers": null, 
        "response": null 
      }, 
      "streamSettings": { 
        "network": "tcp", 
        "security": "tls", 
        "tlsSettings": { 
          "allowInsecure": false, 
          "serverName": "ruvds1.fclouds.xyz" 
        }, 
        "tcpSettings": null, 
        "kcpSettings": null, 
        "wsSettings": null, 
        "httpSettings": null, 
        "quicSettings": null 
      }, 
      "mux": null 
    } 
(2)修改伯力机outbounds里的routing下的rules规则,将telegram和奈飞域名和ip都加入,同时domainStrategy策略改成"IPOnDemand" 
{ 
        "type": "field", 
        "domain": [ 
                "geosite:netflix", 
                "btstatic.com", 
                "netflix.ca", 
                "netflix.com", 
                "netflix.net", 
                "nflxext.com", 
                "nflximg.com", 
                "nflximg.net", 
                "nflxsearch.net", 
                "nflxso.net", 
                "nflxvideo.net", 
                "fast.com", 
                "netflixdnstest0.com", 
                "netflixdnstest1.com", 
                "netflixdnstest2.com", 
                "netflixdnstest3.com", 
                "netflixdnstest4.com", 
                "netflixdnstest5.com", 
                "netflixdnstest6.com", 
                "netflixdnstest7.com", 
                "netflixdnstest8.com", 
                "netflixdnstest9.com" 
        ], 
        "outboundTag": "ruvds" 
      }, 
      { 
        "type": "field", 
        "ip": [ 
                "23.246.0.0/18", 
                "37.77.184.0/21", 
                "45.57.0.0/17", 
                "64.120.128.0/17", 
                "66.197.128.0/17", 
                "108.175.32.0/20", 
                "192.173.64.0/18", 
                "198.38.96.0/19", 
                "198.45.48.0/20" 
        ],   
        "outboundTag": "ruvds"        
      }, 
      { 
        "type": "field", 
        "domain": [ 
                "t.me", 
                "tdesktop.com", 
                "telegra.ph", 
                "telesco.pe", 
                "telegram.me", 
                "telegram.org", 
                "telegram.dog", 
                "graph.org" 
           ], 
           "outboundTag": "ruvds" 
         }, 
         { 
           "type": "field", 
           "ip": [ 
          "67.198.55.0/24", 
          "67.198.0.0/17", 
          "91.108.4.0/22", 
          "91.108.8.0/22", 
          "91.108.12.0/22", 
          "91.108.16.0/22", 
          "91.108.20.0/22", 
          "91.108.56.0/22", 
          "91.108.56.0/23", 
          "95.161.64.0/20", 
          "109.239.140.0/24", 
          "149.154.160.0/22", 
          "149.154.164.0/22", 
          "149.154.168.0/22", 
          "149.154.172.0/22", 
          "149.154.160.0/20"          
        ],  
        "outboundTag": "ruvds"        
      } |   
 
 
 
 |