本帖最後由 角色 於 2018-6-27 08:00 編輯
配置格式:config.json
大家先参考官方链接:https://v2ray.com/chapter_02/01_overview.html- {
- "log": {},
- "dns": {},
- "routing": {},
- "inbound": {},
- "outbound": {},
- "inboundDetour": [],
- "outboundDetour": [],
- "transport": {}
- }
複製代碼 1、关键符号“,”,在结束最后一句是不需要“,”,大家可以参考一下下面启动标准画面:- {
- "log" : {
- "access": "/var/log/v2ray/access.log",
- "error": "/var/log/v2ray/error.log",
- "loglevel": "warning"
- },
- "inbound": {
- "port": 8899,
- "protocol": "vmess",
- "settings": {
- "clients": [
- {
- "id": "b66b666e-e666-4dbb-a666-3d666c6666fe",
- "level": 1,
- "alterId": 64
- }
- ]
- }
- },
- "outbound": {
- "protocol": "freedom",
- "settings": {}
- }
- }
複製代碼 On-line Json editor to find the typos:
https://www.bejson.com/jsoneditoronline/
http://qqe2.com/ |