Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure blacklist? #428

Open
sceneren opened this issue Feb 10, 2023 · 0 comments
Open

How to configure blacklist? #428

sceneren opened this issue Feb 10, 2023 · 0 comments

Comments

@sceneren
Copy link

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

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant