up
This commit is contained in:
145
config/server/dynamic/http.json
Normal file
145
config/server/dynamic/http.json
Normal file
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp",
|
||||
"tcpSettings": {
|
||||
"header": {
|
||||
"type": "http"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
117
config/server/dynamic/kcp.json
Normal file
117
config/server/dynamic/kcp.json
Normal file
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
119
config/server/dynamic/quic.json
Normal file
119
config/server/dynamic/quic.json
Normal file
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "quic",
|
||||
"quicSettings": {
|
||||
"key": "",
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "quic",
|
||||
"quicSettings": {
|
||||
"key": "",
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
104
config/server/dynamic/tcp.json
Normal file
104
config/server/dynamic/tcp.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
107
config/server/dynamic/ws.json
Normal file
107
config/server/dynamic/ws.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"detour": {
|
||||
"to": "dynamic"
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"port": "10000-20000",
|
||||
"tag": "dynamic",
|
||||
"settings": {
|
||||
"default": {
|
||||
"level": 1,
|
||||
"alterId": 32
|
||||
}
|
||||
},
|
||||
"allocate": {
|
||||
"strategy": "random",
|
||||
"concurrency": 2,
|
||||
"refresh": 5
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
91
config/server/h2.json
Normal file
91
config/server/h2.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "h2",
|
||||
"httpSettings": {
|
||||
"host": [
|
||||
"233blog.com"
|
||||
],
|
||||
"path": "/233blog"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
118
config/server/http.json
Normal file
118
config/server/http.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://8.8.8.8/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
12455
config/server/include/ad.json
Normal file
12455
config/server/include/ad.json
Normal file
File diff suppressed because it is too large
Load Diff
30
config/server/include/ban.json
Normal file
30
config/server/include/ban.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"type": "field",
|
||||
"domain": [
|
||||
"domain:epochtimes.com",
|
||||
"domain:epochtimes.com.tw",
|
||||
"domain:epochtimes.fr",
|
||||
"domain:epochtimes.de",
|
||||
"domain:epochtimes.jp",
|
||||
"domain:epochtimes.ru",
|
||||
"domain:epochtimes.co.il",
|
||||
"domain:epochtimes.co.kr",
|
||||
"domain:epochtimes-romania.com",
|
||||
"domain:erabaru.net",
|
||||
"domain:lagranepoca.com",
|
||||
"domain:theepochtimes.com",
|
||||
"domain:ntdtv.com",
|
||||
"domain:ntd.tv",
|
||||
"domain:ntdtv-dc.com",
|
||||
"domain:ntdtv.com.tw",
|
||||
"domain:minghui.org",
|
||||
"domain:renminbao.com",
|
||||
"domain:dafahao.com",
|
||||
"domain:dongtaiwang.com",
|
||||
"domain:falundafa.org",
|
||||
"domain:wujieliulan.com",
|
||||
"domain:ninecommentaries.com",
|
||||
"domain:shenyun.com"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
7
config/server/include/bt.json
Normal file
7
config/server/include/bt.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "field",
|
||||
"protocol": [
|
||||
"bittorrent"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
12
config/server/include/mtproto.json
Normal file
12
config/server/include/mtproto.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"protocol": "mtproto",
|
||||
"port": 6666,
|
||||
"tag": "tg-in",
|
||||
"settings": {
|
||||
"users": [
|
||||
{
|
||||
"secret": "bb8a7fbd7190e345024845f07373ec48"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
16
config/server/include/socks.json
Normal file
16
config/server/include/socks.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"protocol": "socks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"auth": "password",
|
||||
"accounts": [
|
||||
{
|
||||
"user": "233v2.com",
|
||||
"pass": "233blog.com"
|
||||
}
|
||||
],
|
||||
"udp": true,
|
||||
"timeout": 0,
|
||||
"userLevel": 1
|
||||
}
|
||||
}
|
11
config/server/include/ss.json
Normal file
11
config/server/include/ss.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"protocol": "shadowsocks",
|
||||
"port": 6666,
|
||||
"settings": {
|
||||
"method": "chacha20-ietf",
|
||||
"password": "233blog.com",
|
||||
"network": "tcp,udp",
|
||||
"level": 1,
|
||||
"ota": false
|
||||
}
|
||||
}
|
90
config/server/kcp.json
Normal file
90
config/server/kcp.json
Normal file
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "kcp",
|
||||
"kcpSettings": {
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
91
config/server/quic.json
Normal file
91
config/server/quic.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "quic",
|
||||
"quicSettings": {
|
||||
"key": "",
|
||||
"header": {
|
||||
"type": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
85
config/server/tcp.json
Normal file
85
config/server/tcp.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
87
config/server/vless_ws.json
Normal file
87
config/server/vless_ws.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"listen": "127.0.0.1",
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
85
config/server/ws.json
Normal file
85
config/server/ws.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"log": {
|
||||
"access": "/var/log/v2ray/access.log",
|
||||
"error": "/var/log/v2ray/error.log",
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 2333,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79",
|
||||
"level": 1,
|
||||
"alterId": 233
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
]
|
||||
}
|
||||
}
|
||||
//include_ss
|
||||
//include_socks
|
||||
//include_mtproto
|
||||
//include_in_config
|
||||
//
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "UseIP"
|
||||
},
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"protocol": "blackhole",
|
||||
"settings": {},
|
||||
"tag": "blocked"
|
||||
}
|
||||
//include_out_config
|
||||
//
|
||||
],
|
||||
"dns": {
|
||||
"servers": [
|
||||
"https+local://dns.google/dns-query",
|
||||
"8.8.8.8",
|
||||
"1.1.1.1",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"routing": {
|
||||
"domainStrategy": "IPOnDemand",
|
||||
"rules": [
|
||||
{
|
||||
"type": "field",
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "blocked"
|
||||
}
|
||||
//include_ban_xx
|
||||
//include_ban_bt
|
||||
//include_ban_ad
|
||||
//include_rules
|
||||
//
|
||||
]
|
||||
},
|
||||
"transport": {
|
||||
"kcpSettings": {
|
||||
"uplinkCapacity": 100,
|
||||
"downlinkCapacity": 100,
|
||||
"congestion": true
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user