Merge pull request #1 from Ariselia/master

beautified
This commit is contained in:
KiriKira 2017-11-28 23:23:30 +08:00 committed by GitHub
commit 87ea62f7d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 1362 additions and 1454 deletions

View File

@ -1,15 +1,16 @@
# vTemplate # vTemplate
这是一个社会实验性质的项目提供数种常见的v2ray配置模板
----------------------------------- ## 这是一个社会实验性质的项目提供数种常见的v2ray配置模板
这两天雨落无声大佬的[v2ray.fun](https://github.com/FunctionClub/v2ray.fun)宣布弃坑再次引发了v2ray水群里大佬关于一键脚本和伸手党的讨论。在讨论过程中提出了一个有趣的命题 这两天雨落无声大佬的[v2ray.fun](https://github.com/FunctionClub/v2ray.fun)宣布弃坑再次引发了v2ray水群里大佬关于一键脚本和伸手党的讨论。在讨论过程中提出了一个有趣的命题
一键脚本是否会助长伸手之风?如果会,我们不提供一键脚本而只提供模板的话,情况是否又会好些? 一键脚本是否会助长伸手之风?如果会,我们不提供一键脚本而只提供模板的话,情况是否又会好些?
于是这个项目就诞生了。在这里收录一些常用的v2ray配置模板这些配置多由v2ray.fun生成在这基础上加上少许改动。 于是这个项目就诞生了。在这里收录一些常用的v2ray配置模板这些配置多由v2ray.fun生成在这基础上加上少许改动。<br>
在你套用模板之前请先仔细阅读v2ray官方文档如果可能尽量尝试不借助模板自己编写配置文件以加深对配置的理解。 在你套用模板之前请先仔细阅读v2ray官方文档如果可能尽量尝试不借助模板自己编写配置文件以加深对配置的理解。
如果你在配置过程中遇到问题请再看一遍文档或是在Google搜索以求自己解决问题。当你确认你的问题无法独立解决时你可以在v2ray的telegram群组里求助或是在v2ray官方项目中提交issue。 如果你在配置过程中遇到问题请再看一遍文档或是在Google搜索以求自己解决问题。当你确认你的问题无法独立解决时你可以在v2ray的telegram群组里求助或是在v2ray官方项目中提交issue。<br>
遇事不决请RTFM/STFW。 遇事不决请RTFM/STFW。<br>
玩的愉快。 玩的愉快。
感谢Project V的所有开发人员以及v2ray.fun的作者雨落无声。 感谢Project V的所有开发人员以及v2ray.fun的作者雨落无声。

View File

@ -1,106 +1,99 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": null, "wsSettings": null,
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
},
"tag": "agentout",
"protocol": "vmess",
"mux": {
"enabled": true
},
"settings": {
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
}
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "info",
"enabled": true "error": ""
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
} }

View File

@ -1,79 +1,73 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
},
"log": {
"access": "/var/log/v2ray/access.log",
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"inboundDetour": null,
"inbound": {
"streamSettings": {
"network": "tcp",
"kcpSettings": null,
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"listen": null, "log": {
"protocol": "vmess", "access": "/var/log/v2ray/access.log",
"port": 1234, "loglevel": "info",
"settings": { "error": "/var/log/v2ray/error.log"
"ip": null, },
"udp": true, "inboundDetour": null,
"clients": [ "inbound": {
{ "streamSettings": {
"alterId": 100, "network": "tcp",
"security": "aes-128-gcm", "kcpSettings": null,
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
},
"listen": null,
"protocol": "vmess",
"port": 1234,
"settings": {
"ip": null,
"udp": true,
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"auth": null
} }
], },
"auth": null "outboundDetour": [{
} "tag": "blocked",
}, "protocol": "blackhole",
"outboundDetour": [ "settings": null
{ }],
"tag": "blocked", "routing": {
"protocol": "blackhole", "strategy": "rules",
"settings": null "settings": {
} "rules": [{
], "ip": [
"routing": { "0.0.0.0/8",
"strategy": "rules", "10.0.0.0/8",
"settings": { "100.64.0.0/10",
"rules": [ "127.0.0.0/8",
{ "169.254.0.0/16",
"ip": [ "172.16.0.0/12",
"0.0.0.0/8", "192.0.0.0/24",
"10.0.0.0/8", "192.0.2.0/24",
"100.64.0.0/10", "192.168.0.0/16",
"127.0.0.0/8", "198.18.0.0/15",
"169.254.0.0/16", "198.51.100.0/24",
"172.16.0.0/12", "203.0.113.0/24",
"192.0.0.0/24", "::1/128",
"192.0.2.0/24", "fc00::/7",
"192.168.0.0/16", "fe80::/10"
"198.18.0.0/15", ],
"198.51.100.0/24", "domain": null,
"203.0.113.0/24", "type": "field",
"::1/128", "port": null,
"fc00::/7", "outboundTag": "blocked"
"fe80::/10" }],
], "domainStrategy": null
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
} }
], },
"domainStrategy": null "dns": null
}
},
"dns": null
} }

View File

@ -1,149 +1,142 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": null, "wsSettings": null,
"tcpSettings": { "tcpSettings": {
"header": { "header": {
"type": "http", "type": "http",
"request": { "request": {
"path": [ "path": [
"/" "/"
], ],
"version": "1.1", "version": "1.1",
"method": "GET", "method": "GET",
"headers": { "headers": {
"Host": "cloudflare.com", "Host": "cloudflare.com",
"User-Agent": [ "User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46"
], ],
"Connection": [ "Connection": [
"keep-alive" "keep-alive"
], ],
"Pragma": "no-cache", "Pragma": "no-cache",
"Accept-Encoding": [ "Accept-Encoding": [
"gzip, deflate" "gzip, deflate"
] ]
} }
}, },
"response": { "response": {
"status": "200", "status": "200",
"headers": { "headers": {
"Transfer-Encoding": [ "Transfer-Encoding": [
"chunked" "chunked"
], ],
"Connection": [ "Connection": [
"keep-alive" "keep-alive"
], ],
"Content-Type": [ "Content-Type": [
"application/octet-stream", "application/octet-stream",
"video/mpeg" "video/mpeg"
], ],
"Pragma": "no-cache" "Pragma": "no-cache"
},
"reason": "OK",
"version": "1.1"
}
}
}, },
"reason": "OK", "tlsSettings": {},
"version": "1.1" "security": ""
} },
"tag": "agentout",
"protocol": "vmess",
"mux": {
"enabled": true
},
"settings": {
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
} }
},
"tlsSettings": {},
"security": ""
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "info",
"enabled": true "error": ""
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
} }

View File

@ -1,123 +1,117 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
}, },
"log": { "log": {
"access": "/var/log/v2ray/access.log", "access": "/var/log/v2ray/access.log",
"loglevel": "info", "loglevel": "info",
"error": "/var/log/v2ray/error.log" "error": "/var/log/v2ray/error.log"
}, },
"outboundDetour": [ "outboundDetour": [{
{ "tag": "blocked",
"tag": "blocked", "protocol": "blackhole",
"protocol": "blackhole", "settings": null
"settings": null }],
} "inbound": {
], "streamSettings": {
"inbound": { "network": "tcp",
"streamSettings": { "kcpSettings": null,
"network": "tcp", "wsSettings": null,
"kcpSettings": null, "tcpSettings": {
"wsSettings": null, "header": {
"tcpSettings": { "request": {
"header": { "path": [
"request": { "/"
"path": [ ],
"/" "version": "1.1",
], "method": "GET",
"version": "1.1", "headers": {
"method": "GET", "Host": "cloudflare.com",
"headers": { "Connection": [
"Host": "cloudflare.com", "keep-alive"
"Connection": [ ],
"keep-alive" "Accept-Encoding": [
], "gzip, deflate"
"Accept-Encoding": [ ],
"gzip, deflate" "Pragma": "no-cache",
], "User-Agent": [
"Pragma": "no-cache", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36",
"User-Agent": [ "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46"
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", ]
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" }
] },
} "type": "http",
}, "response": {
"type": "http", "status": "200",
"response": { "headers": {
"status": "200", "Transfer-Encoding": [
"headers": { "chunked"
"Transfer-Encoding": [ ],
"chunked" "Connection": [
], "keep-alive"
"Connection": [ ],
"keep-alive" "Content-Type": [
], "application/octet-stream",
"Content-Type": [ "video/mpeg"
"application/octet-stream", ],
"video/mpeg" "Pragma": "no-cache"
], },
"Pragma": "no-cache" "reason": "OK",
"version": "1.1"
}
},
"connectionReuse": true
}, },
"reason": "OK", "tlsSettings": {},
"version": "1.1" "security": ""
}
}, },
"connectionReuse": true "settings": {
}, "ip": null,
"tlsSettings": {}, "udp": true,
"security": "" "clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"auth": null
},
"protocol": "vmess",
"port": 1234,
"listen": null
}, },
"settings": { "inboundDetour": null,
"ip": null, "routing": {
"udp": true, "settings": {
"clients": [ "rules": [{
{ "ip": [
"alterId": 100, "0.0.0.0/8",
"security": "aes-128-gcm", "10.0.0.0/8",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "100.64.0.0/10",
} "127.0.0.0/8",
], "169.254.0.0/16",
"auth": null "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}],
"domainStrategy": null
},
"strategy": "rules"
}, },
"protocol": "vmess", "dns": null
"port": 1234,
"listen": null
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
"domainStrategy": null
},
"strategy": "rules"
},
"dns": null
} }

View File

@ -1,119 +1,112 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "kcp", "network": "kcp",
"kcpSettings": { "kcpSettings": {
"uplinkCapacity": 100, "uplinkCapacity": 100,
"downlinkCapacity": 100, "downlinkCapacity": 100,
"readBufferSize": 2, "readBufferSize": 2,
"mtu": 1350, "mtu": 1350,
"header": { "header": {
"type": "wechat-video", "type": "wechat-video",
"request": null, "request": null,
"response": null "response": null
},
"tti": 50,
"congestion": false,
"writeBufferSize": 2
},
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"tti": 50, "tag": "agentout",
"congestion": false, "protocol": "vmess",
"writeBufferSize": 2 "mux": {
}, "enabled": true
"wsSettings": null, },
"tcpSettings": null, "settings": {
"tlsSettings": {}, "vnext": [{
"security": "" "users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
}
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "info",
"enabled": true "error": ""
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
} }

View File

@ -1,92 +1,86 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
}, },
"log": { "log": {
"access": "/var/log/v2ray/access.log", "access": "/var/log/v2ray/access.log",
"loglevel": "info", "loglevel": "info",
"error": "/var/log/v2ray/error.log" "error": "/var/log/v2ray/error.log"
}, },
"outboundDetour": [ "outboundDetour": [{
{ "tag": "blocked",
"tag": "blocked", "protocol": "blackhole",
"protocol": "blackhole", "settings": null
"settings": null }],
} "inbound": {
], "streamSettings": {
"inbound": { "network": "kcp",
"streamSettings": { "kcpSettings": {
"network": "kcp", "uplinkCapacity": 100,
"kcpSettings": { "downlinkCapacity": 100,
"uplinkCapacity": 100, "readBufferSize": 2,
"downlinkCapacity": 100, "mtu": 1350,
"readBufferSize": 2, "header": {
"mtu": 1350, "request": null,
"header": { "type": "wechat-video",
"request": null, "response": null
"type": "wechat-video", },
"response": null "tti": 50,
"congestion": false,
"writeBufferSize": 2
},
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"tti": 50, "settings": {
"congestion": false, "ip": null,
"writeBufferSize": 2 "udp": true,
}, "clients": [{
"wsSettings": null, "alterId": 100,
"tcpSettings": null, "security": "aes-128-gcm",
"tlsSettings": {}, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"security": "" }],
"auth": null
},
"protocol": "vmess",
"port": 1234,
"listen": null
}, },
"settings": { "inboundDetour": null,
"ip": null, "routing": {
"udp": true, "settings": {
"clients": [ "rules": [{
{ "ip": [
"alterId": 100, "0.0.0.0/8",
"security": "aes-128-gcm", "10.0.0.0/8",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "100.64.0.0/10",
} "127.0.0.0/8",
], "169.254.0.0/16",
"auth": null "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}],
"domainStrategy": null
},
"strategy": "rules"
}, },
"protocol": "vmess", "dns": null
"port": 1234,
"listen": null
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
"domainStrategy": null
},
"strategy": "rules"
},
"dns": null
} }

View File

@ -1,119 +1,112 @@
{ `{
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "kcp", "network": "kcp",
"kcpSettings": { "kcpSettings": {
"uplinkCapacity": 100, "uplinkCapacity": 100,
"downlinkCapacity": 100, "downlinkCapacity": 100,
"readBufferSize": 2, "readBufferSize": 2,
"mtu": 1350, "mtu": 1350,
"header": { "header": {
"type": "none", "type": "none",
"request": null, "request": null,
"response": null "response": null
},
"tti": 50,
"congestion": false,
"writeBufferSize": 2
},
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"tti": 50, "tag": "agentout",
"congestion": false, "protocol": "vmess",
"writeBufferSize": 2 "mux": {
}, "enabled": true
"wsSettings": null, },
"tcpSettings": null, "settings": {
"tlsSettings": {}, "vnext": [{
"security": "" "users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
}
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "info",
"enabled": true "error": ""
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
}`

View File

@ -1,92 +1,86 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
}, },
"log": { "log": {
"access": "/var/log/v2ray/access.log", "access": "/var/log/v2ray/access.log",
"loglevel": "info", "loglevel": "info",
"error": "/var/log/v2ray/error.log" "error": "/var/log/v2ray/error.log"
}, },
"outboundDetour": [ "outboundDetour": [{
{ "tag": "blocked",
"tag": "blocked", "protocol": "blackhole",
"protocol": "blackhole", "settings": null
"settings": null }],
} "inbound": {
], "streamSettings": {
"inbound": { "network": "kcp",
"streamSettings": { "kcpSettings": {
"network": "kcp", "uplinkCapacity": 100,
"kcpSettings": { "downlinkCapacity": 100,
"uplinkCapacity": 100, "readBufferSize": 2,
"downlinkCapacity": 100, "mtu": 1350,
"readBufferSize": 2, "header": {
"mtu": 1350, "request": null,
"header": { "type": "none",
"request": null, "response": null
"type": "none", },
"response": null "tti": 50,
"congestion": false,
"writeBufferSize": 2
},
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"tti": 50, "settings": {
"congestion": false, "ip": null,
"writeBufferSize": 2 "udp": true,
}, "clients": [{
"wsSettings": null, "alterId": 100,
"tcpSettings": null, "security": "aes-128-gcm",
"tlsSettings": {}, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"security": "" }],
"auth": null
},
"protocol": "vmess",
"port": 1234,
"listen": null
}, },
"settings": { "inboundDetour": null,
"ip": null, "routing": {
"udp": true, "settings": {
"clients": [ "rules": [{
{ "ip": [
"alterId": 100, "0.0.0.0/8",
"security": "aes-128-gcm", "10.0.0.0/8",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "100.64.0.0/10",
} "127.0.0.0/8",
], "169.254.0.0/16",
"auth": null "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}],
"domainStrategy": null
},
"strategy": "rules"
}, },
"protocol": "vmess", "dns": null
"port": 1234,
"listen": null
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
"domainStrategy": null
},
"strategy": "rules"
},
"dns": null
} }

View File

@ -1,112 +1,105 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "ws", "network": "ws",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": { "wsSettings": {
"headers": { "headers": {
"host": "example.domain" "host": "example.domain"
},
"path": ""
},
"tcpSettings": null,
"tlsSettings": {},
"security": "tls"
}, },
"path": "" "tag": "agentout",
}, "protocol": "vmess",
"tcpSettings": null, "mux": {
"tlsSettings": {}, "enabled": true,
"security": "tls" "concurrency": 8
},
"settings": {
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 443,
"address": "example.domain"
}]
}
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "debug",
"enabled": true, "error": ""
"concurrency": 8
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 443,
"address": "example.domain"
}
]
}
},
"log": {
"access": "",
"loglevel": "debug",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 10086,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 10086,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
} }

View File

@ -1,99 +1,91 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
}, },
"log": { "log": {
"access": "/var/log/v2ray/access.log", "access": "/var/log/v2ray/access.log",
"loglevel": "info", "loglevel": "info",
"error": "/var/log/v2ray/error.log" "error": "/var/log/v2ray/error.log"
}, },
"outboundDetour": [ "outboundDetour": [{
{ "tag": "blocked",
"tag": "blocked", "protocol": "blackhole",
"protocol": "blackhole", "settings": null
"settings": null }],
} "inbound": {
], "streamSettings": {
"inbound": { "network": "kcp",
"streamSettings": { "kcpSettings": {
"network": "kcp", "uplinkCapacity": 100,
"kcpSettings": { "downlinkCapacity": 100,
"uplinkCapacity": 100, "readBufferSize": 2,
"downlinkCapacity": 100, "mtu": 1350,
"readBufferSize": 2, "header": {
"mtu": 1350, "type": "srtp",
"header": { "request": null,
"type": "srtp", "response": null
"request": null, },
"response": null "tti": 50,
"congestion": false,
"writeBufferSize": 2
},
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {
"certificates": [{
"keyFile": "/path/to/example.domain.key",
"certificateFile": "/path/to/example.domain/fullchain.cer"
}]
},
"security": "tls"
}, },
"tti": 50, "settings": {
"congestion": false, "ip": null,
"writeBufferSize": 2 "udp": true,
}, "clients": [{
"wsSettings": null, "alterId": 100,
"tcpSettings": null, "security": "aes-128-gcm",
"tlsSettings": { "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"certificates": [ }],
{ "auth": null
"keyFile": "/path/to/example.domain.key", },
"certificateFile": "/path/to/example.domain/fullchain.cer" "protocol": "vmess",
} "port": 443,
] "listen": null
},
"security": "tls"
}, },
"settings": { "inboundDetour": null,
"ip": null, "routing": {
"udp": true, "settings": {
"clients": [ "rules": [{
{ "ip": [
"alterId": 100, "0.0.0.0/8",
"security": "aes-128-gcm", "10.0.0.0/8",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "100.64.0.0/10",
} "127.0.0.0/8",
], "169.254.0.0/16",
"auth": null "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}],
"domainStrategy": null
},
"strategy": "rules"
}, },
"protocol": "vmess", "dns": null
"port": 443,
"listen": null
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
"domainStrategy": null
},
"strategy": "rules"
},
"dns": null
} }

View File

@ -1,113 +1,105 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "ws", "network": "ws",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": { "wsSettings": {
"headers": { "headers": {
"host": "example.domain" "host": "example.domain"
}, },
"path": "/test" "path": "/test"
}, },
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "tls" "security": "tls"
}, },
"tag": "agentout", "tag": "agentout",
"protocol": "vmess", "protocol": "vmess",
"mux": { "mux": {
"enabled": true, "enabled": true,
"concurrency": 8 "concurrency": 8
}, },
"settings": { "settings": {
"vnext": [ "vnext": [{
{ "users": [{
"users": [
{
"alterId": 100, "alterId": 100,
"security": "aes-128-gcm", "security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }],
],
"port": 443, "port": 443,
"address": "example.domain" "address": "example.domain"
} }]
] }
} },
}, "log": {
"log": { "access": "",
"access": "", "loglevel": "info",
"loglevel": "info", "error": ""
"error": "" },
}, "outboundDetour": [{
"outboundDetour": [
{
"tag": "direct", "tag": "direct",
"protocol": "freedom", "protocol": "freedom",
"settings": { "settings": {
"response": null "response": null
} }
}, },
{ {
"tag": "blockout", "tag": "blockout",
"protocol": "blackhole", "protocol": "blackhole",
"settings": { "settings": {
"response": { "response": {
"type": "http" "type": "http"
} }
} }
} }
], ],
"inbound": { "inbound": {
"streamSettings": null, "streamSettings": null,
"settings": { "settings": {
"ip": "127.0.0.1", "ip": "127.0.0.1",
"udp": true, "udp": true,
"clients": null, "clients": null,
"auth": "noauth" "auth": "noauth"
},
"protocol": "socks",
"port": 10086,
"listen": "0.0.0.0"
}, },
"inboundDetour": null, "protocol": "socks",
"routing": { "port": 10086,
"settings": { "listen": "0.0.0.0"
"rules": [ },
{ "inboundDetour": null,
"routing": {
"settings": {
"rules": [{
"ip": [ "ip": [
"0.0.0.0/8", "0.0.0.0/8",
"10.0.0.0/8", "10.0.0.0/8",
"100.64.0.0/10", "100.64.0.0/10",
"127.0.0.0/8", "127.0.0.0/8",
"169.254.0.0/16", "169.254.0.0/16",
"172.16.0.0/12", "172.16.0.0/12",
"192.0.0.0/24", "192.0.0.0/24",
"192.0.2.0/24", "192.0.2.0/24",
"192.168.0.0/16", "192.168.0.0/16",
"198.18.0.0/15", "198.18.0.0/15",
"198.51.100.0/24", "198.51.100.0/24",
"203.0.113.0/24", "203.0.113.0/24",
"::1/128", "::1/128",
"fc00::/7", "fc00::/7",
"fe80::/10" "fe80::/10"
], ],
"domain": null, "domain": null,
"type": "field", "type": "field",
"port": null, "port": null,
"outboundTag": "direct" "outboundTag": "direct"
} }],
],
"domainStrategy": "IPIfNonMatch" "domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
}, },
"dns": { "strategy": "rules"
"servers": [ },
"dns": {
"servers": [
"8.8.8.8", "8.8.8.8",
"8.8.4.4", "8.8.4.4",
"localhost" "localhost"
] ]
} }
} }

View File

@ -1,65 +1,61 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
},
"log": {
"access": "/var/log/v2ray/access.log",
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": null
}, },
{ "log": {
"tag": "blocked", "access": "/var/log/v2ray/access.log",
"protocol": "blackhole", "loglevel": "info",
"settings": null "error": "/var/log/v2ray/error.log"
} },
], "outboundDetour": [{
"inbound": { "tag": "direct",
"streamSettings": { "protocol": "freedom",
"network": "ws", "settings": null
"kcpSettings": null,
"wsSettings": {
"headers": {
"host": "example.domain"
}, },
"path": "/test",
"connectionReuse": true
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
},
"settings": {
"ip": null,
"udp": true,
"clients": [
{ {
"alterId": 100, "tag": "blocked",
"security": "aes-128-gcm", "protocol": "blackhole",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "settings": null
} }
], ],
"auth": null "inbound": {
"streamSettings": {
"network": "ws",
"kcpSettings": null,
"wsSettings": {
"headers": {
"host": "example.domain"
},
"path": "/test",
"connectionReuse": true
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
},
"settings": {
"ip": null,
"udp": true,
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"auth": null
},
"protocol": "vmess",
"port": 1234,
"listen": null
}, },
"protocol": "vmess", "inboundDetour": null,
"port": 1234, "routing": {
"listen": null "settings": {
}, "rules": [{
"inboundDetour": null, "ip": [
"routing": {
"settings": {
"rules": [
{
"ip": [
"0.0.0.0/8", "0.0.0.0/8",
"10.0.0.0/8", "10.0.0.0/8",
"100.64.0.0/10", "100.64.0.0/10",
@ -75,16 +71,15 @@
"::1/128", "::1/128",
"fc00::/7", "fc00::/7",
"fe80::/10" "fe80::/10"
], ],
"domain": null, "domain": null,
"type": "field", "type": "field",
"port": null, "port": null,
"outboundTag": "blocked" "outboundTag": "blocked"
} }],
], "domainStrategy": null
"domainStrategy": null },
}, "strategy": "rules"
"strategy": "rules" },
}, "dns": null
"dns": null
} }

View File

@ -1,111 +1,104 @@
{ {
"outbound": { "outbound": {
"streamSettings": { "streamSettings": {
"network": "ws", "network": "ws",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": { "wsSettings": {
"headers": { "headers": {
"host": "example.domain" "host": "example.domain"
},
"path": ""
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"path": "" "tag": "agentout",
}, "protocol": "vmess",
"tcpSettings": null, "mux": {
"tlsSettings": {}, "enabled": true
"security": "" },
"settings": {
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
}
}, },
"tag": "agentout", "log": {
"protocol": "vmess", "access": "",
"mux": { "loglevel": "info",
"enabled": true "error": ""
}, },
"settings": { "outboundDetour": [{
"vnext": [ "tag": "direct",
{ "protocol": "freedom",
"users": [ "settings": {
{ "response": null
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
} }
], },
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
{
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{ {
"ip": [ "tag": "blockout",
"0.0.0.0/8", "protocol": "blackhole",
"10.0.0.0/8", "settings": {
"100.64.0.0/10", "response": {
"127.0.0.0/8", "type": "http"
"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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
} }
], ],
"domainStrategy": "IPIfNonMatch" "inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
}, },
"strategy": "rules" "inboundDetour": null,
}, "routing": {
"dns": { "settings": {
"servers": [ "rules": [{
"8.8.8.8", "ip": [
"8.8.4.4", "0.0.0.0/8",
"localhost" "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"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
} }

View File

@ -1,85 +1,79 @@
{ {
"outbound": { "outbound": {
"streamSettings": null, "streamSettings": null,
"tag": null, "tag": null,
"protocol": "freedom", "protocol": "freedom",
"mux": null, "mux": null,
"settings": null "settings": null
},
"log": {
"access": "/var/log/v2ray/access.log",
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"inboundDetour": null,
"inbound": {
"streamSettings": {
"network": "ws",
"kcpSettings": null,
"wsSettings": {
"headers": {
"host": "example.domain"
},
"path": "",
"connectionReuse": true
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
}, },
"listen": null, "log": {
"protocol": "vmess", "access": "/var/log/v2ray/access.log",
"port": 1234, "loglevel": "info",
"settings": { "error": "/var/log/v2ray/error.log"
"ip": null, },
"udp": true, "inboundDetour": null,
"clients": [ "inbound": {
{ "streamSettings": {
"alterId": 100, "network": "ws",
"security": "aes-128-gcm", "kcpSettings": null,
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "wsSettings": {
"headers": {
"host": "example.domain"
},
"path": "",
"connectionReuse": true
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
},
"listen": null,
"protocol": "vmess",
"port": 1234,
"settings": {
"ip": null,
"udp": true,
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"auth": null
} }
], },
"auth": null "outboundDetour": [{
} "tag": "blocked",
}, "protocol": "blackhole",
"outboundDetour": [ "settings": null
{ }],
"tag": "blocked", "routing": {
"protocol": "blackhole", "strategy": "rules",
"settings": null "settings": {
} "rules": [{
], "ip": [
"routing": { "0.0.0.0/8",
"strategy": "rules", "10.0.0.0/8",
"settings": { "100.64.0.0/10",
"rules": [ "127.0.0.0/8",
{ "169.254.0.0/16",
"ip": [ "172.16.0.0/12",
"0.0.0.0/8", "192.0.0.0/24",
"10.0.0.0/8", "192.0.2.0/24",
"100.64.0.0/10", "192.168.0.0/16",
"127.0.0.0/8", "198.18.0.0/15",
"169.254.0.0/16", "198.51.100.0/24",
"172.16.0.0/12", "203.0.113.0/24",
"192.0.0.0/24", "::1/128",
"192.0.2.0/24", "fc00::/7",
"192.168.0.0/16", "fe80::/10"
"198.18.0.0/15", ],
"198.51.100.0/24", "domain": null,
"203.0.113.0/24", "type": "field",
"::1/128", "port": null,
"fc00::/7", "outboundTag": "blocked"
"fe80::/10" }],
], "domainStrategy": null
"domain": null,
"type": "field",
"port": null,
"outboundTag": "blocked"
} }
], },
"domainStrategy": null "dns": null
}
},
"dns": null
} }