Loading... ``` proxies: - {name: NeteaseMusic, type: http, server: 47.xxx.xxx.xxx, port: xxx} proxy-groups: - name: NeteaseUnblockMusic type: select proxies: - NeteaseMusic rules: #自己的开始 - DOMAIN-SUFFIX,lil.cx,DIRECT #屏蔽IDEA激活 - DOMAIN-SUFFIX,account.jetbrains.com,REJECT #Domain规则 网易云音乐 - DOMAIN-SUFFIX,163yun.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,music.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,music.126.net,NeteaseUnblockMusic - DOMAIN-SUFFIX,api.iplay.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,apm.music.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,apm3.music.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,interface.music.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,interface3.music.163.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,mam.netease.com,NeteaseUnblockMusic - DOMAIN-SUFFIX,hz.netease.com,NeteaseUnblockMusic #CIDR规则 网易云音乐 - IP-CIDR,39.105.63.80/32,NeteaseUnblockMusic - IP-CIDR,45.254.48.1/32,NeteaseUnblockMusic - IP-CIDR,47.100.127.239/32,NeteaseUnblockMusic - IP-CIDR,59.111.21.14/31,NeteaseUnblockMusic - IP-CIDR,59.111.179.214/32,NeteaseUnblockMusic - IP-CIDR,59.111.181.38/32,NeteaseUnblockMusic - IP-CIDR,59.111.181.60/32,NeteaseUnblockMusic - IP-CIDR,59.111.160.195/32,NeteaseUnblockMusic - IP-CIDR,59.111.160.197/32,NeteaseUnblockMusic - IP-CIDR,59.111.181.35/32,NeteaseUnblockMusic - IP-CIDR,59.111.238.29/32,NeteaseUnblockMusic - IP-CIDR,101.71.154.241/32,NeteaseUnblockMusic - IP-CIDR,103.126.92.132/32,NeteaseUnblockMusic - IP-CIDR,103.126.92.133/32,NeteaseUnblockMusic - IP-CIDR,112.13.119.17/32,NeteaseUnblockMusic - IP-CIDR,112.13.122.1/32,NeteaseUnblockMusic - IP-CIDR,115.236.118.33/32,NeteaseUnblockMusic - IP-CIDR,115.236.121.1/32,NeteaseUnblockMusic - IP-CIDR,118.24.63.156/32,NeteaseUnblockMusic - IP-CIDR,193.112.159.225/32,NeteaseUnblockMusic - IP-CIDR,223.252.199.66/32,NeteaseUnblockMusic - IP-CIDR,223.252.199.67/32,NeteaseUnblockMusic #自己的结束 ``` ``` port: 7890 socks-port: 7891 allow-lan: false mode: Rule log-level: info external-controller: :9090 dns: enable: true listen: 0.0.0.0:53 enhanced-mode: redir-host nameserver: - 119.29.29.29 - 223.5.5.5 - 114.114.114.114 proxies: - {name: NeteaseMusic, type: http, server: 47.xxx.xxx.xxx, port: xxx} rules: #Domain规则 - DOMAIN-SUFFIX,163yun.com,NeteaseMusic - DOMAIN-SUFFIX,music.163.com,NeteaseMusic - DOMAIN-SUFFIX,music.126.net,NeteaseMusic - DOMAIN-SUFFIX,api.iplay.163.com,NeteaseMusic - DOMAIN-SUFFIX,apm.music.163.com,NeteaseMusic - DOMAIN-SUFFIX,apm3.music.163.com,NeteaseMusic - DOMAIN-SUFFIX,interface.music.163.com,NeteaseMusic - DOMAIN-SUFFIX,interface3.music.163.com,NeteaseMusic - DOMAIN-SUFFIX,mam.netease.com,NeteaseMusic - DOMAIN-SUFFIX,hz.netease.com,NeteaseMusic #CIDR规则 - IP-CIDR,39.105.63.80/32,NeteaseMusic - IP-CIDR,45.254.48.1/32,NeteaseMusic - IP-CIDR,47.100.127.239/32,NeteaseMusic - IP-CIDR,59.111.21.14/31,NeteaseMusic - IP-CIDR,59.111.179.214/32,NeteaseMusic - IP-CIDR,59.111.181.38/32,NeteaseMusic - IP-CIDR,59.111.181.60/32,NeteaseMusic - IP-CIDR,59.111.160.195/32,NeteaseMusic - IP-CIDR,59.111.160.197/32,NeteaseMusic - IP-CIDR,59.111.181.35/32,NeteaseMusic - IP-CIDR,59.111.238.29/32,NeteaseMusic - IP-CIDR,101.71.154.241/32,NeteaseMusic - IP-CIDR,103.126.92.132/32,NeteaseMusic - IP-CIDR,103.126.92.133/32,NeteaseMusic - IP-CIDR,112.13.119.17/32,NeteaseMusic - IP-CIDR,112.13.122.1/32,NeteaseMusic - IP-CIDR,115.236.118.33/32,NeteaseMusic - IP-CIDR,115.236.121.1/32,NeteaseMusic - IP-CIDR,118.24.63.156/32,NeteaseMusic - IP-CIDR,193.112.159.225/32,NeteaseMusic - IP-CIDR,223.252.199.66/32,NeteaseMusic - IP-CIDR,223.252.199.67/32,NeteaseMusic - MATCH,DIRECT ``` TUN ``` mixin: dns: enable: true listen: :53 enhanced-mod: redir-host nameserver: - 1.1.1.1 tun: enable: true ``` ### 路由器上的 ```yaml port: 7890 socks-port: 7891 allow-lan: false mode: Rule log-level: silent external-controller: :9090 proxies: - {name: socks, server: 192.168.0.10, port: 7891, type: socks5, tls: false} proxy-groups: - name: 节点选择 type: select proxies: - 直连 - socks - name: 代理 type: select proxies: - socks - name: 直连 type: select proxies: - DIRECT rules: - GEOIP,CN,直连 - MATCH,代理 ``` ## mixin ``` mixin: dns: enable: true listen: 127.0.0.1:53 ipv6: false enhanced-mode: fake-ip #redir-host nameserver: - https://dns.rubyfish.cn/dns-query - https://223.5.5.5/dns-query - https://dns.pub/dns-query fallback: - https://1.0.0.1/dns-query - https://1.1.1.1/dns-query # - tls://8.8.4.4 ``` ## TUN ``` mixin: # object dns: enable: true ipv6: false enhanced-mode: redir-host #fake-ip fake-ip-range: 198.18.0.1/16 fake-ip-filter: - '*.lan' - 'localhost.ptlogin2.qq.com' - 'dns.msftncsi.com' - 'www.msftncsi.com' - 'www.msftconnecttest.com' nameserver: - 114.114.114.114 - 223.5.5.5 tun: enable: true stack: gvisor dns-hijack: - 198.18.0.2:53 auto-route: true auto-detect-interface: true ``` 最后修改:2021 年 11 月 17 日 © 允许规范转载 打赏 赞赏作者 赞 如果觉得我的文章对你有用,请随意赞赏