Advertisement
Guest User

wulabing v2ray example server

a guest
Feb 22nd, 2020
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.18 KB | None | 0 0
  1. {
  2.   "log": {
  3.         "access": "/var/log/v2ray/access.log",
  4.         "error": "/var/log/v2ray/error.log",
  5.         "loglevel": "warning"
  6.     },
  7.   "inbounds": [
  8.     {
  9.     "port":31704,
  10.       "listen": "127.0.0.1",
  11.       "tag": "vmess-in",
  12.       "protocol": "vmess",
  13.       "settings": {
  14.         "clients": [
  15.           {
  16.           "id":"fe92d005-9059-4023-b201-7827fd9e38d7",
  17.           "alterId":2
  18.           }
  19.         ]
  20.       },
  21.       "streamSettings": {
  22.         "network": "ws",
  23.         "wsSettings": {
  24.           "path":"/0fb42934/"
  25.         }
  26.       }
  27.     }
  28.   ],
  29.   "outbounds": [
  30.     {
  31.       "protocol": "freedom",
  32.       "settings": { },
  33.       "tag": "direct"
  34.     },
  35.     {
  36.       "protocol": "blackhole",
  37.       "settings": { },
  38.       "tag": "blocked"
  39.     }
  40.   ],
  41.   "dns": {
  42.     "servers": [
  43.       "https+local://1.1.1.1/dns-query",
  44.           "1.1.1.1",
  45.           "1.0.0.1",
  46.           "8.8.8.8",
  47.           "8.8.4.4",
  48.           "localhost"
  49.     ]
  50.   },
  51.   "routing": {
  52.     "domainStrategy": "AsIs",
  53.     "rules": [
  54.       {
  55.         "type": "field",
  56.         "inboundTag": [
  57.           "vmess-in"
  58.         ],
  59.         "outboundTag": "direct"
  60.       }
  61.     ]
  62.   }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement