update example files

This commit is contained in:
MHSanaei 2023-04-03 23:27:55 +03:30
parent a784a94806
commit 56850165a4
3 changed files with 22 additions and 13 deletions

View File

@ -1,6 +1,6 @@
{
"log": {
"loglevel": "warning",
"loglevel": "warning",
"access": "./access.log"
},
"api": {
@ -56,17 +56,23 @@
"type": "field"
},
{
"ip": [
"geoip:private",
"geoip:ir"
],
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
"ip": [
"geoip:private"
],
"type": "field"
},
{
"outboundTag": "blocked",
"ip": [
"geoip:ir"
],
"type": "field"
}

View File

@ -55,8 +55,8 @@
"type": "field"
},
{
"domain": [
"regexp:.+.ir$"
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
@ -70,8 +70,10 @@
},
{
"outboundTag": "blocked",
"ip": [
"geoip:private"
"domain": [
"regexp:.+.ir$",
"ext:iran.dat:ir",
"ext:iran.dat:other"
],
"type": "field"
}

View File

@ -1,6 +1,6 @@
{
"log": {
"loglevel": "warning",
"loglevel": "warning",
"access": "./access.log"
},
"api": {
@ -46,6 +46,7 @@
}
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"inboundTag": [
@ -55,10 +56,10 @@
"type": "field"
},
{
"outboundTag": "blocked",
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{