traffic+block-ads+warp-global+iran-domains.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. "tag": "WARP",
  34. "protocol": "socks",
  35. "settings": {
  36. "servers": [
  37. {
  38. "address": "127.0.0.1",
  39. "port": 40000
  40. }
  41. ]
  42. }
  43. }
  44. ],
  45. "policy": {
  46. "levels": {
  47. "0": {
  48. "statsUserDownlink": true,
  49. "statsUserUplink": true
  50. }
  51. },
  52. "system": {
  53. "statsInboundDownlink": true,
  54. "statsInboundUplink": true
  55. }
  56. },
  57. "routing": {
  58. "domainStrategy": "IPIfNonMatch",
  59. "rules": [
  60. {
  61. "type": "field",
  62. "inboundTag": ["api"],
  63. "outboundTag": "api"
  64. },
  65. {
  66. "type": "field",
  67. "outboundTag": "blocked",
  68. "ip": ["geoip:private"]
  69. },
  70. {
  71. "type": "field",
  72. "outboundTag": "blocked",
  73. "protocol": ["bittorrent"]
  74. },
  75. {
  76. "type": "field",
  77. "outboundTag": "blocked",
  78. "domain": [
  79. "geosite:category-ads-all",
  80. "geosite:category-ads",
  81. "geosite:google-ads",
  82. "geosite:spotify-ads"
  83. ]
  84. },
  85. {
  86. "type": "field",
  87. "outboundTag": "WARP",
  88. "domain": [
  89. "geosite:google",
  90. "geosite:netflix",
  91. "geosite:spotify",
  92. "geosite:openai"
  93. ]
  94. },
  95. {
  96. "type": "field",
  97. "outboundTag": "WARP",
  98. "domain": [
  99. "regexp:.*\\.ir$",
  100. "ext:iran.dat:ir",
  101. "ext:iran.dat:other",
  102. "geosite:category-ir",
  103. "bank",
  104. "tapsi",
  105. "snapp",
  106. "blogfa",
  107. "digikala",
  108. "Torob.com",
  109. "sheypoor.com",
  110. "Tgju.org",
  111. "sb24.com",
  112. "tebyan.net",
  113. "beytoote.com",
  114. "telewebion.com",
  115. "Film2movie.ws",
  116. "Setare.com",
  117. "Filimo.com",
  118. "downloadha.com",
  119. "P30download.com",
  120. "Sarzamindownload.com",
  121. "Sanjesh.org"
  122. ]
  123. }
  124. ]
  125. },
  126. "stats": {}
  127. }