電訊茶室's Archiver

角色 發表於 2019-2-25 11:34

V2Ray使用教程——基础概念3

[i=s] 本帖最後由 角色 於 2019-2-27 18:50 編輯 [/i]

如果不安装其他软件,厂家自带的软件里的设备如iPad,Windows10,他们是不可以接入socks(socks5)proxy server的,如果不能安装别的软件,那么我们怎样办呢? 我们可以多一个inbound——“http”,那么系统就会有两个inbounds。

为了大家能了解以下内容,建议大家先看看我之前的写的基础概念1和2[1,2].

[attach]4298[/attach]

References:
[1] [url]http://www.telecom-cafe.com/forum/viewthread.php?tid=7370&extra=page%3D1[/url]
[2] [url]http://www.telecom-cafe.com/forum/viewthread.php?tid=7372&extra=page%3D1[/url]

角色 發表於 2019-2-25 11:43

[i=s] 本帖最後由 角色 於 2019-2-27 18:51 編輯 [/i]

VN2的config.json跟[url=http://www.telecom-cafe.com/forum/viewthread.php?tid=7372&extra=page%3D1]《V2Ray使用教程——基础概念2》[/url]一样,我们这里只展示VN1的config.json.

VN1 config.json contains:[code]
{
  "inbounds": [
    {
      "port": 1080,  
      "protocol": "http"
    },
    {
      "port": 1081,  
      "protocol": "socks"
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
           "address": "VN2-node-IP or hostname",
            "port": 10086,
            "users": [
              {"id": "UUID"}
            ]
          }
        ]
      }
    },
    {
      "protocol": "freedom",
      "tag": "direct",
      "settings": {}
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
      {
       "type": "field",
        "domain": [ "geosite:cn"],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "ip": [
          "geoip:cn",
          "geoip:private"
        ],
        "outboundTag": "direct"
      }
    ]
  }  
}
[/code].

要更改的部分有[code]
           "address": "VN2-node-IP or hostname",
           "port": 10086   
           {"id": "UUID"}
[/code]

角色 發表於 2019-2-25 12:00

iPad settings for http proxy:

Settings -> WiFi -> look at the connected WiFi and fine letter "i" info (right-hand-side of WiFi signal bar) -> HTTP proxy (Configure Proxy) -> choose Manual -> server: 192.168.55.22, port: 1080。

Windows 10 settings for http proxy:
Start -> Control Panel -> Network and Internet -> Proxy -> Use Proxy click Open -> Address: 192.168.55.22, Port: 1080

角色 發表於 2019-2-25 12:01

[i=s] 本帖最後由 角色 於 2019-2-25 12:10 編輯 [/i]

测试结果:

用http proxy,同时都可以看YouTube 和 爱奇艺VIP(只能在大陆地区看的影片),效果非常满意。

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.