unblock netease music配置

yaml配置

port: 7890
socks-port: 7891
allow-lan: false
mode: Rule
log-level: silent
external-controller: 127.0.0.1:9090
secret: ""
dns:
  enable: true
  ipv6: false
  nameserver:
    - https://dns.rubyfish.cn/dns-query
    - https://223.5.5.5/dns-query
    - https://dns.pub/dns-query
    - https://119.29.29.29/dns-query
  fallback:
    - https://1.0.0.1/dns-query
    - https://public.dns.iij.jp/dns-query
    - https://dns.twnic.tw/dns-query
  fallback-filter:
    geoip: true
    ipcidr:
      - 240.0.0.0/4
      - 0.0.0.0/32
      - 127.0.0.1/32
    domain:
      - +.google.com
      - +.facebook.com
      - +.youtube.com
      - +.xn--ngstr-lra8j.com
      - +.google.cn
      - +.googleapis.cn
      - +.gvt1.com
proxies:
    - name: "UnblockMusic"
       type: http
       server: localhost
       port: xx
proxy-groups:
  - 
    name: "Netease Music"
    type: select
    proxies: 
      - UnblockMusic
      - DIRECT
rules:  
  # Unblock Netease Music
  - DOMAIN,api.iplay.163.com,Netease Music
  - DOMAIN,apm3.music.163.com,Netease Music
  - DOMAIN,apm.music.163.com,Netease Music
  - DOMAIN,interface3.music.163.com,Netease Music
  - DOMAIN,interface.music.163.com,Netease Music
  - DOMAIN,music.163.com,Netease Music
  - DOMAIN,interface.music.163.com.163jiasu.com,Netease Music
  - DOMAIN,interface3.music.163.com.163jiasu.com,Netease Music
  - DOMAIN,music.126.net,Netease Music
  - DOMAIN-SUFFIX,163yun.com,Netease Music
  - DOMAIN-SUFFIX,mam.netease.com,Netease Music
  - DOMAIN-SUFFIX,hz.netease.com,Netease Music

  # CIDR规则
  - IP-CIDR,39.105.63.80/32,Netease Music
  - IP-CIDR,45.254.48.1/32,Netease Music
  - IP-CIDR,47.100.127.239/32,Netease Music
  - IP-CIDR,59.111.160.195/32,Netease Music
  - IP-CIDR,59.111.160.197/32,Netease Music
  - IP-CIDR,59.111.181.35/32,Netease Music
  - IP-CIDR,59.111.181.38/32,Netease Music
  - IP-CIDR,59.111.181.60/32,Netease Music
  - IP-CIDR,101.71.154.241/32,Netease Music
  - IP-CIDR,103.126.92.132/32,Netease Music
  - IP-CIDR,103.126.92.133/32,Netease Music
  - IP-CIDR,112.13.119.17/32,Netease Music
  - IP-CIDR,112.13.122.1/32,Netease Music
  - IP-CIDR,115.236.118.33/32,Netease Music
  - IP-CIDR,115.236.121.1/32,Netease Music
  - IP-CIDR,118.24.63.156/32,Netease Music
  - IP-CIDR,193.112.159.225/32,Netease Music
  - IP-CIDR,223.252.199.66/32,Netease Music
  - IP-CIDR,223.252.199.67/32,Netease Music
  - IP-CIDR,59.111.21.14/31,Netease Music
  - IP-CIDR,59.111.179.214/32,Netease Music
  - IP-CIDR,59.111.238.29/32,Netease Music

  # Advertising
  - DOMAIN,admusicpic.music.126.net,REJECT
  - DOMAIN,iadmat.nosdn.127.net,REJECT
  - DOMAIN,iadmusicmat.music.126.net,REJECT
  - DOMAIN,iadmusicmatvideo.music.126.net,REJECT

  - DOMAIN-SUFFIX,local,DIRECT
  - IP-CIDR,127.0.0.0/8,DIRECT
  - IP-CIDR,172.16.0.0/12,DIRECT
  - IP-CIDR,192.168.0.0/16,DIRECT
  - IP-CIDR,10.0.0.0/8,DIRECT
  - IP-CIDR,17.0.0.0/8,DIRECT
  - IP-CIDR,100.64.0.0/10,DIRECT
  - GEOIP,CN,DIRECT
  - MATCH,DIRECT

如果使用yt-dlp音源需要额外安装

posted @ 2015-07-21 15:39  tonglin0325  阅读(437)  评论(0编辑  收藏  举报