beautified

This commit is contained in:
root 2017-11-28 23:11:54 +08:00
parent 632dc9ca04
commit 647dea28ad
15 changed files with 1362 additions and 1454 deletions

View File

@ -1,15 +1,16 @@
# vTemplate
这是一个社会实验性质的项目提供数种常见的v2ray配置模板
-----------------------------------
## 这是一个社会实验性质的项目提供数种常见的v2ray配置模板
这两天雨落无声大佬的[v2ray.fun](https://github.com/FunctionClub/v2ray.fun)宣布弃坑再次引发了v2ray水群里大佬关于一键脚本和伸手党的讨论。在讨论过程中提出了一个有趣的命题
一键脚本是否会助长伸手之风?如果会,我们不提供一键脚本而只提供模板的话,情况是否又会好些?
于是这个项目就诞生了。在这里收录一些常用的v2ray配置模板这些配置多由v2ray.fun生成在这基础上加上少许改动。
于是这个项目就诞生了。在这里收录一些常用的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的作者雨落无声。

View File

@ -14,19 +14,15 @@
"enabled": true
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 1234,
"address": "Your_IP_Address"
}
]
}]
}
},
"log": {
@ -34,8 +30,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -67,8 +62,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -90,8 +84,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"

View File

@ -27,28 +27,23 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
}
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -70,8 +65,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
}
},

View File

@ -57,19 +57,15 @@
"enabled": true
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 1234,
"address": "Your_IP_Address"
}
]
}]
}
},
"log": {
@ -77,8 +73,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -110,8 +105,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -133,8 +127,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"

View File

@ -11,13 +11,11 @@
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"inbound": {
"streamSettings": {
"network": "tcp",
@ -74,13 +72,11 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
},
"protocol": "vmess",
@ -90,8 +86,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -113,8 +108,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
},
"strategy": "rules"

View File

@ -27,19 +27,15 @@
"enabled": true
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 1234,
"address": "Your_IP_Address"
}
]
}]
}
},
"log": {
@ -47,8 +43,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -80,8 +75,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -103,8 +97,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"

View File

@ -11,13 +11,11 @@
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"inbound": {
"streamSettings": {
"network": "kcp",
@ -43,13 +41,11 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
},
"protocol": "vmess",
@ -59,8 +55,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -82,8 +77,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
},
"strategy": "rules"

View File

@ -1,4 +1,4 @@
{
`{
"outbound": {
"streamSettings": {
"network": "kcp",
@ -27,19 +27,15 @@
"enabled": true
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 1234,
"address": "Your_IP_Address"
}
]
}]
}
},
"log": {
@ -47,8 +43,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -80,8 +75,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -103,8 +97,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
@ -116,4 +109,4 @@
"localhost"
]
}
}
}`

View File

@ -11,13 +11,11 @@
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"inbound": {
"streamSettings": {
"network": "kcp",
@ -43,13 +41,11 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
},
"protocol": "vmess",
@ -59,8 +55,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -82,8 +77,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
},
"strategy": "rules"

View File

@ -20,19 +20,15 @@
"concurrency": 8
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 443,
"address": "example.domain"
}
]
}]
}
},
"log": {
@ -40,8 +36,7 @@
"loglevel": "debug",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -73,8 +68,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -96,8 +90,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"

View File

@ -11,13 +11,11 @@
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"inbound": {
"streamSettings": {
"network": "kcp",
@ -38,25 +36,21 @@
"wsSettings": null,
"tcpSettings": null,
"tlsSettings": {
"certificates": [
{
"certificates": [{
"keyFile": "/path/to/example.domain.key",
"certificateFile": "/path/to/example.domain/fullchain.cer"
}
]
}]
},
"security": "tls"
},
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
},
"protocol": "vmess",
@ -66,8 +60,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -89,8 +82,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
},
"strategy": "rules"

View File

@ -20,19 +20,15 @@
"concurrency": 8
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 443,
"address": "example.domain"
}
]
}]
}
},
"log": {
@ -40,8 +36,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -73,8 +68,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -96,8 +90,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
@ -110,4 +103,3 @@
]
}
}

View File

@ -11,8 +11,7 @@
"loglevel": "info",
"error": "/var/log/v2ray/error.log"
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": null
@ -41,13 +40,11 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
},
"protocol": "vmess",
@ -57,8 +54,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -80,8 +76,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
},
"strategy": "rules"

View File

@ -19,19 +19,15 @@
"enabled": true
},
"settings": {
"vnext": [
{
"users": [
{
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"port": 1234,
"address": "Your_IP_Address"
}
]
}]
}
},
"log": {
@ -39,8 +35,7 @@
"loglevel": "info",
"error": ""
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
@ -72,8 +67,7 @@
"inboundDetour": null,
"routing": {
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -95,8 +89,7 @@
"type": "field",
"port": null,
"outboundTag": "direct"
}
],
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"

View File

@ -33,28 +33,23 @@
"settings": {
"ip": null,
"udp": true,
"clients": [
{
"clients": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}
],
}],
"auth": null
}
},
"outboundDetour": [
{
"outboundDetour": [{
"tag": "blocked",
"protocol": "blackhole",
"settings": null
}
],
}],
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
@ -76,8 +71,7 @@
"type": "field",
"port": null,
"outboundTag": "blocked"
}
],
}],
"domainStrategy": null
}
},