This commit is contained in:
233boy
2019-01-05 16:04:16 +08:00
parent 3ecb6847e6
commit 620ec46f5a
100 changed files with 4910 additions and 261164 deletions

38
templates/h2.json Normal file
View File

@@ -0,0 +1,38 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alterid
}
]
},
"streamSettings": {
"network": "h2",
"httpSettings": {
"host": [
"233blog.com" // domain
],
"path": "/233blog" // path
},
"security": "tls",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.cer",
"keyFile": "/etc/v2ray/233boy/v2ray/config/233blog.com.key"
}
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}

56
templates/http.json Normal file
View File

@@ -0,0 +1,56 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alterid
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "http",
"response": {
"version": "1.1",
"status": "200",
"reason": "OK",
"headers": {
"Content-encoding": [
"gzip"
],
"Content-Type": [
"text/html; charset=utf-8"
],
"Cache-Control": [
"no-cache"
],
"Vary": [
"Accept-Encoding"
],
"X-Frame-Options": [
"deny"
],
"X-XSS-Protection": [
"1; mode=block"
],
"X-content-type-options": [
"nosniff"
]
}
}
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}

28
templates/kcp.json Normal file
View File

@@ -0,0 +1,28 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alaterid
}
]
},
"streamSettings": {
"network": "kcp",
"kcpSettings": {
"header": {
"type": "none" // options > [none, srtp, utp, wechat-video, dtls, wireguard]
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}

12
templates/mtproto.json Normal file
View File

@@ -0,0 +1,12 @@
{
"protocol": "mtproto",
"port": 6666, //port
"tag": "tg-in",
"settings": {
"users": [
{
"secret": "bb8a7fbd7190e345024845f07373ec48" // secret
}
]
}
}

34
templates/multiple.json Normal file
View File

@@ -0,0 +1,34 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alterid
}
]
},
"streamSettings": {
"network": "tcp"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}, // ignore this error
{
"protocol": "shadowsocks",
"port": 6666, // port
"settings": {
"method": "chacha20-ietf", // options > [aes-256-cfb, aes-128-cfb, chacha20, chacha20-ietf, aes-256-gcm, aes-128-gcm, chacha20-ietf-poly1305]
"password": "233blog.com", // password
"network": "tcp,udp",
"level": 1,
"ota": false
}
}

30
templates/quic.json Normal file
View File

@@ -0,0 +1,30 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alaterid
}
]
},
"streamSettings": {
"network": "quic",
"security": "aes-128-gcm",
"key": "",
"quicSettings": {
"header": {
"type": "none" // options > [none, srtp, utp, wechat-video, dtls, wireguard]
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}

View File

@@ -0,0 +1,10 @@
{
"type": "field",
"source": [
"127.0.0.0/8",
"1.1.1.1",
"1.1.1.2"
],
"outboundTag": "blocked" // don't change this tag
}
// https://v2ray.com/chapter_02/03_routing.html

View File

@@ -0,0 +1,10 @@
{
"type": "field",
"domain": [
"domain:baidu.com",
"2345.com",
"360.com"
],
"outboundTag": "blocked" // don't change this tag
}
// https://v2ray.com/chapter_02/03_routing.html

View File

@@ -0,0 +1,10 @@
{
"type": "field",
"ip": [
"127.0.0.0/8",
"1.1.1.1",
"1.1.1.2"
],
"outboundTag": "blocked" // don't change this tag
}
// https://v2ray.com/chapter_02/03_routing.html

View File

@@ -0,0 +1,15 @@
{
"type": "field",
"ip": [
"1.1.1.1",
"1.1.1.2",
"3.3.3.3"
],
"outboundTag": "direct" // don't change this tag
}, // ignore this error
{
"type": "field",
"network": "tcp,udp",
"outboundTag": "blocked" // don't change this tag
}
// https://v2ray.com/chapter_02/03_routing.html

View File

@@ -0,0 +1,15 @@
{
"type": "field",
"domain": [
"domain:google.com",
"domain:github.com",
"youtube.com"
],
"outboundTag": "direct" // don't change this tag
}, // ignore this error
{
"type": "field",
"network": "tcp,udp",
"outboundTag": "blocked" // don't change this tag
}
// https://v2ray.com/chapter_02/03_routing.html

16
templates/socks.json Normal file
View File

@@ -0,0 +1,16 @@
{
"protocol": "socks",
"port": 6666, // port
"settings": {
"auth": "password",
"accounts": [
{
"user": "v2ray66.com", // username
"pass": "233blog.com" // passowrd
}
],
"udp": true,
"timeout": 0,
"userLevel": 1
}
}

11
templates/ss.json Normal file
View File

@@ -0,0 +1,11 @@
{
"protocol": "shadowsocks",
"port": 6666, // port
"settings": {
"method": "chacha20-ietf", // options > [aes-256-cfb, aes-128-cfb, chacha20, chacha20-ietf, aes-256-gcm, aes-128-gcm, chacha20-ietf-poly1305]
"password": "233blog.com", // password
"network": "tcp,udp",
"level": 1,
"ota": false
}
}

23
templates/tcp.json Normal file
View File

@@ -0,0 +1,23 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alterid
}
]
},
"streamSettings": {
"network": "tcp"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}

23
templates/ws.json Normal file
View File

@@ -0,0 +1,23 @@
{
"port": 2333, // v2ray port
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", // uuid
"level": 1,
"alterId": 233 // alterid
}
]
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}