[
  {
    "path": ".github/workflows/findredundant.yml",
    "content": "name: Find Redundant Domains\n\non: \n  workflow_dispatch:\n  schedule:\n    - cron: \"20 23 * * *\"\n\nenv:\n  RELEASE_NAME: $(date +%Y%m%d%H%M)\n\njobs:\n  check-domains:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install csvkit\n\n      - name: Get Check-Domains script\n        run: curl -sSLO https://raw.githubusercontent.com/Chocolate4U/Domain-Health-Checker/main/Check-Domains.ps1\n\n      - name: Get domains\n        run: curl -sSL https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/domains.txt | grep -Ev \".+\\.ir$\" | sort -u > domains.txt\n\n      - name: Check Domains with Cloudflare\n        shell: pwsh\n        run: |\n          .\\Check-Domains.ps1 -Mode DOH -DOHServer Cloudflare -Http3 -Concurrency 100 -Quiet\n          New-Item -Name \"Cloudflare\" -ItemType \"directory\"\n          Move-Item -Path \"./Results-DOH.csv\" -Destination \"./Cloudflare\"\n\n      - name: Check Domains with Google\n        shell: pwsh\n        run: |\n          .\\Check-Domains.ps1 -Mode DOH -DOHServer Google -Http3 -Concurrency 100 -Quiet\n          New-Item -Name \"Google\" -ItemType \"directory\"\n          Move-Item -Path \"./Results-DOH.csv\" -Destination \"./Google\"\n\n      - name: Generate final result\n        run: |\n          csvgrep -c 2 -m \"DEAD\" ./Cloudflare/Results-DOH.csv | awk -F\",\" '{print $1}' | sed '1d' | sort -u > redundant-cloudflare.txt\n          csvgrep -c 2 -m \"DEAD\" ./Google/Results-DOH.csv | awk -F\",\" '{print $1}' | sed '1d' | sort -u > redundant-google.txt\n          comm -12 redundant-cloudflare.txt redundant-google.txt > redundant-domains.txt\n\n      - name: Push result to redundant branch\n        run: |\n          mkdir redundant\n          cp redundant-domains.txt redundant\n          cd redundant || exit 1\n          git init\n          git config --local user.name \"github-actions[bot]\"\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git checkout -b redundant\n          git add .\n          git commit -m \"${{ env.RELEASE_NAME }}\"\n          git remote add origin \"https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\"\n          git push -f origin redundant\n"
  },
  {
    "path": ".github/workflows/get-geolite2.yml",
    "content": "name: Get GeoLite2 database\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"20 4 * * tue,fri\"\n\nenv:\n  RELEASE_NAME: $(date +%Y%m%d%H%M)\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get GeoLite2\n        env:\n          LICENSE_KEY: ${{ secrets.MAXMIND_GEOLITE2_LICENSE }}\n        run: |\n          curl --connect-timeout 15 -sSL \"https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${LICENSE_KEY}&suffix=zip\" -o GeoLite2-Country-CSV.zip\n          curl --connect-timeout 15 -sSL \"https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${LICENSE_KEY}&suffix=tar.gz\" -o GeoLite2-Country.tar.gz\n          curl --connect-timeout 15 -sSL \"https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN-CSV&license_key=${LICENSE_KEY}&suffix=zip\" -o GeoLite2-ASN-CSV.zip\n          curl --connect-timeout 15 -sSL \"https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=${LICENSE_KEY}&suffix=tar.gz\" -o GeoLite2-ASN.tar.gz\n          unzip GeoLite2-Country-CSV.zip\n          tar -xvzf GeoLite2-Country.tar.gz\n          unzip GeoLite2-ASN-CSV.zip\n          tar -xvzf GeoLite2-ASN.tar.gz\n          mkdir geolite2\n          mv GeoLite2-Country-CSV_*/*.csv geolite2\n          mv GeoLite2-Country_*/*.mmdb geolite2\n          mv GeoLite2-ASN-CSV_*/*.csv geolite2\n          mv GeoLite2-ASN_*/*.mmdb geolite2\n\n      - name: Push assets to geolite2 branch\n        run: |\n          cd geolite2 || exit 1\n          git init\n          git config --local user.name \"github-actions[bot]\"\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git checkout -b geolite2\n          git add .\n          git commit -m \"${{ env.RELEASE_NAME }}\"\n          git remote add origin \"https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\"\n          git push -f origin geolite2\n"
  },
  {
    "path": ".github/workflows/get-ip2location.yml",
    "content": "name: Get IP2Location-Lite database\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"20 4 1,15 * *\"\n\nenv:\n  RELEASE_NAME: $(date +%Y%m%d%H%M)\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install csvkit\n\n      - name: Get IP2Location-Lite database\n        env:\n          DOWNLOAD_TOKEN: ${{ secrets.IP2LOCATION_DOWNLOAD_TOKEN }}\n        run: |\n          curl -sSL \"https://www.ip2location.com/download/?token=${DOWNLOAD_TOKEN}&file=DB1LITECSV\" -o IP2LOCATION-LITE-DB1.CSV.ZIP\n          unzip IP2LOCATION-LITE-DB1.CSV.ZIP -d IP2LOCATION-LITE-DB1\n      \n      - name: install ip2location-csv-converter script\n        run: pip install ip2location-python-csv-converter\n    \n      - name: Convert database from numeric to cidr\n        run: |\n          ip2location-csv-converter -cidr -replace IP2LOCATION-LITE-DB1/IP2LOCATION-LITE-DB1.CSV IP2LOCATION-LITE-DB1.CIDR.CSV\n    \n      - name: Extract Countries IPs\n        run: |\n          mkdir -p ip2location\n          cat IP2LOCATION-LITE-DB1.CIDR.CSV | awk -F\",\" '{print $2}' | sort -u | sed -e '1d' -e 's/\\\"//g' > countries.txt\n          while read l\n          do\n            csvgrep -c 2 -m \"$l\" IP2LOCATION-LITE-DB1.CIDR.CSV | csvcut -c 1 | sed '1d' > \"ip2location/$l.txt\"\n          done < countries.txt\n\n      - name: Push assets to ip2location branch\n        run: |\n          cd ip2location || exit 1\n          git init\n          git config --local user.name \"github-actions[bot]\"\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git checkout -b ip2location\n          git add .\n          git commit -m \"${{ env.RELEASE_NAME }}\"\n          git remote add origin \"https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\"\n          git push -f origin ip2location\n"
  },
  {
    "path": ".github/workflows/release.yml",
    "content": "name: Generate v2ray routing rules\n\non:\n  workflow_dispatch:\n    inputs:\n      PRE_RELEASE:\n        description: \"Set as pre-release\"\n        required: false\n        type: boolean\n        default: false\n  schedule:\n    - cron: \"40 4 * * *\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Iran-v2ray-rules repository\n        uses: actions/checkout@v4\n\n      - name: Checkout geolite2 branch\n        uses: actions/checkout@v4\n        with:\n          ref: geolite2\n          path: geolite2\n\n      - name: Checkout ip2location branch\n        uses: actions/checkout@v4\n        with:\n          ref: ip2location\n          path: ip2location\n      \n      - name: Checkout redundant branch\n        uses: actions/checkout@v4\n        with:\n          ref: redundant\n          path: redundant\n\n      - name: Checkout ito.gov.ir-Mirror repository\n        uses: actions/checkout@v4\n        with:\n          repository: Chocolate4U/ito.gov.ir-Mirror\n          path: ito.gov.ir-Mirror\n      \n      - name: Checkout domain-list-community repository\n        uses: actions/checkout@v4\n        with:\n          repository: v2fly/domain-list-community\n          path: v2ray-geosite\n\n      - name: Checkout ipranges repository\n        uses: actions/checkout@v4\n        with:\n          repository: lord-alfred/ipranges\n          path: ipranges\n\n      - name: Download geo-tools\n        run: gh release download -p \"*.tar.gz\" --repo Chocolate4U/geo-tools\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set ENV variables\n        run: |\n          echo \"RELEASE_NAME=$(date +%Y%m%d%H%M)\" >> $GITHUB_ENV\n          echo \"TAG_NAME=$(date +%Y%m%d%H%M)\" >> $GITHUB_ENV\n          echo \"RELEASE_DATE=$(date +'%A %F %T %Z')\" >> $GITHUB_ENV\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install dos2unix idn2\n\n      - name: Create domains and release directories\n        run: mkdir domains release\n\n      - name: Get messengers IP list\n        run: awk -F\",\" '{print $2}' ./ito.gov.ir-Mirror/data/Messengers.csv | sed -e '/IP\\|\\\"/d' -e '/^$/d' -e '1d' > messengers-ip.txt\n\n      - name: Get domestic CDNs IP list\n        run: |\n          chmod +x ./scripts/generate-domestic-cdn-ips.sh\n          ./scripts/generate-domestic-cdn-ips.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate ir domains list\n        run: |\n          chmod +x ./scripts/generate-ir-domains.sh\n          ./scripts/generate-ir-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate ad domains list\n        run: |\n          chmod +x ./scripts/generate-ad-domains.sh\n          ./scripts/generate-ad-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate malware list\n        run: |\n          chmod +x ./scripts/generate-malware-domains-ips.sh\n          ./scripts/generate-malware-domains-ips.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate phishing list\n        run: |\n          chmod +x ./scripts/generate-phishing-domains-ips.sh\n          ./scripts/generate-phishing-domains-ips.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate cryptominers domains list\n        run: |\n          chmod +x ./scripts/generate-cryptominer-domains.sh\n          ./scripts/generate-cryptominer-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate Social Media domains list\n        run: |\n          chmod +x ./scripts/generate-social-media-domains.sh\n          ./scripts/generate-social-media-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate nsfw domains list\n        run: |\n          chmod +x ./scripts/generate-nsfw-domains.sh\n          ./scripts/generate-nsfw-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate sanctioned domains list\n        run: |\n          chmod +x ./scripts/generate-sanctioned-domains.sh\n          ./scripts/generate-sanctioned-domains.sh\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate geoip files\n        run: |\n          tar -xvzf geoip.tar.gz\n          rm -rf ip2location/.git\n          ./geoip convert -c config.json\n          cp output/dat/geoip.dat output/dat/geoip-lite.dat output/dat/security-ip.dat output/dat/geoip-services.dat release\n          cp output/maxmind/Country.mmdb output/maxmind/Country-lite.mmdb output/maxmind/Security-ip.mmdb output/maxmind/Services.mmdb release\n          cp -fpPR output/text release\n\n      - name: Verify *.mmdb files\n        run: |\n          tar -xvzf mmdbverify.tar.gz\n          ./mmdbverify -file release/Country.mmdb\n          ./mmdbverify -file release/Country-lite.mmdb\n          ./mmdbverify -file release/Security-ip.mmdb\n          ./mmdbverify -file release/Services.mmdb\n\n      - name: Generate geosite.dat, geosite-lite.dat and security.dat files\n        run: |\n          tar -xvzf geosite.tar.gz\n\n          cp ./domains/ir.txt ./v2ray-geosite/data/ir\n          cp ./domains/ir-lite.txt ./v2ray-geosite/data/category-ir\n          cp ./domains/ads.txt ./v2ray-geosite/data/ads\n          cp ./domains/category-ads-all.txt ./v2ray-geosite/data/category-ads-all\n          cp ./domains/malware.txt ./v2ray-geosite/data/malware\n          cp ./domains/phishing.txt ./v2ray-geosite/data/phishing\n          cp ./domains/cryptominers.txt ./v2ray-geosite/data/cryptominers\n          cp ./domains/social.txt ./v2ray-geosite/data/social\n          cp ./domains/nsfw.txt ./v2ray-geosite/data/nsfw\n          cp ./domains/sanctioned.txt ./v2ray-geosite/data/sanctioned\n\n          ./geosite --datapath=./v2ray-geosite/data --outputdir=./release --outputname=geosite.dat --exportlists=ir,category-ir,ads,category-ads-all,malware,phishing,cryptominers,social,nsfw,sanctioned\n\n          mkdir datalite\n          cp ./domains/ir.txt datalite/ir\n          cp ./domains/ir-lite.txt datalite/category-ir\n          cp ./domains/ads.txt datalite/ads\n          ./geosite --datapath=datalite --outputdir=./release --outputname=geosite-lite.dat\n          cp ./release/category-ir.txt ./release/ir-lite.txt\n\n          mkdir security\n          cp ./domains/category-ads-all.txt security/category-ads-all\n          cp ./domains/malware.txt security/malware\n          cp ./domains/phishing.txt security/phishing\n          cp ./domains/cryptominers.txt security/cryptominers\n          ./geosite --datapath=security --outputdir=./release --outputname=security.dat\n\n      - name: Generate sha256sum\n        run: |\n          sha256sum release/geoip.dat > release/geoip.dat.sha256sum\n          sha256sum release/geoip-lite.dat > release/geoip-lite.dat.sha256sum\n          sha256sum release/security-ip.dat > release/security-ip.dat.sha256sum\n          sha256sum release/geoip-services.dat > release/geoip-services.dat.sha256sum\n          sha256sum release/Country.mmdb > release/Country.mmdb.sha256sum\n          sha256sum release/Country-lite.mmdb > release/Country-lite.mmdb.sha256sum\n          sha256sum release/Security-ip.mmdb > release/Security-ip.mmdb.sha256sum\n          sha256sum release/Services.mmdb > release/Services.mmdb.sha256sum\n          sha256sum release/geosite.dat > release/geosite.dat.sha256sum\n          sha256sum release/geosite-lite.dat > release/geosite-lite.dat.sha256sum\n          sha256sum release/security.dat > release/security.dat.sha256sum\n\n      - name: Generate Release Notes\n        run: |\n          echo \"* Updated on ${{ env.RELEASE_DATE }}\" > RELEASE_NOTES\n\n      - name: Push assets to release branch\n        if: ${{ !inputs.PRE_RELEASE }}\n        run: |\n          cd release || exit 1\n          git init\n          git config --local user.name \"github-actions[bot]\"\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git checkout -b release\n          git add .\n          git commit -m \"${{ env.RELEASE_NAME }}\"\n          git remote add origin \"https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\"\n          git push -f origin release\n\n      - name: Purge jsDelivr CDN cache\n        if: ${{ !inputs.PRE_RELEASE }}\n        run: |\n          cd release || exit 1\n          for file in $(ls); do\n            curl -i \"https://purge.jsdelivr.net/gh/${{ github.repository }}@release/${file}\"\n          done\n\n      - name: Release and upload assets\n        uses: softprops/action-gh-release@v2\n        with:\n          name: ${{ env.RELEASE_NAME }}\n          tag_name: ${{ env.TAG_NAME }}\n          body_path: RELEASE_NOTES\n          draft: false\n          prerelease: ${{ inputs.PRE_RELEASE }}\n          files: |\n            release/*.dat\n            release/*.mmdb\n            release/*.sha256sum\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Clean older releases\n        if: ${{ !inputs.PRE_RELEASE }}\n        uses: dev-drprasad/delete-older-releases@v0.3.4\n        with:\n          keep_latest: 7\n          delete_tags: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.fa.md",
    "content": "<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"assets/logo-white.png\">\n  <source media=\"(prefers-color-scheme: light)\" srcset=\"assets/logo-dark.png\">\n  <img alt=\"a logo for iran v2ray rules in both dark and light mode\" src=\"assets/logo-dark.png\">\n</picture>\n\n<p align=\"center\">\n<img alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/Chocolate4U/Iran-v2ray-rules/release.yml?event=schedule&style=for-the-badge&logo=github&cacheSeconds=3600\">\n<img alt=\"GitHub release\" src=\"https://img.shields.io/github/v/release/Chocolate4U/Iran-v2ray-rules?style=for-the-badge&cacheSeconds=3600\">\n<img alt=\"GitHub Release Date\" src=\"https://img.shields.io/github/release-date/Chocolate4U/Iran-v2ray-rules?display_date=published_at&style=for-the-badge&cacheSeconds=3600\">\n<img alt=\"GitHub\" src=\"https://img.shields.io/github/license/Chocolate4U/Iran-v2ray-rules?style=for-the-badge&color=blue&cacheSeconds=3600\">\n</p>\n\n# :writing_hand: معرفی\n\nمجموعه ای از قوانین مسیریابی بهبود یافته و جامع که برای کاربران ایرانی بهینه شده و قابل استفاده در هسته های v2ray/xray و کلیه کلاینت های آنان میباشد.\n\n:bulb: برای قوانین مسیریابی sing-box به اینجا مراجعه کنید [Iran Sing-Box Rules](https://github.com/Chocolate4U/Iran-sing-box-rules)  \n:bulb: برای قوانین مسیریابی Clash به اینجا مراجعه کنید [Iran Clash Rules](https://github.com/Chocolate4U/Iran-clash-rules)\n\n# :arrow_down: نحوه دانلود\n\n## <picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/github/white\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/github/dark\"><img height=\"32\" width=\"32\" alt=\"github logo in dark and light mode.\" src=\"https://cdn.simpleicons.org/github/dark\"></picture> از گیت هاب\n\n### geoip.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip.dat file from github\" src=\"assets/geoip.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite.dat file from github\" src=\"assets/geosite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geoip-lite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip-lite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip-lite.dat file from github\" src=\"assets/geoip-lite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite-lite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite-lite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite-lite.dat file from github\" src=\"assets/geosite-lite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security-ip.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security-ip.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security-ip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security-ip.dat file from github\" src=\"assets/security-ip.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security.dat file from github\" src=\"assets/security.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n## <picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/jsdelivr/white\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/jsdelivr/dark\"><img height=\"32\" width=\"32\" alt=\"github logo in dark and light mode.\" src=\"https://cdn.simpleicons.org/jsdelivr/dark\"></picture> From jsDelivr CDN\n\n### geoip.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip.dat file from jsdelivr\" src=\"assets/geoip-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite.dat file from jsdelivr\" src=\"assets/geosite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geoip-lite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip-lite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip-lite.dat file from jsdelivr\" src=\"assets/geoip-lite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite-lite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite-lite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite-lite.dat file from jsdelivr\" src=\"assets/geosite-lite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security-ip.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security-ip.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security-ip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security-ip.dat file from jsdelivr\" src=\"assets/security-ip-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security.dat file from jsdelivr\" src=\"assets/security-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n# :computer: نحوه استفاده\n\n<h2 dir=\"rtl\">هسته v2ray/xray</h2>\n\nقسمت زیر را به قسمت مسیریابی فایل کانفیگ خود اضافه کنید:\n\n```\n\"outbounds\": [\n  {\n    \"tag\": \"direct\",\n    \"protocol\": \"freedom\",\n    \"settings\": {}\n  },\n  {\n    \"tag\": \"block\",\n    \"protocol\": \"blackhole\",\n    \"settings\": {}\n  }\n],\n\"routing\": {\n  \"domainStrategy\": \"IPIfNonMatch\",\n  \"rules\": [\n    {\n      \"outboundTag\": \"block\",\n      \"domain\": [\n        \"geosite:category-ads-all\",\n        \"geosite:malware\",\n        \"geosite:phishing\",\n        \"geosite:cryptominers\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"block\",\n      \"ip\": [\n        \"geoip:malware\",\n        \"geoip:phishing\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"direct\",\n      \"domain\": [\n        \"geosite:ir\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"direct\",\n      \"ip\": [\n        \"geoip:ir\",\n        \"geoip:private\"\n      ],\n      \"type\": \"field\"\n    },\n  ]\n}\n```\n\n# :page_with_curl: دسته بندی ها\n\n<h2 dir=\"rtl\">GeoIP</h2>\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>geoip.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li>شامل کلیه IP های تمامی کشورها از هر دو دیتابیس Maxmind و IP2Location.</li>\n\n<li><code>geoip:ir</code></li>\n  <p align=\"right\">دربر گیرنده IP های ایران استخراج شده از دیتابیس Maxmind و IP2Location به علاوه IP های پیامرسان های ایرانی از جمله \"ایتا\"، \"روبیکا\" و غیره.</p>\n\n<li><code>geoip:private</code></li>\n  <p align=\"right\">دربر گیرنده IP های ایالات متحده استخراج شده از دیتابس MaxMind.</p>\n\n<li><code>geoip:arvancloud</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ابرآروان. :information_source: این دسته بندی در \"geoip:ir\" ادغام شده و در صورت استفاده از \"geoip:ir\"، نیازی به این دسته بندی نیست.</p>\n\n<li><code>geoip:derakcloud</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ابردراک. :information_source: این دسته بندی در \"geoip:ir\" ادغام شده و در صورت استفاده از \"geoip:ir\"، نیازی به این دسته بندی نیست.</p>\n\n<li><code>geoip:iranserver</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ایران سرور. :information_source: این دسته بندی در \"geoip:ir\" ادغام شده و در صورت استفاده از \"geoip:ir\"، نیازی به این دسته بندی نیست.</p>\n\n<li><code>geoip:parspack</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای پارس پک. :information_source: این دسته بندی در \"geoip:ir\" ادغام شده و در صورت استفاده از \"geoip:ir\"، نیازی به این دسته بندی نیست.</p>\n\n<li><code>geoip:cloudflare</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای کلودفلر.</p>\n\n<li><code>geoip:cloudfront</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای cloudfront.</p>\n\n<li><code>geoip:fastly</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای fastly.</p>\n\n<li><code>geoip:gcore</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای gcore.</p>\n\n<li><code>geoip:google</code></li>\n  <p align=\"right\">دربر گیرنده IP های گوگل، گوگل کلود و گوگل بات.</p>\n\n<li><code>geoip:amazon</code></li>\n  <p align=\"right\">در برگیرنده IP های آمازون و سرویس ابری آمازون(AWS).</p>\n\n<li><code>geoip:microsoft</code></li>\n  <p align=\"right\">دربر گیرنده IP های مایکروسافت و سرویس ابری آژور.</p>\n\n<li><code>geoip:netflix</code></li>\n  <p align=\"right\">دربر گیرنده IP های Netflix.</p>\n\n<li><code>geoip:bing</code></li>\n  <p align=\"right\">دربر گیرنده IP های موتور جستجوی بینگ.</p>\n\n<li><code>geoip:github</code></li>\n  <p align=\"right\">دربر گیرنده IP های گیت هاب.</p>\n\n<li><code>geoip:facebook</code></li>\n  <p align=\"right\">دربر گیرنده IP های اکوسیستم متا، از جمله فیسبوک، اینستاگرام و واتس اپ.</p>\n\n<li><code>geoip:twitter</code></li>\n  <p align=\"right\">دربر گیرنده IP های توییتر (یا به عبارتی X!).</p>\n\n<li><code>geoip:telegram</code></li>\n  <p align=\"right\">دربر گیرنده IP های تلگرام.</p>\n\n<li><code>geoip:oracle</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس ابری اوراکل.</p>\n\n<li><code>geoip:digitalocean</code></li>\n  <p align=\"right\">دربر گیرنده IP سرویس های ابری دیجیتال اوشن.</p>\n\n<li><code>geoip:linode</code></li>\n  <p align=\"right\">دربر گیرنده IP سرویس ابری لینود.</p>\n\n<li><code>geoip:openai</code></li>\n  <p align=\"right\">دربر گیرنده IP های OpenAI و ChatGPT.</p>\n\n<li><code>geoip:tor</code></li>\n  <p align=\"right\">دربر گیرنده IP های Tor exit nodes.</p>\n\n<li><code>geoip:phishing</code></li>\n  <p align=\"right\">دربر گینده IP های فیشینگ.</p>\n\n<li><code>geoip:malware</code></li>\n  <p align=\"right\">دربر گیرنده IP های بدافزار.</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>geoip-lite.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li><code>geoip:ir</code></li>\n  <p align=\"right\">دربر گیرنده IP های ایران استخراج شده از دیتابیس Maxmind و IP2Location به علاوه IP های پیامرسان های ایرانی از جمله \"ایتا\"، \"روبیکا\" و غیره.</p>\n\n<li><code>geoip:private</code></li>\n  <p align=\"right\">دربر گیرنده IP های شبکه محلی (LAN).</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>security-ip.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li><code>geoip:phishing</code></li>\n  <p align=\"right\">دربر گینده IP های فیشینگ.</p>\n\n<li><code>geoip:malware</code></li>\n  <p align=\"right\">دربر گیرنده IP های بدافزار.</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>geoip-services.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li><code>geoip:arvancloud</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ابرآروان.</p>\n\n<li><code>geoip:derakcloud</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ابردراک.</p>\n\n<li><code>geoip:iranserver</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای ایران سرور.</p>\n\n<li><code>geoip:parspack</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس توزیع محتوای پارس پک.</p>\n\n<li><code>geoip:cloudflare</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای کلودفلر.</p>\n\n<li><code>geoip:cloudfront</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای cloudfront.</p>\n\n<li><code>geoip:fastly</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای fastly.</p>\n\n<li><code>geoip:gcore</code></li>\n  <p align=\"right\">دربرگیرنده IP های سرویس توزیع محتوای gcore.</p>\n\n<li><code>geoip:google</code></li>\n  <p align=\"right\">دربر گیرنده IP های گوگل، گوگل کلود و گوگل بات.</p>\n\n<li><code>geoip:amazon</code></li>\n  <p align=\"right\">در برگیرنده IP های آمازون و سرویس ابری آمازون(AWS).</p>\n\n<li><code>geoip:microsoft</code></li>\n  <p align=\"right\">دربر گیرنده IP های مایکروسافت و سرویس ابری آژور.</p>\n\n<li><code>geoip:netflix</code></li>\n  <p align=\"right\">دربر گیرنده IP های Netflix.</p>\n\n<li><code>geoip:bing</code></li>\n  <p align=\"right\">دربر گیرنده IP های موتور جستجوی بینگ.</p>\n\n<li><code>geoip:github</code></li>\n  <p align=\"right\">دربر گیرنده IP های گیت هاب.</p>\n\n<li><code>geoip:facebook</code></li>\n  <p align=\"right\">دربر گیرنده IP های اکوسیستم متا، از جمله فیسبوک، اینستاگرام و واتس اپ.</p>\n\n<li><code>geoip:twitter</code></li>\n  <p align=\"right\">دربر گیرنده IP های توییتر (یا به عبارتی X!).</p>\n\n<li><code>geoip:telegram</code></li>\n  <p align=\"right\">دربر گیرنده IP های تلگرام.</p>\n\n<li><code>geoip:oracle</code></li>\n  <p align=\"right\">دربر گیرنده IP های سرویس ابری اوراکل.</p>\n\n<li><code>geoip:digitalocean</code></li>\n  <p align=\"right\">دربر گیرنده IP سرویس های ابری دیجیتال اوشن.</p>\n\n<li><code>geoip:linode</code></li>\n  <p align=\"right\">دربر گیرنده IP سرویس ابری لینود.</p>\n\n<li><code>geoip:openai</code></li>\n  <p align=\"right\">دربر گیرنده IP های OpenAI و ChatGPT.</p>\n\n<li><code>geoip:tor</code></li>\n  <p align=\"right\">دربر گیرنده IP های Tor exit nodes.</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>Country.mmdb</code></strong></summary>\n\n<p align=\"right\">مثل دسته \"GeoIP\" اما با فرمت اختصاصی MaxMind.</p>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>Country-lite.mmdb</code></strong></summary>\n\n<p align=\"right\">مثل دسته \"GeoIP-Lite\" اما با فرمت اختصاصی MaxMind.</p>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>Security-IP.mmdb</code></strong></summary>\n\n<p align=\"right\">مثل دسته \"Security-IP\" اما با فرمت اختصاصی MaxMind.</p>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>Services.mmdb</code></strong></summary>\n\n<p align=\"right\">مثل دسته \"GeoIP-Services\" اما با فرمت اختصاصی MaxMind.</p>\n</details>\n\n<h2 dir=\"rtl\">GeoSite</h2>\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>geosite.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li>کلیه دسته بندی ها موجود در مخزن <a href=\"https://github.com/v2fly/domain-list-community\">domain-list-community</a> پشتبانی می شوند، به علاوه موارد زیر:</li>\n\n<li><code>geosite:ir</code></li>\n  <p align=\"right\">دربر گیرنده وبسایت های ایرانی به غیر از دامنه های \"ir.\" و قوانینی جهت بایپس کردن کلیه دامنه های \"ir.\".</p>\n\n<li><code>geosite:category-ir</code></li>\n  <p align=\"right\">کپی از \"geosite:ir\" پس از حذف دامنه‌های غیرفعال. همه دامنه‌های IR هر 24 ساعت جهت یافتن دامنه‌های غیرفعال بررسی می‌شوند.</p>\n\n<li><code>geosite:ads</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های تبلیغاتی ایرانی.</p>\n\n<li><code>geosite:category-ads-all</code></li>\n  <p align=\"right\">دربر گیرنده لیستی سفارشی شده از دامنه های تبلیغاتی ایرانی و خارجی. این لیست به گونه ای بهینه شده که تا حد امکان خالی از اشتباه باشد در حالی که سبک بودن و موثر بودن خود را نیز حفظ کند.</p>\n\n<li><code>geosite:malware</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های حاوی بدافزار.</p>\n\n<li><code>geosite:phishing</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های تقلبی و فیشینگ.</p>\n\n<li><code>geosite:cryptominers</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از استخراج کننده های رمزارز که در پس زمینه مرورگر شروع به استخراج کرده و بر کارایی سیستم کاربر تاثیر منفی می گزارند.</p>\n\n<li><code>geosite:social</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های شبکه های اجتماعی از جمله \"Facebook\", \"Instagram\", \"Whatsapp\", \"Twitter\", \"LinkedIn\", \"MySpace\", \"Pinterest\", \"Tumblr\", \"Reddit\", \"TikTok\", \"clubhouse\".</p>\n\n<li><code>geosite:nsfw</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های محتوای بزرگسال و قمار.</p>\n</ul>\n\n<li><code>geosite:sanctioned</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از وبسایت هایی که ایران را تحریم کرده اند.</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>geosite-lite.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li><code>geosite:ir</code></li>\n  <p align=\"right\">دربر گیرنده وبسایت های ایرانی به غیر از دامنه های \"ir.\" و قوانینی جهت بایپس کردن کلیه دامنه های \"ir.\".</p>\n\n<li><code>geosite:category-ir</code></li>\n  <p align=\"right\">کپی از \"geosite:ir\" پس از حذف دامنه‌های غیرفعال. همه دامنه‌های IR هر 24 ساعت جهت یافتن دامنه‌های غیرفعال بررسی می‌شوند.</p>\n\n<li><code>geosite:ads</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های تبلیغاتی ایرانی.</p>\n</ul>\n</details>\n\n<details dir=\"rtl\">\n  <summary><strong>دسته‌های موجود در<code>security.dat</code></strong></summary>\n\n<ul dir=\"rtl\">\n<li><code>geosite:category-ads-all</code></li>\n  <p align=\"right\">دربر گیرنده لیستی سفارشی شده از دامنه های تبلیغاتی ایرانی و خارجی. این لیست به گونه ای بهینه شده که تا حد امکان خالی از اشتباه باشد در حالی که سبک بودن و موثر بودن خود را نیز حفظ کند.</p>\n\n<li><code>geosite:malware</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های حاوی بدافزار.</p>\n\n<li><code>geosite:phishing</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از دامنه های تقلبی و فیشینگ.</p>\n\n<li><code>geosite:cryptominers</code></li>\n  <p align=\"right\">دربر گیرنده لیستی از استخراج کننده های رمزارز که در پس زمینه مرورگر شروع به استخراج کرده و بر کارایی سیستم کاربر تاثیر منفی می گزارند.</p>\n</ul>\n</details>\n\n# :information_desk_person: این ها چطوری ساخته شدن؟\n\nفایل های `geoip.dat`,`geoip-lite.dat` و `Country.mmdb`,`Country-lite.mmdb` با استفاده از سورس کد موجود در مخزن [geoip](https://github.com/Loyalsoldier/geoip) ساخته شده اند. لطفا برای نحوه تولید فایل های مسیریابی به مخزن گفته شده مراجعه کنید.  \nفایل های `geosite.dat`,`geosite-lite.dat` با استفاده از سورس کد موجود در مخزن [Domain list community](https://github.com/v2fly/domain-list-community) ساخته شده اند. لطفا برای نحوه تولید فایل های مسیریابی به مخزن گفته شده مراجعه کنید.\n\n# :handshake: مشارکت\n\nهرگونه مشارکتی در این مخزن مورد استقبال قرار میگیرد. شما به دو روش میتوانید در این مخزن مشارکت داشته باشید:\n\n1. مشارکت در سورس های مورد استفاده این مخزن  \n   دامنه ای میشناسید که باید بایپس شود؟ به اینجا گزارش بدهید [Iran Hosted Domains](https://github.com/bootmortis/iran-hosted-domains)  \n   دامنه تبلیغاتی ایرانی میشناسید که باید مسدود شود؟ به اینجا گزارش بدهید [PersianBlocker](https://github.com/MasterKia/PersianBlocker)  \n   دامنه ای میشناسید که... خیلی خوب فکر کنم متوجه منظورم شدید!\n2. مستقیما در این مخزن مشارکت داشته باشید  \n   مشکلات را گزارش کنید، سورس های جدید پیشنهاد بدهید، و یا هر گونه ایده که به بهتر شدن این مخزن کمک میکند را با ما به اشتراک بگذارید.\n\n:raising_hand_man: یک مورد دیگه، اگر این مخزن برای شما مفید واقع شده لطفا یک ستاره در بالای این صفحه از خودتون به جا بگذارین تا به بیشتر دیده شدن این لیست کمک بشه.\n\n# :copyright: لایسنس\n\nاین پروژه، به جز منابع مورد استفاده، تحت لایسنس GNU GPLv3 قرار دارد. برای جزئیات بیشتر اینجا را ببینید [لایسنس](LICENSE)\n\nتمامی حقوق برای منابع استفاده شده بر اساس لایسنس های مربوطه شان محفوظ است. لطفا برای اطلاعات بیشتر به قسمت منابع مراجعه کنید.\n\n# :package: منابع\n\n## GeoIP\n\n| Source                 | Maintainer           | Home Page                                                                                 | License                                                                              | Category          |\n| ---------------------- | -------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ----------------- |\n| GeoLite2               | MaxMind              | [Home Page](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data)                 | [CC BY-SA 4.0](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data#license) | Country IPs       |\n| IP2Location LITE       | IP2Location          | [Home Page](https://lite.ip2location.com/ip2location-lite)                                | [CC BY-SA 4.0](https://lite.ip2location.com/terms-of-use)                            | Country IPs       |\n| ITO GOV                | ITO GOV              | [Home Page](https://eservices.ito.gov.ir/Page/IPListMessenger)                            | N/A                                                                                  | ir(messenger IPs) |\n| V2ray-rules-dat        | Loyalsoldier         | [Home Page](https://github.com/Loyalsoldier/v2ray-rules-dat)                              | [GPL-3.0](https://github.com/Loyalsoldier/v2ray-rules-dat/blob/master/LICENSE)       | cn                |\n| Arvan Cloud            | Arvan Cloud          | [Home Page](https://www.arvancloud.ir/en/dev/ips)                                         | All rights reserved                                                                  | arvancloud        |\n| Derak Cloud            | Derak Cloud          | [Home Page](https://derak.cloud/لیست-بازه-های-ip)                                         | All rights reserved                                                                  | derakcloud        |\n| IranServer             | IranServer           | [Home Page](https://docs.iranserver.com/irserver-cloud/cdn/allow-iranserver-ip-addresses) | All rights reserved                                                                  | iranserver        |\n| ParsPack               | ParsPack             | [Home Page](https://parspack.com/cdnips.txt)                                              | All rights reserved                                                                  | parspack          |\n| Cloudflare             | Cloudflare           | [Home Page](https://www.cloudflare.com/ips)                                               | All rights reserved                                                                  | cloudflare        |\n| Cloudfront             | Cloudfront           | [Home Page](https://ip-ranges.amazonaws.com/ip-ranges.json)                               | All rights reserved                                                                  | cloudfront        |\n| Fastly                 | Fastly               | [Home Page](https://api.fastly.com/public-ip-list)                                        | All rights reserved                                                                  | fastly            |\n| G-Core                 | G-Core               | [Home Page](https://api.gcore.com/cdn/public-ip-list)                                     | All rights reserved                                                                  | gcore             |\n| Netflix                | Netflix              | [Home Page](https://www.netflix.com)                                                      | All rights reserved                                                                  | netflix           |\n| Telegram               | Telegram             | [Home Page](https://core.telegram.org/resources/cidr.txt)                                 | All rights reserved                                                                  | telegram          |\n| Tor                    | Tor Project          | [Home Page](https://check.torproject.org/torbulkexitlist)                                 | All rights reserved                                                                  | tor               |\n| URLhaus                | abuse.ch             | [Home Page](https://urlhaus.abuse.ch)                                                     | [CC0](https://urlhaus.abuse.ch/api/#tos)                                             | malware           |\n| Phishing URL Blocklist | malware-filter Group | [Home Page](https://gitlab.com/malware-filter/phishing-filter)                            | [MIT](https://gitlab.com/malware-filter/phishing-filter/-/blob/main/LICENSE)         | phishing          |\n| IPRanges               | lord-alfred          | [Home Page](https://github.com/lord-alfred/ipranges)                                      | [CC0 1.0](https://github.com/lord-alfred/ipranges/blob/main/LICENSE)                 | everything else   |\n\n## GeoSite\n\n| Source                 | Maintainer            | Home Page                                                       | License                                                                         | Category        |\n| ---------------------- | --------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------- | --------------- |\n| Iran Hosted Domains    | bootmortis            | [Home Page](https://github.com/bootmortis/iran-hosted-domains)  | [MIT](https://github.com/bootmortis/iran-hosted-domains/blob/main/LICENSE)      | ir              |\n| PersianBlocker         | MasterKia             | [Home Page](https://github.com/MasterKia/PersianBlocker)        | [AGPL-3.0](https://github.com/MasterKia/PersianBlocker/blob/main/LICENSE)       | ads             |\n| DNS Blocklists         | Hagezi                | [Home Page](https://github.com/hagezi/dns-blocklists)           | All rights reserved                                                             | ads             |\n| GoodbyeAds             | jerryn70              | [Home Page](https://github.com/jerryn70/GoodbyeAds)             | [MIT](https://github.com/jerryn70/GoodbyeAds/blob/master/LICENSE)               | ads             |\n| AdGuard DNS filter     | Adguard Team          | [Home Page](https://github.com/AdguardTeam/AdGuardSDNSFilter)   | [GPL-3.0](https://github.com/AdguardTeam/AdGuardSDNSFilter/blob/master/LICENSE) | ads             |\n| URLhaus                | abuse.ch              | [Home Page](https://urlhaus.abuse.ch)                           | [CC0](https://urlhaus.abuse.ch/api/#tos)                                        | malware         |\n| Phishing URL Blocklist | malware-filter Group  | [Home Page](https://gitlab.com/malware-filter/phishing-filter)  | [MIT](https://gitlab.com/malware-filter/phishing-filter/-/blob/main/LICENSE)    | phishing        |\n| NoCoin adblock list    | hoshsadiq             | [Home Page](https://github.com/hoshsadiq/adblock-nocoin-list)   | [MIT](https://github.com/hoshsadiq/adblock-nocoin-list/blob/master/LICENSE)     | cryptominers    |\n| Unified Hosts          | StevenBlack           | [Home Page](https://github.com/StevenBlack/hosts)               | [MIT](https://github.com/StevenBlack/hosts/blob/master/license.txt)             | social, nsfw    |\n| DynX-AntiBan-Domains   | MrDevAnony            | [Home Page](https://github.com/MrDevAnony/DynX-AntiBan-Domains) | [MIT](https://github.com/MrDevAnony/DynX-AntiBan-Domains/blob/main/LICENSE)     | sanctioned      |\n| ir-sanctioned-domain   | filteryab             | [Home Page](https://github.com/filteryab/ir-sanctioned-domain)  | All rights reserved                                                             | sanctioned      |\n| Domain list community  | Domain list community | [Home Page](https://github.com/v2fly/domain-list-community)     | [MIT](https://github.com/v2fly/domain-list-community/blob/master/LICENSE)       | everything else |\n\n# :warning: سلب مسئولیت\n\nاین مخزن هیچگونه همکاری، ارتباط، مجوز، و یا به طور کلی به هیچ طریقی هیچ گونه ارتباطی به طور رسمی با هریک از منابع ذکر شده اعم از وبسایت ها، سرویس ها و یا هر چیزی که ممکن است به آن ارتباط داشته باشد، ندارد.  \nاطلاعات موجود در این مخزن از منابع در دسترس عموم جمع آوری گردیده و فقط به منظور اطلاع رسانی بدون هیچ ضمانتی مبنی بر دقیق بودن و یا در دسترس بودن عرضه شده است. همچنین ما هیچگونه مسئولیتی در برابر هر گونه خسارت ناشی از استفاده از اطلاعات این مخزن که ممکن است به وجود بیاید، نداریم. لطفا قبل از استفاده از اطلاعات این مخزن، تحقیقات لازم را به عمل بیاورید.\n\n# :pray: تشکر ویژه\n\n- همه maintainer های نامبرده شده در این مخزن\n- [Project V](https://github.com/v2fly)\n- [Project X](https://github.com/XTLS)\n- [Domain list community](https://github.com/v2fly/domain-list-community)\n- [Loyalsoldier](https://github.com/Loyalsoldier)\n"
  },
  {
    "path": "README.md",
    "content": "<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"assets/logo-white.png\">\n  <source media=\"(prefers-color-scheme: light)\" srcset=\"assets/logo-dark.png\">\n  <img alt=\"a logo for iran v2ray rules in both dark and light mode\" src=\"assets/logo-dark.png\">\n</picture>\n\n<p align=\"center\">\n<img alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/Chocolate4U/Iran-v2ray-rules/release.yml?event=schedule&style=for-the-badge&logo=github&cacheSeconds=3600\">\n<img alt=\"GitHub release\" src=\"https://img.shields.io/github/v/release/Chocolate4U/Iran-v2ray-rules?style=for-the-badge&cacheSeconds=3600\">\n<img alt=\"GitHub Release Date\" src=\"https://img.shields.io/github/release-date/Chocolate4U/Iran-v2ray-rules?display_date=published_at&style=for-the-badge&cacheSeconds=3600\">\n<img alt=\"GitHub\" src=\"https://img.shields.io/github/license/Chocolate4U/Iran-v2ray-rules?style=for-the-badge&color=blue&cacheSeconds=3600\">\n</p>\n\n[فارسی](README.fa.md)\n\n# :writing_hand: Introduction\n\nThis is an Enhanced and All-in-One set of geo-location routing files optimized for Iranian users to use in v2ray/xray and all their compatible clients.\n\n:bulb: For Sing-Box geolocation rules please refer to [Iran Sing-Box Rules](https://github.com/Chocolate4U/Iran-sing-box-rules)  \n:bulb: For Clash geolocation rules please refer to [Iran Clash Rules](https://github.com/Chocolate4U/Iran-clash-rules)\n\n# :arrow_down: How to download\n\n## <picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/github/white\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/github/dark\"><img height=\"32\" width=\"32\" alt=\"github logo in dark and light mode.\" src=\"https://cdn.simpleicons.org/github/dark\"></picture> From GitHub\n\n### geoip.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip.dat file from github\" src=\"assets/geoip.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite.dat file from github\" src=\"assets/geosite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geoip-lite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip-lite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geoip-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip-lite.dat file from github\" src=\"assets/geoip-lite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite-lite.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite-lite.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite-lite.dat file from github\" src=\"assets/geosite-lite.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security-ip.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security-ip.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security-ip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security-ip.dat file from github\" src=\"assets/security-ip.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security.dat\n\n[https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security.dat](https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/security.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security.dat file from github\" src=\"assets/security.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n## <picture><source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/jsdelivr/white\"><source media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/jsdelivr/dark\"><img height=\"32\" width=\"32\" alt=\"github logo in dark and light mode.\" src=\"https://cdn.simpleicons.org/jsdelivr/dark\"></picture> From jsDelivr CDN\n\n### geoip.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip.dat file from jsdelivr\" src=\"assets/geoip-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite.dat file from jsdelivr\" src=\"assets/geosite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geoip-lite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip-lite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geoip-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geoip-lite.dat file from jsdelivr\" src=\"assets/geoip-lite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### geosite-lite.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite-lite.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/geosite-lite.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading geosite-lite.dat file from jsdelivr\" src=\"assets/geosite-lite-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security-ip.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security-ip.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security-ip.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security-ip.dat file from jsdelivr\" src=\"assets/security-ip-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n### security.dat\n\n[https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security.dat](https://cdn.jsdelivr.net/gh/chocolate4u/Iran-v2ray-rules@release/security.dat)\n\n<details>\n  <summary><strong>QR Code</strong></summary>\n  <img alt=\"QrCode for downloading security.dat file from jsdelivr\" src=\"assets/security-jsdelivr.png\" width=\"200\" height=\"200\">\n</details>\n\n---\n\n# :computer: Usage\n\n## v2ray/xray core\n\nAdd the following to your v2ray/xray client configuration:\n\n```\n\"outbounds\": [\n  {\n    \"tag\": \"direct\",\n    \"protocol\": \"freedom\",\n    \"settings\": {}\n  },\n  {\n    \"tag\": \"block\",\n    \"protocol\": \"blackhole\",\n    \"settings\": {}\n  }\n],\n\"routing\": {\n  \"domainStrategy\": \"IPIfNonMatch\",\n  \"rules\": [\n    {\n      \"outboundTag\": \"block\",\n      \"domain\": [\n        \"geosite:category-ads-all\",\n        \"geosite:malware\",\n        \"geosite:phishing\",\n        \"geosite:cryptominers\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"block\",\n      \"ip\": [\n        \"geoip:malware\",\n        \"geoip:phishing\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"direct\",\n      \"domain\": [\n        \"geosite:ir\"\n      ],\n      \"type\": \"field\"\n    },\n    {\n      \"outboundTag\": \"direct\",\n      \"ip\": [\n        \"geoip:ir\",\n        \"geoip:private\"\n      ],\n      \"type\": \"field\"\n    },\n  ]\n}\n```\n\n# :page_with_curl: Categories\n\n## GeoIP\n\n<details>\n  <summary><strong>Categories in <code>geoip.dat</code></strong></summary>\n\n- Contains IP Addresses of all countries from Maxmind and IP2Location databases.\n\n- `geoip:ir`  \n  Contains Iran IP addresses from Maxmind and IP2Location databases, IP addresses of Iranian messengers such as `eitaa`, `rubika`, etc. and IP addresses of `arvancloud`, `derakcloud`, `iranserver` and `parspack` CDNs.\n\n- `geoip:private`  \n  Contains a list of local (LAN) IP addresses.\n\n- `geoip:arvancloud`  \n  Contains the IP addresses of ArvanCloud.ir CDN. :information_source: Integrated in `geoip:ir` and no longer needed to be written as a separate rule.\n\n- `geoip:derakcloud`  \n  Contains the IP addresses of Derak.cloud CDN. :information_source: Integrated in `geoip:ir` and no longer needed to be written as a separate rule.\n\n- `geoip:iranserver`  \n  Contains the IP addresses of IranServer.com CDN. :information_source: Integrated in `geoip:ir` and no longer needed to be written as a separate rule.\n\n- `geoip:parspack`  \n  Contains the IP addresses of ParsPack.com CDN. :information_source: Integrated in `geoip:ir` and no longer needed to be written as a separate rule.\n\n- `geoip:cloudflare`  \n  Contains the IP addresses of Cloudflare CDN.\n\n- `geoip:cloudfront`  \n  Contains the IP addresses of Cloudfront CDN.\n\n- `geoip:fastly`  \n  Contains the IP addresses of Fastly CDN.\n\n- `geoip:gcore`  \n  Contains the IP addresses of G-Core CDN.\n\n- `geoip:google`  \n  Contains the IP addresses of Google, GoogleCloud and GoogleBot.\n\n- `geoip:amazon`  \n  Contains the IP addresses of Amazon and Amazon Web Services (AWS).\n\n- `geoip:microsoft`  \n  Contains the IP addresses of Microsoft and Azure Platform.\n\n- `geoip:netflix`  \n  Contains the IP addresses of Netflix.\n\n- `geoip:bing`  \n  Contains the IP addresses of Bing and Bingbot.\n\n- `geoip:github`  \n  Contains the IP addresses of GitHub.\n\n- `geoip:facebook`  \n  Contains the IP addresses of the Meta ecosystem, including Facebook, Instagram and WhatsApp.\n\n- `geoip:twitter`  \n  Contains the IP addresses of Twitter (now called X!).\n\n- `geoip:telegram`  \n  Contains the IP addresses of Telegram Messenger.\n\n- `geoip:oracle`  \n  Contains the IP addresses of Oracle Cloud.\n\n- `geoip:digitalocean`  \n  Contains the IP addresses of DigitalOcean-related services.\n\n- `geoip:linode`  \n  Contains the IP addresses of Linode-related services.\n\n- `geoip:openai`  \n  Contains the IP addresses of OpenAI and ChatGPT.\n\n- `geoip:tor`  \n  Contains the IP addresses of Tor exit nodes.\n\n- `geoip:phishing`  \n  Contains Phishing IP addresses.\n\n- `geoip:malware`  \n  Contains Active Malware IP addresses.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>geoip-lite.dat</code></strong></summary>\n\n- `geoip:ir`  \n  Contains Iran IP addresses from Maxmind and IP2Location databases, IP addresses of Iranian messengers such as `eitaa`, `rubika`, etc. and IP addresses of `arvancloud`, `derakcloud`, `iranserver` and `parspack` CDNs.\n\n- `geoip:private`  \n  Contains a list of local (LAN) IP addresses.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>security-ip.dat</code></strong></summary>\n\n- `geoip:phishing`  \n  Contains Phishing IP addresses.\n\n- `geoip:malware`  \n  Contains Active Malware IP addresses.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>geoip-services.dat</code></strong></summary>\n\n- `geoip:arvancloud`  \n  Contains the IP addresses of ArvanCloud.ir CDN.\n\n- `geoip:derakcloud`  \n  Contains the IP addresses of Derak.cloud CDN.\n\n- `geoip:iranserver`  \n  Contains the IP addresses of IranServer.com CDN.\n\n- `geoip:parspack`  \n  Contains the IP addresses of ParsPack.com CDN.\n\n- `geoip:cloudflare`  \n  Contains the IP addresses of Cloudflare CDN.\n\n- `geoip:cloudfront`  \n  Contains the IP addresses of Cloudfront CDN.\n\n- `geoip:fastly`  \n  Contains the IP addresses of Fastly CDN.\n\n- `geoip:gcore`  \n  Contains the IP addresses of G-Core CDN.\n\n- `geoip:google`  \n  Contains the IP addresses of Google, GoogleCloud and GoogleBot.\n\n- `geoip:amazon`  \n  Contains the IP addresses of Amazon and Amazon Web Services (AWS).\n\n- `geoip:microsoft`  \n  Contains the IP addresses of Microsoft and Azure Platform.\n\n- `geoip:netflix`  \n  Contains the IP addresses of Netflix.\n\n- `geoip:bing`  \n  Contains the IP addresses of Bing and Bingbot.\n\n- `geoip:github`  \n  Contains the IP addresses of GitHub.\n\n- `geoip:facebook`  \n  Contains the IP addresses of the Meta ecosystem, including Facebook, Instagram and WhatsApp.\n\n- `geoip:twitter`  \n  Contains the IP addresses of Twitter (now called X!).\n\n- `geoip:telegram`  \n  Contains the IP addresses of Telegram Messenger.\n\n- `geoip:oracle`  \n  Contains the IP addresses of Oracle Cloud.\n\n- `geoip:digitalocean`  \n  Contains the IP addresses of DigitalOcean-related services.\n\n- `geoip:linode`  \n  Contains the IP addresses of Linode-related services.\n\n- `geoip:openai`  \n  Contains the IP addresses of OpenAI and ChatGPT.\n\n- `geoip:tor`  \n  Contains the IP addresses of Tor exit nodes.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>Country.mmdb</code></strong></summary>\n\nSame as `GeoIP` but in Maxmind's MMDB format.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>Country-lite.mmdb</code></strong></summary>\n\nSame as `GeoIP Lite` but in Maxmind's MMDB format.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>Security-IP.mmdb</code></strong></summary>\n\nSame as `Security-IP` but in Maxmind's MMDB format.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>Services.mmdb</code></strong></summary>\n\nsame as `GeoIP-Services` but in Maxmind's MMDB format.\n\n</details>\n\n## GeoSite\n\n<details>\n  <summary><strong>Categories in <code>geosite.dat</code></strong></summary>\n\n- All categories from [domain-list-community](https://github.com/v2fly/domain-list-community) are supported, plus the following categories:\n\n- `geosite:ir`  \n  Contains non-ir TLD Iranian domains (e.g. `.com` `.net` `.org` etc.) and rules to bypass all `.ir` domains.\n\n- `geosite:category-ir`  \n  Mirror of `geosite:ir` with inactive domains removed.\n  All IR domains get checked every 24 hours for inactive domains.\n\n- `geosite:ads`  \n  Contains a list of Persian advertisement and tracking domains.\n\n- `geosite:category-ads-all`  \n  Contains a curated list of Persian and Foreign advertisement and tracking domains based on multiple sources. It is optimized to have as low as possible false positives while also retaining a small size and efficiency.\n\n- `geosite:malware`  \n  Contains a list of active malware domains.\n\n- `geosite:phishing`  \n  Contains a list of scam and phishing domains.\n\n- `geosite:cryptominers`  \n  Contains a list of cryptocurrency miners that run in the background of a web browser and affect system performance.\n\n- `geosite:social`  \n  Contains Domain Addresses of popular social media platforms, including `Facebook`, `Instagram`, `Whatsapp`, `Twitter`, `LinkedIn`, `MySpace`, `Pinterest`, `Tumblr`, `Reddit`, `TikTok`, `clubhouse`.\n\n- `geosite:nsfw`\n  Contains a list of porn and gambling websites.\n\n- `geosite:sanctioned`\n  Contains a list of websites that sanctioned Iran.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>geosite-lite.dat</code></strong></summary>\n\n- `geosite:ir`  \n  Contains non-ir TLD Iranian domains (e.g. `.com` `.net` `.org` etc.) and rules to bypass all `.ir` domains.\n\n- `geosite:category-ir`  \n  Mirror of `geosite:ir` with inactive domains removed.\n  All IR domains get checked every 24 hours for inactive domains.\n\n- `geosite:ads`  \n  Contains a list of Persian advertisement and tracking domains.\n\n</details>\n\n<details>\n  <summary><strong>Categories in <code>security.dat</code></strong></summary>\n\n- `geosite:category-ads-all`  \n  Contains a curated list of Persian and Foreign advertisement and tracking domains based on multiple sources. It is optimized to have as low as possible false positives while also retaining a small size and efficiency.\n\n- `geosite:malware`  \n  Contains a list of active malware domains.\n\n- `geosite:phishing`  \n  Contains a list of scam and phishing domains.\n\n- `geosite:cryptominers`  \n  Contains a list of cryptocurrency miners that run in the background of a web browser and affect system performance.\n\n</details>\n\n# :information_desk_person: How is this made?\n\n`geoip.dat`,`geoip-lite.dat` and `Country.mmdb`,`Country-lite.mmdb` are generated using source code from [geoip](https://github.com/Loyalsoldier/geoip) repository by [Loyalsoldier](https://github.com/Loyalsoldier). Please refer to the mentioned repository for instructions on how to make custom `geoip` files.\n\n`geosite.dat`,`geosite-lite.dat` is generated using source code from [Domain list community](https://github.com/v2fly/domain-list-community). Please refer to the mentioned repository for instructions on how to make custom `geosite` files.\n\n# :handshake: Contribution\n\nAll contributions are welcome and appreciated. You can contribute to this project in 2 ways:\n\n1. Contribute to its upstream sources  \n   Do you know a Domain that should be bypassed? report it to [Iran Hosted Domains](https://github.com/bootmortis/iran-hosted-domains)  \n   Do you know a Persian advertisement domain that should be blocked or a false positive? report it to [PersianBlocker](https://github.com/MasterKia/PersianBlocker)  \n   Do you know... OK, you got the idea!\n2. Contribute directly to this project  \n   Report issues, open pull requests, suggest new sources or categories or any idea, in general, to make this repository more useful for everyone.\n\n:raising_hand_man: Also one more thing, if this repository was useful to you, kindly leave a :star: up there so this project can be seen by more people.\n\n# :copyright: License\n\nThis project, except for upstream sources, is licensed under the GNU GPLv3 License - see the [LICENSE](LICENSE) file for details.\n\nAll rights are reserved for All upstream sources used in this project according to their respective licenses. Please refer to [Sources](#sources) section for more details.\n\n# :package: Sources\n\n## GeoIP\n\n| Source                 | Maintainer           | Home Page                                                                                 | License                                                                              | Category          |\n| ---------------------- | -------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ----------------- |\n| GeoLite2               | MaxMind              | [Home Page](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data)                 | [CC BY-SA 4.0](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data#license) | Country IPs       |\n| IP2Location LITE       | IP2Location          | [Home Page](https://lite.ip2location.com/ip2location-lite)                                | [CC BY-SA 4.0](https://lite.ip2location.com/terms-of-use)                            | Country IPs       |\n| ITO GOV                | ITO GOV              | [Home Page](https://eservices.ito.gov.ir/Page/IPListMessenger)                            | N/A                                                                                  | ir(messenger IPs) |\n| Arvan Cloud            | Arvan Cloud          | [Home Page](https://www.arvancloud.ir/en/dev/ips)                                         | All rights reserved                                                                  | arvancloud        |\n| Derak Cloud            | Derak Cloud          | [Home Page](https://derak.cloud/لیست-بازه-های-ip)                                         | All rights reserved                                                                  | derakcloud        |\n| IranServer             | IranServer           | [Home Page](https://docs.iranserver.com/irserver-cloud/cdn/allow-iranserver-ip-addresses) | All rights reserved                                                                  | iranserver        |\n| ParsPack               | ParsPack             | [Home Page](https://parspack.com/cdnips.txt)                                              | All rights reserved                                                                  | parspack          |\n| Cloudflare             | Cloudflare           | [Home Page](https://www.cloudflare.com/ips)                                               | All rights reserved                                                                  | cloudflare        |\n| Cloudfront             | Cloudfront           | [Home Page](https://ip-ranges.amazonaws.com/ip-ranges.json)                               | All rights reserved                                                                  | cloudfront        |\n| Fastly                 | Fastly               | [Home Page](https://api.fastly.com/public-ip-list)                                        | All rights reserved                                                                  | fastly            |\n| G-Core                 | G-Core               | [Home Page](https://api.gcore.com/cdn/public-ip-list)                                     | All rights reserved                                                                  | gcore             |\n| Netflix                | Netflix              | [Home Page](https://www.netflix.com)                                                      | All rights reserved                                                                  | netflix           |\n| Telegram               | Telegram             | [Home Page](https://core.telegram.org/resources/cidr.txt)                                 | All rights reserved                                                                  | telegram          |\n| Tor                    | Tor Project          | [Home Page](https://check.torproject.org/torbulkexitlist)                                 | All rights reserved                                                                  | tor               |\n| URLhaus                | abuse.ch             | [Home Page](https://urlhaus.abuse.ch)                                                     | [CC0](https://urlhaus.abuse.ch/api/#tos)                                             | malware           |\n| Phishing URL Blocklist | malware-filter Group | [Home Page](https://gitlab.com/malware-filter/phishing-filter)                            | [MIT](https://gitlab.com/malware-filter/phishing-filter/-/blob/main/LICENSE)         | phishing          |\n| IPRanges               | lord-alfred          | [Home Page](https://github.com/lord-alfred/ipranges)                                      | [CC0 1.0](https://github.com/lord-alfred/ipranges/blob/main/LICENSE)                 | everything else   |\n\n## GeoSite\n\n| Source                 | Maintainer            | Home Page                                                       | License                                                                         | Category        |\n| ---------------------- | --------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------- | --------------- |\n| Iran Hosted Domains    | bootmortis            | [Home Page](https://github.com/bootmortis/iran-hosted-domains)  | [MIT](https://github.com/bootmortis/iran-hosted-domains/blob/main/LICENSE)      | ir              |\n| PersianBlocker         | MasterKia             | [Home Page](https://github.com/MasterKia/PersianBlocker)        | [AGPL-3.0](https://github.com/MasterKia/PersianBlocker/blob/main/LICENSE)       | ads             |\n| DNS Blocklists         | Hagezi                | [Home Page](https://github.com/hagezi/dns-blocklists)           | All rights reserved                                                             | ads             |\n| GoodbyeAds             | jerryn70              | [Home Page](https://github.com/jerryn70/GoodbyeAds)             | [MIT](https://github.com/jerryn70/GoodbyeAds/blob/master/LICENSE)               | ads             |\n| AdGuard DNS filter     | Adguard Team          | [Home Page](https://github.com/AdguardTeam/AdGuardSDNSFilter)   | [GPL-3.0](https://github.com/AdguardTeam/AdGuardSDNSFilter/blob/master/LICENSE) | ads             |\n| URLhaus                | abuse.ch              | [Home Page](https://urlhaus.abuse.ch)                           | [CC0](https://urlhaus.abuse.ch/api/#tos)                                        | malware         |\n| Phishing URL Blocklist | malware-filter Group  | [Home Page](https://gitlab.com/malware-filter/phishing-filter)  | [MIT](https://gitlab.com/malware-filter/phishing-filter/-/blob/main/LICENSE)    | phishing        |\n| NoCoin adblock list    | hoshsadiq             | [Home Page](https://github.com/hoshsadiq/adblock-nocoin-list)   | [MIT](https://github.com/hoshsadiq/adblock-nocoin-list/blob/master/LICENSE)     | cryptominers    |\n| Unified Hosts          | StevenBlack           | [Home Page](https://github.com/StevenBlack/hosts)               | [MIT](https://github.com/StevenBlack/hosts/blob/master/license.txt)             | social, nsfw    |\n| DynX-AntiBan-Domains   | MrDevAnony            | [Home Page](https://github.com/MrDevAnony/DynX-AntiBan-Domains) | [MIT](https://github.com/MrDevAnony/DynX-AntiBan-Domains/blob/main/LICENSE)     | sanctioned      |\n| ir-sanctioned-domain   | filteryab             | [Home Page](https://github.com/filteryab/ir-sanctioned-domain)  | All rights reserved                                                             | sanctioned      |\n| Domain list community  | Domain list community | [Home Page](https://github.com/v2fly/domain-list-community)     | [MIT](https://github.com/v2fly/domain-list-community/blob/master/LICENSE)       | everything else |\n\n# :warning: Disclaimer\n\nThis repository is not affiliated, associated, authorized, endorsed by, or in any way officially connected to any of the aforementioned resources, websites, services, or any entity which this may concern, in any way.  \nThe data in this repository is gathered from publicly available resources and is provided as-is, intended for informational purposes only with no guarantee of accuracy, liability or availability and We are not responsible for any harm or damage that may arise from using the data in this repository. Please do your research before using any data from this repository.\n\n# :pray: Special Thanks\n\n- All maintainers that are mentioned in this project.\n- [Project V](https://github.com/v2fly)\n- [Project X](https://github.com/XTLS)\n- [Domain list community](https://github.com/v2fly/domain-list-community)\n- [Loyalsoldier](https://github.com/Loyalsoldier)\n"
  },
  {
    "path": "config.json",
    "content": "{\n  \"input\": [\n    {\n      \"type\": \"maxmindGeoLite2CountryCSV\",\n      \"action\": \"add\",\n      \"args\": {\n        \"country\": \"geolite2/GeoLite2-Country-Locations-en.csv\",\n        \"ipv4\": \"geolite2/GeoLite2-Country-Blocks-IPv4.csv\",\n        \"ipv6\": \"geolite2/GeoLite2-Country-Blocks-IPv6.csv\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"inputDir\": \"./ip2location\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"uri\": \"./messengers-ip.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"uri\": \"./ir-cdn/arvancloud.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"uri\": \"./ir-cdn/derakcloud.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"uri\": \"./ir-cdn/iranserver.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"uri\": \"./ir-cdn/parspack.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"inputDir\": \"./ir-cdn\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"ir\",\n        \"ipOrCIDR\": [\n          \"10.202.10.102\",\n          \"10.202.10.202\",\n          \"10.202.10.10\",\n          \"10.202.10.11\",\n          \"172.29.0.100\",\n          \"172.29.2.100\"\n        ]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"irgfw-block-injected-ips\",\n        \"ipOrCIDR\": [\n          \"10.10.34.0/24\",\n          \"2001:4188:2:600:10:10:34:34\",\n          \"2001:4188:2:600:10:10:34:35\",\n          \"2001:4188:2:600:10:10:34:36\"\n        ]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"irgfw-other-injected-ips\",\n        \"ipOrCIDR\": [\n          \"216.239.38.120\",\n          \"216.239.38.119\",\n          \"2001:4860:4802:32::78\",\n          \"2001:4860:4802:32::77\",\n          \"93.115.151.123\",\n          \"87.107.132.83\",\n          \"52.250.41.2\",\n          \"213.180.193.56\",\n          \"204.79.197.220\",\n          \"185.130.45.94\",\n          \"162.62.116.251\",\n          \"162.62.115.144\"\n        ]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"irgfw-all-injected-ips\",\n        \"ipOrCIDR\": [\n          \"10.10.34.0/24\",\n          \"2001:4188:2:600:10:10:34:34\",\n          \"2001:4188:2:600:10:10:34:35\",\n          \"2001:4188:2:600:10:10:34:36\",\n          \"216.239.38.120\",\n          \"216.239.38.119\",\n          \"2001:4860:4802:32::78\",\n          \"2001:4860:4802:32::77\",\n          \"93.115.151.123\",\n          \"87.107.132.83\",\n          \"52.250.41.2\",\n          \"213.180.193.56\",\n          \"204.79.197.220\",\n          \"185.130.45.94\",\n          \"162.62.116.251\",\n          \"162.62.115.144\"\n        ]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"tor\",\n        \"uri\": \"https://check.torproject.org/torbulkexitlist\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudflare\",\n        \"uri\": \"https://www.cloudflare.com/ips-v4\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudflare\",\n        \"uri\": \"https://www.cloudflare.com/ips-v6\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"telegram\",\n        \"uri\": \"https://core.telegram.org/resources/cidr.txt\"\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"google\",\n        \"uri\": \"https://www.gstatic.com/ipranges/goog.json\",\n        \"jsonPath\": [\"prefixes.#.ipv4Prefix\", \"prefixes.#.ipv6Prefix\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"google\",\n        \"uri\": \"https://www.gstatic.com/ipranges/cloud.json\",\n        \"jsonPath\": [\"prefixes.#.ipv4Prefix\", \"prefixes.#.ipv6Prefix\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"fastly\",\n        \"uri\": \"https://api.fastly.com/public-ip-list\",\n        \"jsonPath\": [\"addresses\", \"ipv6_addresses\"]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"cloudfront\",\n        \"uri\": \"https://ip-ranges.amazonaws.com/ip-ranges.json\",\n        \"jsonPath\": [\n          \"prefixes.#(service==\\\"CLOUDFRONT\\\")#.ip_prefix\",\n          \"ipv6_prefixes.#(service==\\\"CLOUDFRONT\\\")#.ipv6_prefix\"\n        ]\n      }\n    },\n    {\n      \"type\": \"json\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"gcore\",\n        \"uri\": \"https://api.gcore.com/cdn/public-ip-list\",\n        \"jsonPath\": [\"addresses\", \"addresses_v6\"]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"amazon\",\n        \"uri\": \"./ipranges/amazon/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"amazon\",\n        \"uri\": \"./ipranges/amazon/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"microsoft\",\n        \"uri\": \"./ipranges/microsoft/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"microsoft\",\n        \"uri\": \"./ipranges/microsoft/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"bing\",\n        \"uri\": \"./ipranges/bing/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"github\",\n        \"uri\": \"./ipranges/github/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"github\",\n        \"uri\": \"./ipranges/github/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"facebook\",\n        \"uri\": \"./ipranges/facebook/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"facebook\",\n        \"uri\": \"./ipranges/facebook/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"twitter\",\n        \"uri\": \"./ipranges/twitter/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"twitter\",\n        \"uri\": \"./ipranges/twitter/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"oracle\",\n        \"uri\": \"./ipranges/oracle/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"digitalocean\",\n        \"uri\": \"./ipranges/digitalocean/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"digitalocean\",\n        \"uri\": \"./ipranges/digitalocean/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"linode\",\n        \"uri\": \"./ipranges/linode/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"linode\",\n        \"uri\": \"./ipranges/linode/ipv6_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"openai\",\n        \"uri\": \"./ipranges/openai/ipv4_merged.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"phishing\",\n        \"uri\": \"./phishing-ip.txt\"\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"add\",\n      \"args\": {\n        \"name\": \"malware\",\n        \"uri\": \"./malware-ip.txt\"\n      }\n    },\n    {\n      \"type\": \"maxmindGeoLite2ASNCSV\",\n      \"action\": \"add\",\n      \"args\": {\n        \"ipv4\": \"geolite2/GeoLite2-ASN-Blocks-IPv4.csv\",\n        \"ipv6\": \"geolite2/GeoLite2-ASN-Blocks-IPv6.csv\",\n        \"wantedList\": {\n          \"cloudflare\": [\n            \"AS395747\",\n            \"AS394536\",\n            \"AS209242\",\n            \"AS203898\",\n            \"AS202623\",\n            \"AS14789\",\n            \"AS139242\",\n            \"AS133877\",\n            \"AS13335\",\n            \"AS132892\"\n          ],\n          \"facebook\": [\"AS63293\", \"AS54115\", \"AS32934\"],\n          \"fastly\": [\"AS54113\", \"AS394192\"],\n          \"gcore\": [\"199524\", \"202422\"],\n          \"google\": [\n            \"AS6432\",\n            \"AS55023\",\n            \"AS45566\",\n            \"AS43515\",\n            \"AS41264\",\n            \"AS40873\",\n            \"AS396982\",\n            \"AS395973\",\n            \"AS394699\",\n            \"AS394639\",\n            \"AS394507\",\n            \"AS36987\",\n            \"AS36492\",\n            \"AS36385\",\n            \"AS36384\",\n            \"AS36040\",\n            \"AS36039\",\n            \"AS26910\",\n            \"AS26684\",\n            \"AS22859\",\n            \"AS22577\",\n            \"AS19527\",\n            \"AS19448\",\n            \"AS19425\",\n            \"AS16591\",\n            \"AS16550\",\n            \"AS15169\",\n            \"AS13949\",\n            \"AS139190\",\n            \"AS139070\"\n          ],\n          \"netflix\": [\"AS55095\", \"AS40027\", \"AS394406\", \"AS2906\"],\n          \"telegram\": [\"AS62041\", \"AS62014\", \"AS59930\", \"AS44907\", \"AS211157\"],\n          \"twitter\": [\"AS8945\", \"AS63179\", \"AS54888\", \"AS35995\", \"AS13414\"]\n        }\n      }\n    },\n    {\n      \"type\": \"private\",\n      \"action\": \"add\"\n    }\n  ],\n  \"output\": [\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"geoip.dat\"\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"geoip-lite.dat\",\n        \"wantedList\": [\n          \"ir\",\n          \"irgfw-block-injected-ips\",\n          \"irgfw-other-injected-ips\",\n          \"irgfw-all-injected-ips\",\n          \"private\"\n        ]\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"geoip-services.dat\",\n        \"wantedList\": [\n          \"amazon\",\n          \"arvancloud\",\n          \"bing\",\n          \"cloudflare\",\n          \"cloudfront\",\n          \"derakcloud\",\n          \"digitalocean\",\n          \"facebook\",\n          \"fastly\",\n          \"gcore\",\n          \"github\",\n          \"google\",\n          \"iranserver\",\n          \"linode\",\n          \"microsoft\",\n          \"netflix\",\n          \"openai\",\n          \"oracle\",\n          \"parspack\",\n          \"telegram\",\n          \"tor\",\n          \"twitter\"\n        ]\n      }\n    },\n    {\n      \"type\": \"v2rayGeoIPDat\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"security-ip.dat\",\n        \"wantedList\": [\"phishing\", \"malware\"]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"Country.mmdb\",\n        \"overwriteList\": [\n          \"ir\",\n          \"amazon\",\n          \"bing\",\n          \"cloudflare\",\n          \"digitalocean\",\n          \"facebook\",\n          \"github\",\n          \"google\",\n          \"linode\",\n          \"malware\",\n          \"microsoft\",\n          \"openai\",\n          \"oracle\",\n          \"phishing\",\n          \"telegram\",\n          \"twitter\",\n          \"private\"\n        ]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"Country-lite.mmdb\",\n        \"wantedList\": [\n          \"ir\",\n          \"irgfw-block-injected-ips\",\n          \"irgfw-other-injected-ips\",\n          \"irgfw-all-injected-ips\",\n          \"private\"\n        ]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"Security-ip.mmdb\",\n        \"wantedList\": [\"phishing\", \"malware\"]\n      }\n    },\n    {\n      \"type\": \"maxmindMMDB\",\n      \"action\": \"output\",\n      \"args\": {\n        \"outputName\": \"Services.mmdb\",\n        \"wantedList\": [\n          \"amazon\",\n          \"arvancloud\",\n          \"bing\",\n          \"cloudflare\",\n          \"cloudfront\",\n          \"derakcloud\",\n          \"digitalocean\",\n          \"facebook\",\n          \"fastly\",\n          \"gcore\",\n          \"github\",\n          \"google\",\n          \"iranserver\",\n          \"linode\",\n          \"microsoft\",\n          \"netflix\",\n          \"openai\",\n          \"oracle\",\n          \"parspack\",\n          \"telegram\",\n          \"tor\",\n          \"twitter\"\n        ]\n      }\n    },\n    {\n      \"type\": \"text\",\n      \"action\": \"output\"\n    }\n  ]\n}\n"
  },
  {
    "path": "scripts/generate-ad-domains.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/MasterKia/PersianBlocker/contents/PersianBlockerAds-Domains.txt -H \"Accept: application/vnd.github.raw\" > ads-raw.txt\ngh api https://api.github.com/repos/MasterKia/PersianBlocker/contents/PersianBlockerTrackers-Domains.txt -H \"Accept: application/vnd.github.raw\" >> ads-raw.txt\ncat ads-raw.txt | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > ads.txt\ncat ads-raw.txt > category-ads-all-raw.txt\ngh api https://api.github.com/repos/hagezi/dns-blocklists/contents/wildcard/light-onlydomains.txt -H \"Accept: application/vnd.github.raw\" >> category-ads-all-raw.txt\ngh api https://api.github.com/repos/jerryn70/GoodbyeAds/contents/Extension/GoodbyeAds-Samsung-AdBlock.txt -H \"Accept: application/vnd.github.raw\" >> category-ads-all-raw.txt\ngh api https://api.github.com/repos/jerryn70/GoodbyeAds/contents/Extension/GoodbyeAds-Xiaomi-Extension.txt -H \"Accept: application/vnd.github.raw\" >> category-ads-all-raw.txt\n\ncat category-ads-all-raw.txt | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > category-ads-all-temp.txt\n\ngh api https://api.github.com/repos/AdguardTeam/AdGuardSDNSFilter/contents/Filters/exclusions.txt -H \"Accept: application/vnd.github.raw\" > whitelist-raw.txt\ngh api https://api.github.com/repos/AdguardTeam/AdGuardSDNSFilter/contents/Filters/exceptions.txt -H \"Accept: application/vnd.github.raw\" >> whitelist-raw.txt\n\ncat whitelist-raw.txt | sed -e 's/^\\(|\\|@\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > whitelist-temp.txt\n\ncomm -23 category-ads-all-temp.txt whitelist-temp.txt > category-ads-all-temp-temp.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' category-ads-all-temp-temp.txt > category-ads-all-sub.txt\ncat category-ads-all-temp-temp.txt | LC_ALL=C grep -f category-ads-all-sub.txt | LC_ALL=C sort -u > category-ads-all-redundant-sub.txt\ncomm -23 category-ads-all-temp-temp.txt category-ads-all-redundant-sub.txt > category-ads-all.txt\nrm -f category-ads-all-raw.txt whitelist-raw.txt category-ads-all-temp.txt whitelist-temp.txt\nmv ads.txt category-ads-all.txt domains\n"
  },
  {
    "path": "scripts/generate-cryptominer-domains.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/hoshsadiq/adblock-nocoin-list/contents/hosts.txt -H \"Accept: application/vnd.github.raw\" | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > cryptominers-temp.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' cryptominers-temp.txt > cryptominers-sub.txt\ncat cryptominers-temp.txt | LC_ALL=C grep -f cryptominers-sub.txt | LC_ALL=C sort -u > cryptominers-redundant-sub.txt\ncomm -23 cryptominers-temp.txt cryptominers-redundant-sub.txt > cryptominers.txt\nmv cryptominers.txt domains\n"
  },
  {
    "path": "scripts/generate-domestic-cdn-ips.sh",
    "content": "#!/bin/bash\n\nmkdir ir-cdn\ncurl --connect-timeout 15 -sSL https://www.arvancloud.ir/en/ips.txt > ir-cdn/arvancloud.txt || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/arvancloud.txt?ref=release -H \"Accept: application/vnd.github.raw\" > ir-cdn/arvancloud.txt\ncurl --connect-timeout 15 -sSL https://api.derak.cloud/public/ipv4 > ir-cdn/derakcloud.txt && sed -i -e '$a\\' ir-cdn/derakcloud.txt || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/derakcloud.txt?ref=release -H \"Accept: application/vnd.github.raw\" > ir-cdn/derakcloud.txt\ncurl --connect-timeout 15 -sSL https://api.derak.cloud/public/ipv6 >> ir-cdn/derakcloud.txt || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/derakcloud.txt?ref=release -H \"Accept: application/vnd.github.raw\" > ir-cdn/derakcloud.txt\ncurl --connect-timeout 15 -sSL https://ips.f95.com/ip.txt > ir-cdn/iranserver.txt || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/iranserver.txt?ref=release -H \"Accept: application/vnd.github.raw\" > ir-cdn/iranserver.txt\ncurl --connect-timeout 15 -sSL https://parspack.com/cdnips.txt > ir-cdn/parspack.txt || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/parspack.txt?ref=release -H \"Accept: application/vnd.github.raw\" > ir-cdn/parspack.txt"
  },
  {
    "path": "scripts/generate-ir-domains.sh",
    "content": "#!/bin/bash\n\ngh release download -p domains.txt --repo bootmortis/iran-hosted-domains\ncat domains.txt | grep -Ev \".+\\.ir$\" | sed '1 a\\ir\\nxn--mgba3a4f16a' | LC_ALL=C sort -u > ir.txt\ncomm -23 ir.txt ./redundant/redundant-domains.txt > ir-lite.txt\nmv ir.txt ir-lite.txt domains\n"
  },
  {
    "path": "scripts/generate-malware-domains-ips.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/curbengh/urlhaus-filter/contents/urlhaus-filter-dnscrypt-blocked-names-online.txt?ref=gh-pages -H \"Accept: application/vnd.github.raw\" | sed -e 's/^\\(|\\|@\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > malware-temp.txt\ngh api https://api.github.com/repos/curbengh/urlhaus-filter/contents/urlhaus-filter-dnscrypt-blocked-ips-online.txt?ref=gh-pages -H \"Accept: application/vnd.github.raw\" | sed -e '/#/d' -e '/^$/d' > malware-ip.txt\n[[ -s malware-ip.txt ]] || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/malware.txt?ref=release -H \"Accept: application/vnd.github.raw\" > malware-ip.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' malware-temp.txt > malware-sub.txt\ncat malware-temp.txt | LC_ALL=C grep -f malware-sub.txt | LC_ALL=C sort -u > malware-redundant-sub.txt\ncomm -23 malware-temp.txt malware-redundant-sub.txt > malware.txt\nmv malware.txt domains\n"
  },
  {
    "path": "scripts/generate-nsfw-domains.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/StevenBlack/hosts/contents/alternates/gambling-porn-only/hosts -H \"Accept: application/vnd.github.raw\" | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0 \\|127\\.0\\.0\\.1 \\)*//g' -e 's/\\^.*$//g' -e 's/^\\(www\\.\\)*//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > nsfw-temp.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' nsfw-temp.txt > nsfw-sub.txt\ncat nsfw-temp.txt | LC_ALL=C grep -f nsfw-sub.txt | LC_ALL=C sort -u > nsfw-redundant-sub.txt\ncomm -23 nsfw-temp.txt nsfw-redundant-sub.txt > nsfw.txt\necho \"TOTAL_NSFW=$(wc -l < nsfw.txt)\" >> $GITHUB_ENV\nmv nsfw.txt domains\n"
  },
  {
    "path": "scripts/generate-phishing-domains-ips.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/curbengh/phishing-filter/contents/phishing-filter-dnscrypt-blocked-names.txt?ref=gh-pages -H \"Accept: application/vnd.github.raw\" | sed -e 's/^\\(|\\|@\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' -e '/blob:https:/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > phishing-temp.txt\ngh api https://api.github.com/repos/curbengh/phishing-filter/contents/phishing-filter-dnscrypt-blocked-ips.txt?ref=gh-pages -H \"Accept: application/vnd.github.raw\" | sed -e '/#/d' -e '/^$/d' > phishing-ip.txt\n[[ -s phishing-ip.txt ]] || gh api https://api.github.com/repos/Chocolate4U/Iran-v2ray-rules/contents/text/phishing.txt?ref=release -H \"Accept: application/vnd.github.raw\" > phishing-ip.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' phishing-temp.txt > phishing-sub.txt\ncat phishing-temp.txt | LC_ALL=C grep -f phishing-sub.txt | LC_ALL=C sort -u > phishing-redundant-sub.txt\ncomm -23 phishing-temp.txt phishing-redundant-sub.txt > phishing.txt\nmv phishing.txt domains\n"
  },
  {
    "path": "scripts/generate-sanctioned-domains.sh",
    "content": "#!/bin/bash\n\n# Download the lists using github api\ngh api https://api.github.com/repos/MrDevAnony/DynX-AntiBan-Domains/contents/DynX-AntiBan-list.lst -H \"Accept: application/vnd.github.raw\" > sanctioned-raw.txt\ngh api https://api.github.com/repos/filteryab/ir-sanctioned-domain/contents/data/ir-sanctioned-domain -H \"Accept: application/vnd.github.raw\" >> sanctioned-raw.txt\n\n# Clean, deduplicate and sort the lists\ncat sanctioned-raw.txt | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0\\|127\\.0\\.0\\.1\\)*//g' -e 's/\\^.*$//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > sanctioned-temp.txt\n\n# Remove Redundant Subdomains\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' sanctioned-temp.txt > sanctioned-sub.txt\ncat sanctioned-temp.txt | LC_ALL=C grep -f sanctioned-sub.txt | LC_ALL=C sort -u > sanctioned-redundant-sub.txt\ncomm -23 sanctioned-temp.txt sanctioned-redundant-sub.txt > sanctioned.txt\nmv sanctioned.txt domains\n"
  },
  {
    "path": "scripts/generate-social-media-domains.sh",
    "content": "#!/bin/bash\n\ngh api https://api.github.com/repos/StevenBlack/hosts/contents/alternates/social-only/hosts -H \"Accept: application/vnd.github.raw\" | sed -e 's/^\\(|\\|\\*\\|\\.\\|\\-\\|0\\.0\\.0\\.0 \\|127\\.0\\.0\\.1 \\)*//g' -e 's/\\^.*$//g' -e 's/^\\(www\\.\\)*//g' -e '/!\\|?\\|@\\|#\\|\\*\\|_\\|\\\\\\|\\/\\|\\[\\|]\\|\\[\\|\\([0-9]\\{1,3\\}\\.\\)\\{3\\}[0-9]\\{1,3\\}/d' -e '/\\.$/d' -e '/^\\s*$/d' | awk '{$1=$1};1' | dos2unix | idn2 --no-alabelroundtrip --no-tr46 | LC_ALL=C sort -u > social-temp.txt\nsed -e 's/^/\\./' -e 's/\\./\\\\./g' -e 's/\\-/\\\\-/g' -e 's/$/\\$/' social-temp.txt > social-sub.txt\ncat social-temp.txt | LC_ALL=C grep -f social-sub.txt | LC_ALL=C sort -u > social-redundant-sub.txt\ncomm -23 social-temp.txt social-redundant-sub.txt > social.txt\nmv social.txt domains\n"
  },
  {
    "path": "v2rayN/all.json",
    "content": "[\n  {\n    \"outboundtag\": \"block\",\n    \"port\": \"443\",\n    \"network\": \"udp\",\n    \"enabled\": true,\n    \"remarks\": \"udp443 - \\u0645\\u0633\\u062F\\u0648\\u062F\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"protocol\":[\n      \"bittorrent\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062a\\u0648\\u0631\\u0646\\u062a\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"block\",\n    \"domain\":[\n      \"geosite:category-ads-all\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062a\\u0628\\u0644\\u06cc\\u063a\\u0627\\u062a\\u0020\\u002d\\u0020\\u0645\\u0633\\u062f\\u0648\\u062f\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"ip\":[\n      \"geoip:private\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u0622\\u06cc\\u0020\\u067e\\u06cc\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0645\\u062d\\u0644\\u06cc\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"domain\":[\n      \"geosite:private\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062f\\u0627\\u0645\\u0646\\u0647\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0645\\u062d\\u0644\\u06cc\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"port\":\"0-65535\",\n    \"outboundTag\":\"proxy\",\n    \"enabled\":true,\n    \"remarks\":\"\\u0633\\u0627\\u06cc\\u0631\\u0020\\u0645\\u0648\\u0627\\u0631\\u062f\\u0020\\u002d\\u0020\\u067e\\u0631\\u0627\\u06a9\\u0633\\u06cc\"\n  }\n]\n"
  },
  {
    "path": "v2rayN/all_except_ir.json",
    "content": "[\n  {\n    \"outboundtag\":\"direct\",\n    \"ip\":[\n      \"8.8.8.8\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062A\\u0628\\u062F\\u06CC\\u0644\\u0020\\u0646\\u0627\\u0645\\u0020\\u062F\\u0627\\u0645\\u0646\\u0647\\u0020\\u0647\\u0627\\u06CC\\u0020\\u0627\\u06CC\\u0631\\u0627\\u0646\\u0020\\u002d\\u0020\\u0645\\u0633\\u062A\\u0642\\u06CC\\u0645\"\n  },\n  {\n    \"outboundtag\": \"block\",\n    \"port\": \"443\",\n    \"network\": \"udp\",\n    \"enabled\": true,\n    \"remarks\": \"udp443 - \\u0645\\u0633\\u062F\\u0648\\u062F\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"protocol\":[\n      \"bittorrent\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062a\\u0648\\u0631\\u0646\\u062a\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"block\",\n    \"domain\":[\n      \"geosite:category-ads-all\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062a\\u0628\\u0644\\u06cc\\u063a\\u0627\\u062a\\u0020\\u002d\\u0020\\u0645\\u0633\\u062f\\u0648\\u062f\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"ip\":[\n      \"geoip:private\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u0622\\u06cc\\u0020\\u067e\\u06cc\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0645\\u062d\\u0644\\u06cc\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"domain\":[\n      \"geosite:private\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062f\\u0627\\u0645\\u0646\\u0647\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0645\\u062d\\u0644\\u06cc\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"domain\":[\n      \"geosite:ir\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u062f\\u0627\\u0645\\u0646\\u0647\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0627\\u06cc\\u0631\\u0627\\u0646\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"outboundTag\":\"direct\",\n    \"ip\":[\n      \"geoip:ir\"\n    ],\n    \"enabled\":true,\n    \"remarks\":\"\\u0622\\u06cc\\u0020\\u067e\\u06cc\\u0020\\u0647\\u0627\\u06cc\\u0020\\u0627\\u06cc\\u0631\\u0627\\u0646\\u0020\\u002d\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\"\n  },\n  {\n    \"port\":\"0-65535\",\n    \"outboundTag\":\"proxy\",\n    \"enabled\":true,\n    \"remarks\":\"\\u0633\\u0627\\u06cc\\u0631\\u0020\\u0645\\u0648\\u0627\\u0631\\u062f\\u0020\\u002d\\u0020\\u067e\\u0631\\u0627\\u06a9\\u0633\\u06cc\"\n  }\n]\n"
  },
  {
    "path": "v2rayN/dns_singbox_normal.json",
    "content": "{\n  \"servers\": [\n    {\n      \"tag\": \"remote\",\n      \"address\": \"1.1.1.1\",\n      \"strategy\": \"prefer_ipv4\",\n      \"detour\": \"proxy\"\n    },\n    {\n      \"tag\": \"local\",\n      \"address\": \"8.8.8.8\",\n      \"strategy\": \"prefer_ipv4\",\n      \"detour\": \"direct\"\n    },\n    {\n      \"tag\": \"block\",\n      \"address\": \"rcode://success\"\n    }\n  ],\n  \"rules\": [\n    {\n      \"rule_set\": [\n        \"geosite-category-ads-all\"\n      ],\n      \"server\": \"block\"\n    },\n    {\n      \"domain_suffix\": [\n        \".ir\"\n      ],\n      \"geosite\": [\n        \"ir\"\n      ],\n      \"server\": \"local\"\n    }\n  ],\n  \"final\": \"remote\"\n}\n"
  },
  {
    "path": "v2rayN/dns_v2ray_normal.json",
    "content": "{\n  \"hosts\": {\n    \"geosite:category-ads-all\": \"127.0.0.1\"\n  },\n  \"servers\": [\n    \"1.1.1.1\",\n    \"9.9.9.10\",\n    {\n      \"address\": \"8.8.8.8\",\n      \"domains\": [\n        \"domain:ir\",\n        \"geosite:ir\"\n      ],\n      \"expectIPs\": [\n        \"geoip:ir\"\n      ]\n    }\n  ]\n}\n"
  },
  {
    "path": "v2rayN/sing_box.json",
    "content": "{\n  \"useSystemHosts\": false,\n  \"normalDNS\": \"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/dns_singbox_normal.json\",\n  \"tunDNS\": \"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/tun_singbox_dns.json\",\n  \"domainStrategy4Freedom\": null,\n  \"domainDNSAddress\": \"8.8.8.8\"\n}\n"
  },
  {
    "path": "v2rayN/template.json",
    "content": "{\n  \"version\": \"IR\",\n  \"routingItems\": [\n    {\n      \"remarks\": \"\\u0627\\u06cc\\u0631\\u0627\\u0646\\u0020\\u0645\\u0633\\u062a\\u0642\\u06cc\\u0645\\u060c\\u0020\\u0628\\u0642\\u06cc\\u0647\\u0020\\u067e\\u0631\\u0627\\u06a9\\u0633\\u06cc\",\n      \"domainStrategy\": \"IPOnDemand\",\n      \"url\": \"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/all_except_ir.json\"\n    },\n    {\n      \"remarks\": \"\\u067e\\u0631\\u0627\\u06a9\\u0633\\u06cc\\u0020\\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc\",\n      \"url\": \"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/all.json\"\n    }\n  ]\n}\n"
  },
  {
    "path": "v2rayN/tun_singbox_dns.json",
    "content": "{\n  \"servers\": [\n    {\n      \"tag\": \"remote\",\n      \"address\": \"1.1.1.1\",\n      \"strategy\": \"prefer_ipv4\",\n      \"detour\": \"proxy\"\n    },\n    {\n      \"tag\": \"local\",\n      \"address\": \"8.8.8.8\",\n      \"strategy\": \"prefer_ipv4\",\n      \"detour\": \"direct\"\n    },\n    {\n      \"tag\": \"block\",\n      \"address\": \"rcode://success\"\n    }\n  ],\n  \"rules\": [\n    {\n      \"rule_set\": [\n        \"geosite-category-ads-all\"\n      ],\n      \"server\": \"block\"\n    },\n    {\n      \"domain_suffix\": [\n        \".ir\"\n      ],\n      \"geosite\": [\n        \"ir\"\n      ],\n      \"server\": \"local\"\n    }\n  ],\n  \"final\": \"remote\"\n}\n"
  },
  {
    "path": "v2rayN/v2ray.json",
    "content": "{\n  \"useSystemHosts\": true,\n  \"normalDNS\": \"https://cdn.jsdelivr.net/gh/Chocolate4U/Iran-v2ray-rules@main/v2rayN/dns_v2ray_normal.json\",\n  \"tunDNS\": null,\n  \"domainStrategy4Freedom\": \"UseIP\",\n  \"domainDNSAddress\": \"8.8.8.8\"\n}\n"
  }
]