diff --git a/Serverless-for-iran/serverless_for_iran.jsonc b/Serverless-for-iran/serverless_for_iran.jsonc index 2d91a64..9d3b3f8 100644 --- a/Serverless-for-iran/serverless_for_iran.jsonc +++ b/Serverless-for-iran/serverless_for_iran.jsonc @@ -63,6 +63,7 @@ "regexp:^z-m-scontent.*\\.xx\\.fbcdn\\.net$": "z-m-scontent-fallback.xx.fbcdn.net", "regexp:^z-m-static.*\\.xx\\.fbcdn\\.net$": "z-m-static-fallback.xx.fbcdn.net", "regexp:^z-m-external.*\\.xx\\.fbcdn\\.net$": "z-m-external-fallback.xx.fbcdn.net", + "geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"], "cloudflare-dns.com": "www.cloudflare.com" }, "servers": [ @@ -197,6 +198,9 @@ {"outboundTag": "chain1-fragment", "inboundTag": ["dns-query"] }, + {"outboundTag": "block", + "domain": ["geosite:category-ads-all"] + }, {"outboundTag": "block", "ip": ["10.10.34.0/24", "2001:4188:2:600:10:10:34:36", "2001:4188:2:600:10:10:34:35"] },