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配置模板这些配置多由v2ray.fun生成在这基础上加上少许改动。<br>
在你套用模板之前请先仔细阅读v2ray官方文档如果可能尽量尝试不借助模板自己编写配置文件以加深对配置的理解。
如果你在配置过程中遇到问题请再看一遍文档或是在Google搜索以求自己解决问题。当你确认你的问题无法独立解决时你可以在v2ray的telegram群组里求助或是在v2ray官方项目中提交issue。
遇事不决请RTFM/STFW。 如果你在配置过程中遇到问题请再看一遍文档或是在Google搜索以求自己解决问题。当你确认你的问题无法独立解决时你可以在v2ray的telegram群组里求助或是在v2ray官方项目中提交issue。<br>
玩的愉快。 遇事不决请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", "tag": "agentout",
"protocol": "vmess", "protocol": "vmess",
"mux": { "mux": {
"enabled": true "enabled": true
}, },
"settings": { "settings": {
"vnext": [ "vnext": [{
{ "users": [{
"users": [ "alterId": 100,
{ "security": "aes-128-gcm",
"alterId": 100, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
} }
], },
"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,
"strategy": "rules" "settings": {
}, "ip": "127.0.0.1",
"dns": { "udp": true,
"servers": [ "clients": null,
"8.8.8.8", "auth": "noauth"
"8.8.4.4", },
"localhost" "protocol": "socks",
] "port": 1080,
} "listen": "0.0.0.0"
} },
"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": "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": { "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"
}, },
"inboundDetour": null, "inboundDetour": null,
"inbound": { "inbound": {
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": null, "wsSettings": null,
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
}, },
"listen": null, "listen": null,
"protocol": "vmess", "protocol": "vmess",
"port": 1234, "port": 1234,
"settings": { "settings": {
"ip": null, "ip": null,
"udp": true, "udp": true,
"clients": [ "clients": [{
{ "alterId": 100,
"alterId": 100, "security": "aes-128-gcm",
"security": "aes-128-gcm", "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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": {
"status": "200",
"headers": {
"Transfer-Encoding": [
"chunked"
],
"Connection": [
"keep-alive"
],
"Content-Type": [
"application/octet-stream",
"video/mpeg"
],
"Pragma": "no-cache"
},
"reason": "OK",
"version": "1.1"
}
}
},
"tlsSettings": {},
"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"
}]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
} }
}, },
"response": {
"status": "200",
"headers": {
"Transfer-Encoding": [
"chunked"
],
"Connection": [
"keep-alive"
],
"Content-Type": [
"application/octet-stream",
"video/mpeg"
],
"Pragma": "no-cache"
},
"reason": "OK",
"version": "1.1"
}
}
},
"tlsSettings": {},
"security": ""
},
"tag": "agentout",
"protocol": "vmess",
"mux": {
"enabled": true
},
"settings": {
"vnext": [
{ {
"users": [ "tag": "blockout",
{ "protocol": "blackhole",
"alterId": 100, "settings": {
"security": "aes-128-gcm", "response": {
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "type": "http"
}
} }
],
"port": 1234,
"address": "Your_IP_Address"
} }
] ],
"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": [
"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": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
} }
}, }
"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": [
"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": "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"
"reason": "OK", }
"version": "1.1" },
} "connectionReuse": true
}, },
"connectionReuse": true "tlsSettings": {},
}, "security": ""
"tlsSettings": {}, },
"security": "" "settings": {
}, "ip": null,
"settings": { "udp": true,
"ip": null, "clients": [{
"udp": true, "alterId": 100,
"clients": [ "security": "aes-128-gcm",
{ "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"alterId": 100, }],
"security": "aes-128-gcm", "auth": null
"id": "e2b39869-7e9e-411b-a561-00904419bed9" },
} "protocol": "vmess",
], "port": 1234,
"auth": null "listen": null
}, },
"protocol": "vmess", "inboundDetour": null,
"port": 1234, "routing": {
"listen": null "settings": {
}, "rules": [{
"inboundDetour": null, "ip": [
"routing": { "0.0.0.0/8",
"settings": { "10.0.0.0/8",
"rules": [ "100.64.0.0/10",
{ "127.0.0.0/8",
"ip": [ "169.254.0.0/16",
"0.0.0.0/8", "172.16.0.0/12",
"10.0.0.0/8", "192.0.0.0/24",
"100.64.0.0/10", "192.0.2.0/24",
"127.0.0.0/8", "192.168.0.0/16",
"169.254.0.0/16", "198.18.0.0/15",
"172.16.0.0/12", "198.51.100.0/24",
"192.0.0.0/24", "203.0.113.0/24",
"192.0.2.0/24", "::1/128",
"192.168.0.0/16", "fc00::/7",
"198.18.0.0/15", "fe80::/10"
"198.51.100.0/24", ],
"203.0.113.0/24", "domain": null,
"::1/128", "type": "field",
"fc00::/7", "port": null,
"fe80::/10" "outboundTag": "blocked"
], }],
"domain": null, "domainStrategy": null
"type": "field", },
"port": null, "strategy": "rules"
"outboundTag": "blocked" },
} "dns": null
], }
"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, "tti": 50,
"congestion": false, "congestion": false,
"writeBufferSize": 2 "writeBufferSize": 2
}, },
"wsSettings": null, "wsSettings": null,
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
}, },
"tag": "agentout", "tag": "agentout",
"protocol": "vmess", "protocol": "vmess",
"mux": { "mux": {
"enabled": true "enabled": true
}, },
"settings": { "settings": {
"vnext": [ "vnext": [{
{ "users": [{
"users": [ "alterId": 100,
{ "security": "aes-128-gcm",
"alterId": 100, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
} }
], },
"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,
"strategy": "rules" "settings": {
}, "ip": "127.0.0.1",
"dns": { "udp": true,
"servers": [ "clients": null,
"8.8.8.8", "auth": "noauth"
"8.8.4.4", },
"localhost" "protocol": "socks",
] "port": 1080,
} "listen": "0.0.0.0"
} },
"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": "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,
"tti": 50, "writeBufferSize": 2
"congestion": false, },
"writeBufferSize": 2 "wsSettings": null,
}, "tcpSettings": null,
"wsSettings": null, "tlsSettings": {},
"tcpSettings": null, "security": ""
"tlsSettings": {}, },
"security": "" "settings": {
}, "ip": null,
"settings": { "udp": true,
"ip": null, "clients": [{
"udp": true, "alterId": 100,
"clients": [ "security": "aes-128-gcm",
{ "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"alterId": 100, }],
"security": "aes-128-gcm", "auth": null
"id": "e2b39869-7e9e-411b-a561-00904419bed9" },
} "protocol": "vmess",
], "port": 1234,
"auth": null "listen": null
}, },
"protocol": "vmess", "inboundDetour": null,
"port": 1234, "routing": {
"listen": null "settings": {
}, "rules": [{
"inboundDetour": null, "ip": [
"routing": { "0.0.0.0/8",
"settings": { "10.0.0.0/8",
"rules": [ "100.64.0.0/10",
{ "127.0.0.0/8",
"ip": [ "169.254.0.0/16",
"0.0.0.0/8", "172.16.0.0/12",
"10.0.0.0/8", "192.0.0.0/24",
"100.64.0.0/10", "192.0.2.0/24",
"127.0.0.0/8", "192.168.0.0/16",
"169.254.0.0/16", "198.18.0.0/15",
"172.16.0.0/12", "198.51.100.0/24",
"192.0.0.0/24", "203.0.113.0/24",
"192.0.2.0/24", "::1/128",
"192.168.0.0/16", "fc00::/7",
"198.18.0.0/15", "fe80::/10"
"198.51.100.0/24", ],
"203.0.113.0/24", "domain": null,
"::1/128", "type": "field",
"fc00::/7", "port": null,
"fe80::/10" "outboundTag": "blocked"
], }],
"domain": null, "domainStrategy": null
"type": "field", },
"port": null, "strategy": "rules"
"outboundTag": "blocked" },
} "dns": null
], }
"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, "tti": 50,
"congestion": false, "congestion": false,
"writeBufferSize": 2 "writeBufferSize": 2
}, },
"wsSettings": null, "wsSettings": null,
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
}, },
"tag": "agentout", "tag": "agentout",
"protocol": "vmess", "protocol": "vmess",
"mux": { "mux": {
"enabled": true "enabled": true
}, },
"settings": { "settings": {
"vnext": [ "vnext": [{
{ "users": [{
"users": [ "alterId": 100,
{ "security": "aes-128-gcm",
"alterId": 100, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
} }
], },
"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,
"strategy": "rules" "settings": {
}, "ip": "127.0.0.1",
"dns": { "udp": true,
"servers": [ "clients": null,
"8.8.8.8", "auth": "noauth"
"8.8.4.4", },
"localhost" "protocol": "socks",
] "port": 1080,
} "listen": "0.0.0.0"
} },
"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": "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,
"tti": 50, "writeBufferSize": 2
"congestion": false, },
"writeBufferSize": 2 "wsSettings": null,
}, "tcpSettings": null,
"wsSettings": null, "tlsSettings": {},
"tcpSettings": null, "security": ""
"tlsSettings": {}, },
"security": "" "settings": {
}, "ip": null,
"settings": { "udp": true,
"ip": null, "clients": [{
"udp": true, "alterId": 100,
"clients": [ "security": "aes-128-gcm",
{ "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"alterId": 100, }],
"security": "aes-128-gcm", "auth": null
"id": "e2b39869-7e9e-411b-a561-00904419bed9" },
} "protocol": "vmess",
], "port": 1234,
"auth": null "listen": null
}, },
"protocol": "vmess", "inboundDetour": null,
"port": 1234, "routing": {
"listen": null "settings": {
}, "rules": [{
"inboundDetour": null, "ip": [
"routing": { "0.0.0.0/8",
"settings": { "10.0.0.0/8",
"rules": [ "100.64.0.0/10",
{ "127.0.0.0/8",
"ip": [ "169.254.0.0/16",
"0.0.0.0/8", "172.16.0.0/12",
"10.0.0.0/8", "192.0.0.0/24",
"100.64.0.0/10", "192.0.2.0/24",
"127.0.0.0/8", "192.168.0.0/16",
"169.254.0.0/16", "198.18.0.0/15",
"172.16.0.0/12", "198.51.100.0/24",
"192.0.0.0/24", "203.0.113.0/24",
"192.0.2.0/24", "::1/128",
"192.168.0.0/16", "fc00::/7",
"198.18.0.0/15", "fe80::/10"
"198.51.100.0/24", ],
"203.0.113.0/24", "domain": null,
"::1/128", "type": "field",
"fc00::/7", "port": null,
"fe80::/10" "outboundTag": "blocked"
], }],
"domain": null, "domainStrategy": null
"type": "field", },
"port": null, "strategy": "rules"
"outboundTag": "blocked" },
} "dns": null
], }
"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": "" "path": ""
}, },
"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,
{ "security": "aes-128-gcm",
"alterId": 100, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
} }
], },
"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,
"strategy": "rules" "settings": {
}, "ip": "127.0.0.1",
"dns": { "udp": true,
"servers": [ "clients": null,
"8.8.8.8", "auth": "noauth"
"8.8.4.4", },
"localhost" "protocol": "socks",
] "port": 10086,
} "listen": "0.0.0.0"
},
"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": "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,
"tti": 50, "writeBufferSize": 2
"congestion": false, },
"writeBufferSize": 2 "wsSettings": null,
}, "tcpSettings": null,
"wsSettings": null, "tlsSettings": {
"tcpSettings": null, "certificates": [{
"tlsSettings": { "keyFile": "/path/to/example.domain.key",
"certificates": [ "certificateFile": "/path/to/example.domain/fullchain.cer"
{ }]
"keyFile": "/path/to/example.domain.key", },
"certificateFile": "/path/to/example.domain/fullchain.cer" "security": "tls"
} },
] "settings": {
}, "ip": null,
"security": "tls" "udp": true,
}, "clients": [{
"settings": { "alterId": 100,
"ip": null, "security": "aes-128-gcm",
"udp": true, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"clients": [ }],
{ "auth": null
"alterId": 100, },
"security": "aes-128-gcm", "protocol": "vmess",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "port": 443,
} "listen": null
], },
"auth": null "inboundDetour": null,
}, "routing": {
"protocol": "vmess", "settings": {
"port": 443, "rules": [{
"listen": null "ip": [
}, "0.0.0.0/8",
"inboundDetour": null, "10.0.0.0/8",
"routing": { "100.64.0.0/10",
"settings": { "127.0.0.0/8",
"rules": [ "169.254.0.0/16",
{ "172.16.0.0/12",
"ip": [ "192.0.0.0/24",
"0.0.0.0/8", "192.0.2.0/24",
"10.0.0.0/8", "192.168.0.0/16",
"100.64.0.0/10", "198.18.0.0/15",
"127.0.0.0/8", "198.51.100.0/24",
"169.254.0.0/16", "203.0.113.0/24",
"172.16.0.0/12", "::1/128",
"192.0.0.0/24", "fc00::/7",
"192.0.2.0/24", "fe80::/10"
"192.168.0.0/16", ],
"198.18.0.0/15", "domain": null,
"198.51.100.0/24", "type": "field",
"203.0.113.0/24", "port": null,
"::1/128", "outboundTag": "blocked"
"fc00::/7", }],
"fe80::/10" "domainStrategy": null
], },
"domain": null, "strategy": "rules"
"type": "field", },
"port": null, "dns": 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,
{ "security": "aes-128-gcm",
"alterId": 100,
"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": {
"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": 10086,
"listen": "0.0.0.0"
},
"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": "direct"
}
],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
} }
} },
"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": 10086,
"listen": "0.0.0.0"
},
"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": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
}
}

View File

@ -1,90 +1,85 @@
{ {
"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": "direct",
"tag": "direct", "protocol": "freedom",
"protocol": "freedom", "settings": null
"settings": null },
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": 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, "tag": "blocked",
"security": "aes-128-gcm", "protocol": "blackhole",
"id": "e2b39869-7e9e-411b-a561-00904419bed9" "settings": null
} }
], ],
"auth": null "inbound": {
}, "streamSettings": {
"protocol": "vmess", "network": "ws",
"port": 1234, "kcpSettings": null,
"listen": null "wsSettings": {
}, "headers": {
"inboundDetour": null, "host": "example.domain"
"routing": { },
"settings": { "path": "/test",
"rules": [ "connectionReuse": true
{ },
"ip": [ "tcpSettings": null,
"0.0.0.0/8", "tlsSettings": {},
"10.0.0.0/8", "security": ""
"100.64.0.0/10", },
"127.0.0.0/8", "settings": {
"169.254.0.0/16", "ip": null,
"172.16.0.0/12", "udp": true,
"192.0.0.0/24", "clients": [{
"192.0.2.0/24", "alterId": 100,
"192.168.0.0/16", "security": "aes-128-gcm",
"198.18.0.0/15", "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"198.51.100.0/24", }],
"203.0.113.0/24", "auth": null
"::1/128", },
"fc00::/7", "protocol": "vmess",
"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" "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": "" "path": ""
}, },
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
}, },
"tag": "agentout", "tag": "agentout",
"protocol": "vmess", "protocol": "vmess",
"mux": { "mux": {
"enabled": true "enabled": true
}, },
"settings": { "settings": {
"vnext": [ "vnext": [{
{ "users": [{
"users": [ "alterId": 100,
{ "security": "aes-128-gcm",
"alterId": 100, "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
} }
], },
"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,
"strategy": "rules" "settings": {
}, "ip": "127.0.0.1",
"dns": { "udp": true,
"servers": [ "clients": null,
"8.8.8.8", "auth": "noauth"
"8.8.4.4", },
"localhost" "protocol": "socks",
] "port": 1080,
} "listen": "0.0.0.0"
} },
"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": "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": { "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"
}, },
"inboundDetour": null, "inboundDetour": null,
"inbound": { "inbound": {
"streamSettings": { "streamSettings": {
"network": "ws", "network": "ws",
"kcpSettings": null, "kcpSettings": null,
"wsSettings": { "wsSettings": {
"headers": { "headers": {
"host": "example.domain" "host": "example.domain"
}, },
"path": "", "path": "",
"connectionReuse": true "connectionReuse": true
}, },
"tcpSettings": null, "tcpSettings": null,
"tlsSettings": {}, "tlsSettings": {},
"security": "" "security": ""
}, },
"listen": null, "listen": null,
"protocol": "vmess", "protocol": "vmess",
"port": 1234, "port": 1234,
"settings": { "settings": {
"ip": null, "ip": null,
"udp": true, "udp": true,
"clients": [ "clients": [{
{ "alterId": 100,
"alterId": 100, "security": "aes-128-gcm",
"security": "aes-128-gcm", "id": "e2b39869-7e9e-411b-a561-00904419bed9"
"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
}