@@ -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",
+ "ip": [
+ "geoip:private"
+ ],
- "protocol": [
- "bittorrent"
+ "geoip:ir"
}
@@ -55,8 +55,8 @@
- "domain": [
- "regexp:.+.ir$"
@@ -70,8 +70,10 @@
- "geoip:private"
+ "domain": [
+ "regexp:.+.ir$",
+ "ext:iran.dat:ir",
+ "ext:iran.dat:other"
@@ -46,6 +46,7 @@
"routing": {
+ "domainStrategy": "IPIfNonMatch",
"rules": [
"inboundTag": [
@@ -55,10 +56,10 @@
"ip": [
"geoip:private"
- "outboundTag": "blocked",