電訊茶室's Archiver

角色 發表於 2018-11-30 14:21

V2Ray config.json configuration examples

[i=s] 本帖最後由 角色 於 2018-11-30 23:27 編輯 [/i]

官网:[url]https://www.v2ray.com[/url]
白话文安装:[url]https://toutyrater.github.io[/url]


安装V2Ray有不同的方法,主要都是一键安装比较多,所以不同的platforms安装都是差不多,但是configuration file “config.son”都是一样。所以这里主要说的configuration methods而不是说installation methods。

角色 發表於 2018-11-30 14:21

[i=s] 本帖最後由 角色 於 2018-12-1 13:19 編輯 [/i]

Other links:

[url]http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&ptid=7053&pid=45360[/url]

[url]https://yuan.ga/v2ray-complete-tutorial/[/url]

角色 發表於 2018-11-30 14:22

备用帖子3

角色 發表於 2018-11-30 14:24

备用帖子4

角色 發表於 2018-11-30 14:25

备用帖子5

角色 發表於 2018-11-30 14:25

备用帖子6

角色 發表於 2018-11-30 14:30

[i=s] 本帖最後由 角色 於 2018-12-4 12:06 編輯 [/i]

The initial settings of config.json for V2Ray server[code]
{
  "log" : {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "warning"
  },
  "inbound": {
    "port": 12659,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "a92bece0-1fbe-47e4-a9dd-c8f473dcdcfc",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  },
  "outbound": {
    "protocol": "freedom",
    "settings": {}
  },
  "outboundDetour": [
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "routing": {
    "strategy": "rules",
    "settings": {
      "rules": [
        {
          "type": "field",
          "ip": [
            "0.0.0.0/8",
            "10.0.0.0/8",
            "100.64.0.0/10",
            "127.0.0.0/8",
            "169.254.0.0/16",
            "172.16.0.0/12",
            "192.0.0.0/24",
            "192.0.2.0/24",
            "192.168.0.0/16",
            "198.18.0.0/15",
            "198.51.100.0/24",
            "203.0.113.0/24",
            "::1/128",
            "fc00::/7",
            "fe80::/10"
          ],
          "outboundTag": "blocked"
        }
      ]
    }
  }
}

[/code].

角色 發表於 2018-11-30 21:53

备用帖子8

角色 發表於 2018-11-30 21:53

备用帖子9

角色 發表於 2018-11-30 21:53

备用帖子10

頁: [1]

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