Skip to content

How to configure blacklist? #428

@sceneren

Description

@sceneren

I configure the blacklist mode in the clash_config.yaml file, it doesn't work

`

proxies:

  • name: "trojan"
    type: socks5
    server: "127.0.0.1"
    port: 1081
    udp: true

proxy-groups:

  • name: Proxy
    type: select
    proxies:
    • DIRECT

rules:

  • DOMAIN,ocsp.apple.com,Proxy
  • DOMAIN-SUFFIX,digicert.com,Proxy
  • DOMAIN-SUFFIX,entrust.net,Proxy
  • DOMAIN,ocsp.verisign.net,Proxy
  • DOMAIN-SUFFIX,apps.apple.com,Proxy
  • DOMAIN,itunes.apple.com,Proxy
  • DOMAIN-SUFFIX,blobstore.apple.com,Proxy
  • DOMAIN-SUFFIX,music.apple.com,DIRECT
  • DOMAIN-SUFFIX,mzstatic.com,DIRECT
  • DOMAIN-SUFFIX,itunes.apple.com,DIRECT
  • DOMAIN-SUFFIX,icloud.com,DIRECT
  • DOMAIN-SUFFIX,icloud-content.com,DIRECT
  • DOMAIN-SUFFIX,me.com,DIRECT
  • DOMAIN-SUFFIX,mzstatic.com,DIRECT
  • DOMAIN-SUFFIX,akadns.net,DIRECT
  • DOMAIN-SUFFIX,aaplimg.com,DIRECT
  • DOMAIN-SUFFIX,cdn-apple.com,DIRECT
  • DOMAIN-SUFFIX,apple.com,DIRECT
  • DOMAIN-SUFFIX,apple-cloudkit.com,DIRECT
  • DOMAIN-KEYWORD,googleapis,Proxy
  • DOMAIN,services.googleapis.com,Proxy
  • DOMAIN,www.googleapis.com,Proxy
  • DOMAIN,myip.my,Proxy
  • DOMAIN,ted.com,Proxy
  • DOMAIN,justwatch.com,Proxy
  • DOMAIN,yelp.com,Proxy
  • DOMAIN,starfall.com,Proxy
  • DOMAIN,github.com,Proxy
  • DOMAIN,github.io,Proxy
  • DOMAIN,topcoder.com,Proxy
  • DOMAIN,geeksforgeeks.org,Proxy
  • DOMAIN,stackoverflow.com,Proxy
  • DOMAIN,openai.com,Proxy
  • DOMAIN,nasa.gov,Proxy
  • DOMAIN,amazon.com,Proxy
  • DOMAIN,cmu.edu,Proxy
  • DOMAIN,georgetown.edu,Proxy
  • DOMAIN,upenn.edu,Proxy
  • DOMAIN,berkeley.edu,Proxy
  • DOMAIN,princeton.edu,Proxy
  • DOMAIN,dartmouth.edu,Proxy
  • DOMAIN,mit.edu,Proxy
  • DOMAIN,duke.edu,Proxy
  • DOMAIN,yale.edu,Proxy
  • DOMAIN,harvard.edu,Proxy
  • DOMAIN,plos.org,Proxy
  • DOMAIN,blackwell-synergy.com,Proxy
  • DOMAIN,jstor.org,Proxy
  • DOMAIN,doaj.org,Proxy
  • DOMAIN,researchgate.net,Proxy
  • DOMAIN,arxiv.org,Proxy
  • DOMAIN,ist.psu.edu,Proxy
  • DOMAIN,proquest.com,Proxy
  • DOMAIN,biomedcentral.com,Proxy
  • DOMAIN,cogprints.org,Proxy
  • DOMAIN,europepmc.org,Proxy
  • DOMAIN,bmj.com,Proxy
  • DOMAIN,jamanetwork.com,Proxy
  • DOMAIN,nature.com,Proxy
  • DOMAIN,ncbi.nlm.nih.gov,Proxy
  • DOMAIN,nlm.nih.gov,Proxy
  • DOMAIN,worldbank.org,Proxy
  • DOMAIN,nber.org,Proxy
  • DOMAIN,econlinks.com,Proxy
  • DOMAIN,oecd.org,Proxy
  • DOMAIN,kaggle.com,Proxy
  • DOMAIN,codecademy.com,Proxy
  • DOMAIN,ieee.org,Proxy
  • DOMAIN,jstatsoft.org,Proxy
  • DOMAIN,aps.org,Proxy
  • DOMAIN,cs.cornell.edu,Proxy
  • DOMAIN,cornell.edu,Proxy
  • DOMAIN,steampowered.com,Proxy
  • DOMAIN,epicgames.com,Proxy
  • DOMAIN,linkedin.com,Proxy
  • DOMAIN,mega.io,Proxy
  • DOMAIN,googleoptimize.com,Proxy
  • DOMAIN,visualwebsiteoptimizer.com,Proxy
  • DOMAIN,google-analytics.com,Proxy
  • DOMAIN,airbrake.io,Proxy
  • DOMAIN,spot.im,Proxy
  • DOMAIN,tedcdn.com,Proxy
  • DOMAIN,ctfassets.net,Proxy
  • DOMAIN,stripe.network,Proxy
  • DOMAIN,stripe.com,Proxy
  • DOMAIN,googlesyndication.com,Proxy
  • DOMAIN,scorecardresearch.com,Proxy
  • DOMAIN,sail-track.com,Proxy
  • DOMAIN,doubleclick.net,Proxy
  • DOMAIN,litix.io,Proxy
  • DOMAIN,hls.ted.com,Proxy
  • DOMAIN,pu.tedcdn.com,Proxy
  • DOMAIN,xch.media.net,Proxy
  • DOMAIN,google.com,DIRECT
  • DOMAIN-SUFFIX,local,DIRECT
  • MATCH,DIRECT

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions