Update
This commit is contained in:
39
config/backup.txt
Normal file
39
config/backup.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
-----------------------------------
|
||||
警告...请不要修改或删除这个文件...谢谢
|
||||
警告...请不要修改或删除这个文件...谢谢
|
||||
警告...请不要修改或删除这个文件...谢谢
|
||||
-----------------------------------
|
||||
|
||||
---- 再次提醒 ----
|
||||
大胸弟...如果你看到了这个...记得不要修改或更改这个文件
|
||||
|
||||
---- 说明 ----
|
||||
嗯……这个文件呢,是用来备份一些设置的
|
||||
我懒...不想用 JQ 去解析 JSON....
|
||||
那就把 V2Ray 配置文件的一些重要参数提取出来
|
||||
然后..在修改 V2Ray 配置的时候再重写一下就 OK 啦...
|
||||
嗯…笨笨的方法
|
||||
---- V2Ray 传输协议 -----
|
||||
1
|
||||
---- V2Ray 端口 -----
|
||||
2333
|
||||
---- UUID -----
|
||||
23332333-2333-2333-2333-233boy233boy
|
||||
---- V2Ray 动态端口开始 -----
|
||||
10000
|
||||
---- V2Ray 动态端口结束 -----
|
||||
20000
|
||||
---- 域名 -----
|
||||
233blog.com
|
||||
---- caddy -----
|
||||
false
|
||||
---- Shadowsocks -----
|
||||
false
|
||||
---- Shadowsocks 端口 -----
|
||||
6666
|
||||
---- Shadowsocks 密码 -----
|
||||
233blog.com
|
||||
---- Shadowsocks 加密协议 -----
|
||||
chacha20-ietf
|
||||
---- 屏蔽广告 -----
|
||||
false
|
||||
13235
config/blocked_hosts/server/http.json
Normal file
13235
config/blocked_hosts/server/http.json
Normal file
File diff suppressed because it is too large
Load Diff
13307
config/blocked_hosts/server/http_dynamic.json
Normal file
13307
config/blocked_hosts/server/http_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13248
config/blocked_hosts/server/http_ss.json
Normal file
13248
config/blocked_hosts/server/http_ss.json
Normal file
File diff suppressed because it is too large
Load Diff
13318
config/blocked_hosts/server/http_ss_dynamic.json
Normal file
13318
config/blocked_hosts/server/http_ss_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13228
config/blocked_hosts/server/kcp.json
Normal file
13228
config/blocked_hosts/server/kcp.json
Normal file
File diff suppressed because it is too large
Load Diff
13255
config/blocked_hosts/server/kcp_dynamic.json
Normal file
13255
config/blocked_hosts/server/kcp_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13241
config/blocked_hosts/server/kcp_ss.json
Normal file
13241
config/blocked_hosts/server/kcp_ss.json
Normal file
File diff suppressed because it is too large
Load Diff
13266
config/blocked_hosts/server/kcp_ss_dynamic.json
Normal file
13266
config/blocked_hosts/server/kcp_ss_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13213
config/blocked_hosts/server/tcp.json
Normal file
13213
config/blocked_hosts/server/tcp.json
Normal file
File diff suppressed because it is too large
Load Diff
13235
config/blocked_hosts/server/tcp_dynamic.json
Normal file
13235
config/blocked_hosts/server/tcp_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13226
config/blocked_hosts/server/tcp_ss.json
Normal file
13226
config/blocked_hosts/server/tcp_ss.json
Normal file
File diff suppressed because it is too large
Load Diff
13246
config/blocked_hosts/server/tcp_ss_dynamic.json
Normal file
13246
config/blocked_hosts/server/tcp_ss_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13216
config/blocked_hosts/server/ws.json
Normal file
13216
config/blocked_hosts/server/ws.json
Normal file
File diff suppressed because it is too large
Load Diff
13241
config/blocked_hosts/server/ws_dynamic.json
Normal file
13241
config/blocked_hosts/server/ws_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
13229
config/blocked_hosts/server/ws_ss.json
Normal file
13229
config/blocked_hosts/server/ws_ss.json
Normal file
File diff suppressed because it is too large
Load Diff
13252
config/blocked_hosts/server/ws_ss_dynamic.json
Normal file
13252
config/blocked_hosts/server/ws_ss_dynamic.json
Normal file
File diff suppressed because it is too large
Load Diff
144
config/client/http.json
Normal file
144
config/client/http.json
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"log": {
|
||||
"error": "error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "233blog.com",
|
||||
"port": 2333,
|
||||
"users": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"alterId": 233,
|
||||
"security": "aes-128-gcm"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"tcpSettings": {
|
||||
"header": {
|
||||
"type": "http",
|
||||
"request": {
|
||||
"version": "1.1",
|
||||
"method": "GET",
|
||||
"path": [
|
||||
"/"
|
||||
],
|
||||
"headers": {
|
||||
"Host": [
|
||||
"www.cloudflare.com",
|
||||
"www.amazon.com"
|
||||
],
|
||||
"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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36",
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36",
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0"
|
||||
],
|
||||
"Accept": [
|
||||
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
|
||||
],
|
||||
"Accept-language": [
|
||||
"zh-CN,zh;q=0.8,en-US;q=0.6,en;q=0.4"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, deflate, br"
|
||||
],
|
||||
"Cache-Control": [
|
||||
"no-cache"
|
||||
],
|
||||
"Pragma": "no-cache"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mux": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"port": 6666,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {},
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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",
|
||||
"geoip:cn"
|
||||
],
|
||||
"domain": [
|
||||
"geosite:cn"
|
||||
],
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinasites",
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinaip",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
119
config/client/kcp.json
Normal file
119
config/client/kcp.json
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"log": {
|
||||
"error": "error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "233blog.com",
|
||||
"port": 2333,
|
||||
"users": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"alterId": 233,
|
||||
"security": "aes-128-gcm"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"mtu": 1350,
|
||||
"tti": 50,
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": false,
|
||||
"readBufferSize": 2,
|
||||
"writeBufferSize": 2,
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mux": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"port": 6666,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {},
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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",
|
||||
"geoip:cn"
|
||||
],
|
||||
"domain": [
|
||||
"geosite:cn"
|
||||
],
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinasites",
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinaip",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
104
config/client/tcp.json
Normal file
104
config/client/tcp.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"log": {
|
||||
"error": "error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "233blog.com",
|
||||
"port": 2333,
|
||||
"users": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"alterId": 233,
|
||||
"security": "aes-128-gcm"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"mux": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"port": 6666,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {},
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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",
|
||||
"geoip:cn"
|
||||
],
|
||||
"domain": [
|
||||
"geosite:cn"
|
||||
],
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinasites",
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinaip",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
107
config/client/ws.json
Normal file
107
config/client/ws.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"log": {
|
||||
"error": "error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "233blog.com",
|
||||
"port": 2333,
|
||||
"users": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"alterId": 233,
|
||||
"security": "aes-128-gcm"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
},
|
||||
"mux": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"port": 6666,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {},
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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",
|
||||
"geoip:cn"
|
||||
],
|
||||
"domain": [
|
||||
"geosite:cn"
|
||||
],
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinasites",
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinaip",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
112
config/client/ws_tls.json
Normal file
112
config/client/ws_tls.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"log": {
|
||||
"error": "error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "233blog.com",
|
||||
"port": 2333,
|
||||
"users": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"alterId": 233,
|
||||
"security": "aes-128-gcm"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "233blog.com",
|
||||
"allowInsecure": false
|
||||
}
|
||||
},
|
||||
"mux": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"port": 6666,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {},
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"domainStrategy": "IPIfNonMatch",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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",
|
||||
"geoip:cn"
|
||||
],
|
||||
"domain": [
|
||||
"geosite:cn"
|
||||
],
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinasites",
|
||||
"outboundTag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "chinaip",
|
||||
"outboundTag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
1
config/domain.txt
Normal file
1
config/domain.txt
Normal file
@@ -0,0 +1 @@
|
||||
## 欢迎 PR 要屏蔽的域名
|
||||
9
config/hosts.sh
Normal file
9
config/hosts.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 生成要屏蔽的域名... MVPS HOSTS....
|
||||
curl "http://winhelp2002.mvps.org/hosts.txt" -o hosts.txt
|
||||
sed -i '/^#/d; /localhost/d; /^$/d; s/0.0.0.0 //g; s/ //' hosts.txt
|
||||
sed -i 's/#\(.*\)//g' hosts.txt
|
||||
sed -i '/^\s*$/d' hosts.txt
|
||||
sed -i 's/^/"/; s/\s*$/",/' hosts.txt
|
||||
sed -i '$s/,//' hosts.txt
|
||||
96
config/server/http.json
Normal file
96
config/server/http.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
154
config/server/http_dynamic.json
Normal file
154
config/server/http_dynamic.json
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
109
config/server/http_ss.json
Normal file
109
config/server/http_ss.json
Normal file
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
165
config/server/http_ss_dynamic.json
Normal file
165
config/server/http_ss_dynamic.json
Normal file
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
75
config/server/kcp.json
Normal file
75
config/server/kcp.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"mtu": 1350,
|
||||
"tti": 50,
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": false,
|
||||
"readBufferSize": 2,
|
||||
"writeBufferSize": 2,
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
102
config/server/kcp_dynamic.json
Normal file
102
config/server/kcp_dynamic.json
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp"
|
||||
}
|
||||
}
|
||||
],
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"mtu": 1350,
|
||||
"tti": 50,
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": false,
|
||||
"readBufferSize": 2,
|
||||
"writeBufferSize": 2,
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
88
config/server/kcp_ss.json
Normal file
88
config/server/kcp_ss.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"mtu": 1350,
|
||||
"tti": 50,
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": false,
|
||||
"readBufferSize": 2,
|
||||
"writeBufferSize": 2,
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
113
config/server/kcp_ss_dynamic.json
Normal file
113
config/server/kcp_ss_dynamic.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp"
|
||||
}
|
||||
}
|
||||
],
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"mtu": 1350,
|
||||
"tti": 50,
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": false,
|
||||
"readBufferSize": 2,
|
||||
"writeBufferSize": 2,
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
60
config/server/tcp.json
Normal file
60
config/server/tcp.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
82
config/server/tcp_dynamic.json
Normal file
82
config/server/tcp_dynamic.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
73
config/server/tcp_ss.json
Normal file
73
config/server/tcp_ss.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
93
config/server/tcp_ss_dynamic.json
Normal file
93
config/server/tcp_ss_dynamic.json
Normal file
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
63
config/server/ws.json
Normal file
63
config/server/ws.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
88
config/server/ws_dynamic.json
Normal file
88
config/server/ws_dynamic.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
76
config/server/ws_ss.json
Normal file
76
config/server/ws_ss.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
99
config/server/ws_ss_dynamic.json
Normal file
99
config/server/ws_ss_dynamic.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbound": {
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"clients": [
|
||||
{
|
||||
"id": "23332333-2333-2333-2333-233boy233boy",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
},
|
||||
"outbound": {
|
||||
"protocol": "freedom",
|
||||
"settings": {}
|
||||
},
|
||||
"inboundDetour": [
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"udp": true,
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"udp": true,
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outboundDetour": [
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"strategy": "rules",
|
||||
"settings": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"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"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user