traffic+block-iran-domains.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "log": {
  3. "loglevel": "warning",
  4. "access": "./access.log",
  5. "error": "./error.log"
  6. },
  7. "api": {
  8. "tag": "api",
  9. "services": ["HandlerService", "LoggerService", "StatsService"]
  10. },
  11. "inbounds": [
  12. {
  13. "tag": "api",
  14. "listen": "127.0.0.1",
  15. "port": 62789,
  16. "protocol": "dokodemo-door",
  17. "settings": {
  18. "address": "127.0.0.1"
  19. }
  20. }
  21. ],
  22. "outbounds": [
  23. {
  24. "protocol": "freedom",
  25. "settings": {}
  26. },
  27. {
  28. "tag": "blocked",
  29. "protocol": "blackhole",
  30. "settings": {}
  31. }
  32. ],
  33. "policy": {
  34. "levels": {
  35. "0": {
  36. "statsUserDownlink": true,
  37. "statsUserUplink": true
  38. }
  39. },
  40. "system": {
  41. "statsInboundDownlink": true,
  42. "statsInboundUplink": true
  43. }
  44. },
  45. "routing": {
  46. "domainStrategy": "IPIfNonMatch",
  47. "rules": [
  48. {
  49. "type": "field",
  50. "inboundTag": ["api"],
  51. "outboundTag": "api"
  52. },
  53. {
  54. "type": "field",
  55. "outboundTag": "blocked",
  56. "ip": ["geoip:private"]
  57. },
  58. {
  59. "type": "field",
  60. "outboundTag": "blocked",
  61. "protocol": ["bittorrent"]
  62. },
  63. {
  64. "type": "field",
  65. "outboundTag": "blocked",
  66. "domain": [
  67. "regexp:.*\\.ir$",
  68. "ext:iran.dat:ir",
  69. "ext:iran.dat:other",
  70. "geosite:category-ir",
  71. "bank",
  72. "tapsi",
  73. "snapp",
  74. "blogfa",
  75. "digikala",
  76. "Torob.com",
  77. "sheypoor.com",
  78. "Tgju.org",
  79. "sb24.com",
  80. "tebyan.net",
  81. "beytoote.com",
  82. "telewebion.com",
  83. "Film2movie.ws",
  84. "Setare.com",
  85. "Filimo.com",
  86. "downloadha.com",
  87. "P30download.com",
  88. "Sarzamindownload.com",
  89. "Sanjesh.org"
  90. ]
  91. }
  92. ]
  93. },
  94. "stats": {}
  95. }