v3 boom
This commit is contained in:
10
templates/rules/ban_client_ip.json
Normal file
10
templates/rules/ban_client_ip.json
Normal 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
|
10
templates/rules/ban_domain.json
Normal file
10
templates/rules/ban_domain.json
Normal 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
|
10
templates/rules/ban_ip.json
Normal file
10
templates/rules/ban_ip.json
Normal 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
|
15
templates/rules/only_allow_client_ip.json
Normal file
15
templates/rules/only_allow_client_ip.json
Normal 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
|
15
templates/rules/only_allow_domain.json
Normal file
15
templates/rules/only_allow_domain.json
Normal 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
|
Reference in New Issue
Block a user