返回列表 發帖

V2Ray config.json configuration examples

本帖最後由 角色 於 2018-11-30 23:27 編輯

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


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

本帖最後由 角色 於 2018-12-1 13:19 編輯

Other links:

http://www.telecom-cafe.com/foru ... =7053&pid=45360

https://yuan.ga/v2ray-complete-tutorial/

TOP

备用帖子3

TOP

备用帖子4

TOP

备用帖子5

TOP

备用帖子6

TOP

本帖最後由 角色 於 2018-12-4 12:06 編輯

The initial settings of config.json for V2Ray server
  1. {
  2.   "log" : {
  3.     "access": "/var/log/v2ray/access.log",
  4.     "error": "/var/log/v2ray/error.log",
  5.     "loglevel": "warning"
  6.   },
  7.   "inbound": {
  8.     "port": 12659,
  9.     "protocol": "vmess",
  10.     "settings": {
  11.       "clients": [
  12.         {
  13.           "id": "a92bece0-1fbe-47e4-a9dd-c8f473dcdcfc",
  14.           "level": 1,
  15.           "alterId": 64
  16.         }
  17.       ]
  18.     }
  19.   },
  20.   "outbound": {
  21.     "protocol": "freedom",
  22.     "settings": {}
  23.   },
  24.   "outboundDetour": [
  25.     {
  26.       "protocol": "blackhole",
  27.       "settings": {},
  28.       "tag": "blocked"
  29.     }
  30.   ],
  31.   "routing": {
  32.     "strategy": "rules",
  33.     "settings": {
  34.       "rules": [
  35.         {
  36.           "type": "field",
  37.           "ip": [
  38.             "0.0.0.0/8",
  39.             "10.0.0.0/8",
  40.             "100.64.0.0/10",
  41.             "127.0.0.0/8",
  42.             "169.254.0.0/16",
  43.             "172.16.0.0/12",
  44.             "192.0.0.0/24",
  45.             "192.0.2.0/24",
  46.             "192.168.0.0/16",
  47.             "198.18.0.0/15",
  48.             "198.51.100.0/24",
  49.             "203.0.113.0/24",
  50.             "::1/128",
  51.             "fc00::/7",
  52.             "fe80::/10"
  53.           ],
  54.           "outboundTag": "blocked"
  55.         }
  56.       ]
  57.     }
  58.   }
  59. }
複製代碼
.

TOP

备用帖子8

TOP

备用帖子9

TOP

备用帖子10

TOP

返回列表