├── ChinaIP.yaml ├── MAYINGVIP.ini ├── README.md ├── back.ini ├── base ├── GeneralClashConfig.yml ├── all_base.tpl ├── forcerule.yml ├── loon.conf ├── mellow.conf ├── quan.conf ├── quanx.conf ├── simple_base.yml ├── surfboard.conf ├── surge.conf └── test.tpl ├── clash.yaml ├── easy.ini ├── easy2.ini ├── maying.ini ├── mayinggfw.ini ├── media.ini ├── netease.ini ├── nfset.sh ├── nyancat.ini ├── rules ├── ConnersHua │ └── Surge │ │ ├── BacktoCN.list │ │ └── Ruleset │ │ ├── Advertising.list │ │ ├── Apple.list │ │ ├── AppleNews.list │ │ ├── China.list │ │ ├── Cloudflare.list │ │ ├── DomesticMedia.list │ │ ├── ForeignMedia.list │ │ ├── Global.list │ │ ├── GlobalMedia.list │ │ ├── Google.list │ │ ├── HKMTMedia.list │ │ ├── Hijacking.list │ │ ├── Mail.list │ │ ├── Media │ │ ├── AbemaTV.list │ │ ├── All4.list │ │ ├── Amazon.list │ │ ├── BBC_iPlayer.list │ │ ├── Bahamut.list │ │ ├── DAZN.list │ │ ├── Deezer.list │ │ ├── DisneyPlus.list │ │ ├── Fox.list │ │ ├── HBO.list │ │ ├── HBO_GO_HKG.list │ │ ├── HWTV.list │ │ ├── Hulu.list │ │ ├── Hulu_Japan.list │ │ ├── ITV.list │ │ ├── JOOX.list │ │ ├── KKBOX.list │ │ ├── KKTV.list │ │ ├── LiTV.list │ │ ├── LineTV.list │ │ ├── My5.list │ │ ├── Netflix.list │ │ ├── PBS.list │ │ ├── Pandora.list │ │ ├── Pornhub.list │ │ ├── SoundCloud.list │ │ ├── Spotify.list │ │ ├── TIDAL.list │ │ ├── TaiWanGood.list │ │ ├── TikTok.list │ │ ├── Twitch.list │ │ ├── ViuTV.list │ │ ├── YouTube.list │ │ ├── YouTubeMusic.list │ │ ├── encoreTVB.list │ │ ├── myTV_SUPER.list │ │ └── niconico.list │ │ ├── OneDrive.list │ │ ├── PayPal.list │ │ ├── Speedtest.list │ │ ├── Telegram.list │ │ └── Unbreak.list ├── DIRECT.list ├── HKMTMedia.list ├── LocalAreaNetwork.list ├── MSServices.list ├── NobyDa │ └── Surge │ │ ├── AdRule.list │ │ ├── AdRuleRegex.list │ │ ├── AdRuleTest.list │ │ └── Download.list ├── PROXY.list ├── Shadowrocket.conf ├── ipip.list └── yoyuNeteaseMusic.list ├── rustss.sh ├── sc.sh ├── sgth.ini ├── smartdns.1.2021.04.26-1657.all.deb ├── smartdns.conf ├── snippets ├── emoji.txt ├── groups.txt ├── groups_forcerule.txt ├── rename_node.txt ├── rulesets.txt └── rulesets_remote.txt ├── test.ini ├── tgbot.sh ├── uninstall-rustss.sh ├── white.ini └── yoyu.ini /MAYINGVIP.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 3 | surge_ruleset=DIRECT,https://raw.nameless13.com/api/public/dl/53G5ezvz/Unbreak.list 4 | surge_ruleset=代理,https://raw.nameless13.com/api/public/dl/LuqLMoDa/PROXY.list 5 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 6 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 7 | surge_ruleset=DIRECT,rules/MSServices.list 8 | ;surge_ruleset=油管,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 9 | ;surge_ruleset=奶飞,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 10 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 11 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 12 | ;surge_ruleset=电报,rules/ConnersHua/Surge/Ruleset/Telegram.list 13 | surge_ruleset=代理,https://raw.nameless13.com/api/public/dl/lFFBhv7P/GlobalMedia.list 14 | ;surge_ruleset=港台媒体,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 15 | ;surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 16 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Apple.list 17 | surge_ruleset=代理,https://raw.nameless13.com/api/public/dl/b0RW7-cS/Global.list 18 | surge_ruleset=DIRECT,https://raw.nameless13.com/api/public/dl/a7ial-M0/DIRECT.list 19 | surge_ruleset=DIRECT,https://raw.nameless13.com/api/public/dl/jTZpLS_E/China.list 20 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 21 | surge_ruleset=DIRECT,[]GEOIP,CN 22 | surge_ruleset=规则外路由选择,[]FINAL 23 | ;设置规则标志位 24 | 25 | ;设置分组标志位 26 | custom_proxy_group=代理`select`[]VIP3`[]VIP4`[]VIP5 27 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 28 | ;custom_proxy_group=电报`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 29 | ;custom_proxy_group=油管`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 30 | ;custom_proxy_group=奶飞`select`[]代理`(NF*)`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 31 | ;custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾`[]代理`[]其他`[]DIRECT 32 | ;custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本`[]代理`[]其他`[]DIRECT 33 | custom_proxy_group=VIP3`select`(V3) 34 | custom_proxy_group=VIP4`select`(V4) 35 | custom_proxy_group=VIP5`select`(V5) 36 | ;custom_proxy_group=🇯🇵 日本`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 37 | ;custom_proxy_group=🇺🇲 美国`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 38 | ;custom_proxy_group=其他`select`GCX`^((?!新|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 39 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX) 40 | ;custom_proxy_group=手动切换`select`.* 41 | ;custom_proxy_group=国外媒体`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 42 | ;custom_proxy_group=港台媒体`select`[]DIRECT`[]其他`[]🇭🇰 香港`[]🇨🇳 台湾 43 | ;custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 44 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 45 | ;custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]代理`[]🇸🇬 狮城`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 46 | custom_proxy_group=规则外路由选择`select`[]代理`[]DIRECT`[]VIP3`[]VIP4`[]VIP5 47 | ;custom_proxy_group=故障转移`fallback`(322|323|422)`http://www.gstatic.com/generate_204`8640 48 | ;fallback输入你常用的2-3个节点编号 49 | ;设置分组标志位 50 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | wget --no-check-certificate -O tgbot.sh https://raw.githubusercontent.com/nameless3721/nash/master/tgbot.sh && chmod +x tgbot.sh && ./tgbot.sh 2 | 3 | vi $Path/Telegram-chatbot/config.json 4 | 5 | wget --no-check-certificate -O sc.sh https://raw.githubusercontent.com/nameless3721/nash/master/sc.sh && chmod +x sc.sh && ./sc.sh 6 | 7 | ``` 8 | wget --no-check-certificate -O rustss.sh https://raw.githubusercontent.com/nameless3721/nash/master/rustss.sh 9 | chmod +x rustss.sh 10 | ./rustss.sh 11 | systemctl restart rustss 12 | systemctl status rustss 13 | 14 | wget --no-check-certificate -O uninstall-rustss.sh https://raw.githubusercontent.com/nameless3721/nash/master/uninstall-rustss.sh 15 | chmod +x uninstall-rustss.sh 16 | ./uninstall-rustss.sh 17 | ``` 18 | ``` 19 | wget https://github.com/pymumu/smartdns/releases/download/Release38.1/smartdns.1.2022.10.22-1309.x86_64-debian-all.deb 20 | dpkg -i smartdns*.deb 21 | wget https://raw.githubusercontent.com/nameless3721/nash/master/smartdns.conf 22 | mv -f smartdns.conf /etc/smartdns/ 23 | mkdir -p /etc/systemd/resolved.conf.d/ 24 | cat >/etc/systemd/resolved.conf.d/99-dns.conf << EOF 25 | [Resolve] 26 | DNS=127.0.0.1 1.1.1.1 27 | EOF 28 | ln -s -f /run/systemd/resolve/resolv.conf /etc/resolv.conf 29 | 30 | mkdir -p /etc/systemd/resolved.conf.d/ 31 | cat >/etc/systemd/resolved.conf.d/98-disable-127-53.conf << EOF 32 | [Resolve] 33 | DNSStubListener=no 34 | EOF 35 | systemctl daemon-reload && systemctl restart systemd-resolved.service && systemctl status -l systemd-resolved.service --no-pager 36 | cat /etc/resolv.conf 37 | 38 | #替换解锁ip 39 | sed -i "s/#server 88.88.88.88 -group nf/server 解锁ip -group nf/g" /etc/smartdns/smartdns.conf 40 | rm -rf smartdns*.deb 41 | systemctl restart smartdns 42 | systemctl enable smartdns --now 43 | dpkg -r smartdns 44 | apt-mark hold smartdns 45 | #apt-mark unhold smartdns 46 | nano /etc/ssh/sshd_config 47 | systemctl restart sshd 48 | ``` 49 | ``` 50 | #解锁nftv 51 | wget -qO nfset.sh https://raw.githubusercontent.com/nameless3721/nash/master/nfset.sh && bash nfset.sh 52 | ``` 53 | -------------------------------------------------------------------------------- /back.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=回国,https://raw.githubusercontent.com/nameless3721/nash/master/rules/yoyuNeteaseMusic.list 3 | surge_ruleset=回国,rules/ConnersHua/Surge/Ruleset/China.list 4 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 5 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 6 | surge_ruleset=DIRECT,https://raw.githubusercontent.com/nameless3721/nash/master/rules/DIRECT.list 7 | surge_ruleset=代理,https://raw.githubusercontent.com/nameless3721/nash/master/rules/PROXY.list 8 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Hijacking.list 9 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 10 | ;surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 11 | surge_ruleset=油管,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 12 | surge_ruleset=奶飞,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 13 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 14 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 15 | surge_ruleset=电报,rules/ConnersHua/Surge/Ruleset/Telegram.list 16 | surge_ruleset=国外媒体,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 17 | surge_ruleset=港台媒体,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 18 | ;surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 19 | surge_ruleset=回国,rules/ConnersHua/Surge/Ruleset/Apple.list 20 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/Global.list 21 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 22 | surge_ruleset=回国,[]GEOIP,CN 23 | surge_ruleset=国外地址,[]FINAL 24 | ;设置规则标志位 25 | 26 | ;设置分组标志位 27 | custom_proxy_group=回国`select`GCX`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 28 | custom_proxy_group=代理`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 29 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 30 | custom_proxy_group=电报`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 31 | custom_proxy_group=油管`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 32 | custom_proxy_group=奶飞`select`[]代理`(NF*)`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 33 | ;custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾`[]代理`[]其他`[]手动切换`[]回国 34 | ;custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本`[]代理`[]其他`[]手动切换`[]回国 35 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX)`[]手动切换`[]回国 36 | custom_proxy_group=手动切换`select`.*`[]DIRECT 37 | custom_proxy_group=国外媒体`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 38 | custom_proxy_group=港台媒体`select`[]回国`[]其他`[]🇭🇰 香港`[]🇨🇳 台湾 39 | ;custom_proxy_group=🍎 苹果服务`select`[]代理`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 40 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]代理`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 41 | ;custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]代理`[]🇸🇬 狮城`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 42 | custom_proxy_group=国外地址`select`[]代理`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 43 | custom_proxy_group=🇭🇰 香港`select`(港|HK|HONG|Hong|HGC) 44 | custom_proxy_group=🇨🇳 台湾`select`(台|新北|彰化|TW|Tai) 45 | custom_proxy_group=🇸🇬 狮城`select`(新|狮城|SG|Singa) 46 | custom_proxy_group=🇯🇵 日本`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 47 | custom_proxy_group=🇺🇲 美国`select`(多伦多|哥伦布|纽约|弗里蒙特|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 48 | custom_proxy_group=其他`select`GCX`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 49 | ;设置分组标志位 50 | -------------------------------------------------------------------------------- /base/GeneralClashConfig.yml: -------------------------------------------------------------------------------- 1 | #---------------------------------------------------# 2 | ## 配置文件需要放置在 $HOME/.config/clash/config.yml 3 | ## 或者运行目录下的config.yml 4 | #---------------------------------------------------# 5 | 6 | # HTTP 代理端口 7 | port: 7890 8 | 9 | # SOCKS5 代理端口 10 | socks-port: 7891 11 | 12 | # Linux 和 macOS 的 redir 代理端口 (如需使用此功能,请取消注释) 13 | # redir-port: 7892 14 | 15 | # 允许局域网的连接(可用来共享代理) 16 | allow-lan: true 17 | 18 | # 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连) 19 | mode: Rule 20 | 21 | # 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。 22 | # 5 个级别:silent / info / warning / error / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。 23 | log-level: info 24 | 25 | # Clash 的 RESTful API 26 | external-controller: '127.0.0.1:9090' 27 | 28 | # 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `RESTful API/ui` 29 | # 参数应填写配置目录的相对路径或绝对路径。 30 | # http://127.0.0.1:9090/ui/#/ 31 | # external-ui: folder 32 | #external-ui: dashboard_yacd #yacd面板:https://github.com/haishanh/yacd 33 | external-ui: dashboard_Razord #Razord面板:http://clash.razord.top/#/proxies 34 | 35 | # RESTful API 的口令 (可选) 36 | # secret: "" 37 | 38 | # 本地 SOCKS5 / HTTP(S) 服务认证 39 | # authentication: 40 | # - "user1:pass1" 41 | # - "user2:pass2" 42 | 43 | # 实验性功能 44 | experimental: 45 | ignore-resolve-fail: true # 忽略 DNS 解析失败,默认值为 true 46 | 47 | # 代理组 48 | # 下面这3个不要引到订阅里去 要不会出错 49 | # Will be ignored after profile selection 50 | Proxy: 51 | - name: Shadowsocks 52 | type: socks5 53 | server: 127.0.0.1 54 | port: 1080 55 | Proxy Group: 56 | - name: Proxy 57 | type: select 58 | proxies: 59 | - Shadowsocks 60 | Rule: 61 | - 'MATCH,DIRECT' 62 | 63 | #dns: 64 | # enable: true 65 | # ipv6: false 66 | # listen: 0.0.0.0:53 67 | # enhanced-mode: redir-host # 模式:redir-host或fake-ip 68 | # # fake-ip-range: 198.18.0.1/16 # 如果你不知道这个参数的作用,请勿修改 69 | # # 实验性功能 hosts, 支持通配符 (例如 *.clash.dev 甚至 *.foo.*.example.com) 70 | # # 静态的域名 比 通配域名 具有更高的优先级 (foo.example.com 优先于 *.example.com) 71 | # # 注意: hosts 在 fake-ip 模式下不生效 72 | # hosts: 73 | # '*.clash.dev': 127.0.0.1 74 | # 'alpha.clash.dev': '::1' 75 | # nameserver: 76 | # - 223.5.5.5 # 阿里DNS 77 | # - 180.76.76.76 # 百度DNS 78 | # - 119.29.29.29 # 腾讯DNS 79 | # - 117.50.10.10 # ONE DNS纯净版 80 | # - 114.114.114.114 # 114DNS 81 | # fallback: 82 | # - 8.8.8.8 # 谷歌DNS 83 | # - 1.1.1.1 # Cloudflare DNS 84 | # - tls://dns.rubyfish.cn:853 85 | # - tls://1.0.0.1:853 86 | # - tls://dns.google:853 87 | # #- https://dns.rubyfish.cn/dns-query 88 | # #- https://cloudflare-dns.com/dns-query 89 | # #- https://dns.google/dns-query 90 | 91 | # fallback-filter: 92 | # geoip: true # 默认 93 | # ipcidr: # 在这个网段内的 IP 地址会被考虑为被污染的 IP 94 | # - 240.0.0.0/4 95 | 96 | # 1. clash DNS 请求逻辑: 97 | # (1) 当访问一个域名时, nameserver 与 fallback 列表内的所有服务器并发请求,得到域名对应的 IP 地址。 98 | # (2) clash 将选取 nameserver 列表内,解析最快的结果。 99 | # (3) 若解析结果中,IP 地址属于 国外,那么 clash 将选择 fallback 列表内,解析最快的结果。 100 | # 101 | # 因此,我在 nameserver 和 fallback 内都放置了无污染、解析速度较快的国内 DNS 服务器,以达到最快的解析速度。 102 | # 但是 fallback 列表内服务器会用在解析境外网站,为了结果绝对无污染,我仅保留了支持 DoT/DoH 的两个服务器。 103 | # 104 | # 2. clash DNS 配置注意事项: 105 | # (1) 如果您为了确保 DNS 解析结果无污染,请仅保留列表内以 tls:// 或 https:// 开头的 DNS 服务器,但是通常对于国内域名没有必要。 106 | # (2) 如果您不在乎可能解析到污染的结果,更加追求速度。请将 nameserver 列表的服务器插入至 fallback 列表内,并移除重复项。 107 | # 108 | # 3. 关于 DNS over HTTPS (DoH) 和 DNS over TLS (DoT) 的选择: 109 | # 对于两项技术双方各执一词,而且会无休止的争论,各有利弊。各位请根据具体需求自行选择,但是配置文件内默认启用 DoT,因为目前国内没有封锁或管制。 110 | # DoH: 以 https:// 开头的 DNS 服务器。拥有更好的伪装性,且几乎不可能被运营商或网络管理封锁,但查询效率和安全性可能略低。 111 | # DoT: 以 tls:// 开头的 DNS 服务器。拥有更高的安全性和查询效率,但端口有可能被管制或封锁。 112 | # 若要了解更多关于 DoH/DoT 相关技术,请自行查阅规范文档。 113 | 114 | 115 | # Clash for Windows 116 | # Proxies module latency test settings 117 | cfw-latency-timeout: 3000 118 | cfw-latency-url: http://www.gstatic.com/generate_204 119 | 120 | # 打断连接 121 | # Identify strategy of breaking connections after switching to a new proxy/profile/mode 122 | # Options for proxy: none, chain(proxy group in connection chains), all 123 | # Options for profile: true, false 124 | # Options for mode: true, false 125 | cfw-conn-break-strategy: 126 | proxy: none # none/chain/all 127 | profile: true # true/false 128 | mode: false # true/false 129 | 130 | # 定义状态栏图标 131 | #cfw-tray-icon: 132 | #default: .\resources\static\imgs\logo_64.png # 默认图标 133 | #system-proxy-on: .\resources\static\imgs\custom.ico # 开启系统代理后图标 134 | 135 | # 子进程 136 | # Run child process after CFW started 137 | # Refer: https://docs.cfw.lbyczf.com/contents/childprocess.html 138 | #cfw-child-process: 139 | # # 启动订阅转换程序,端口号7893 140 | # - command: "subconverter.exe" # run.cmd 程序名称subconverter.exe -cfw >>logs/run.log 2>&1 141 | # args: 142 | # - "-cfw" # 运行参数1 143 | # #- "abcdefghijk" # 运行参数2 144 | # options: 145 | # cwd: .\subconverter\ # 子进程工作目录 146 | # #detached: true # 子进程独立于其父进程运行 147 | # #shell: true # 则在 shell 中运行 command 148 | # windowsHide: true # 隐藏子进程的控制台窗口 149 | 150 | # 系统代理跳过列表 cfw-bypass 151 | # System proxy will ignore these domains(or ipnet) 152 | # 系统代理跳过列表-备份的,不起作用, 153 | # 使用时可以将cfw-bypass-bak与cfw-bypass内容互换 154 | cfw-bypass-bak: 155 | # 原有字段不用删除 156 | - qq.com 157 | - 'music.163.com' # 网易云域名1 158 | - '*.music.126.net' # 网易云域名2 159 | - localhost 160 | - 127.* 161 | - 10.* 162 | - 172.16.* 163 | - 172.17.* 164 | - 172.18.* 165 | - 172.19.* 166 | - 172.20.* 167 | - 172.21.* 168 | - 172.22.* 169 | - 172.23.* 170 | - 172.24.* 171 | - 172.25.* 172 | - 172.26.* 173 | - 172.27.* 174 | - 172.28.* 175 | - 172.29.* 176 | - 172.30.* 177 | - 172.31.* 178 | - 192.168.* 179 | - 180 | # 系统代理跳过列表 起作用的 181 | cfw-bypass: 182 | # 直连列表 183 | # MyList 184 | - "*.423down.com" 185 | - "*.bitwarden.com" 186 | - "*.chaipip.com" 187 | - "*.hrtsea.com" 188 | - "*.laomo.me" 189 | - "*.mpyit.com" 190 | # CN域名直连 191 | - "*.cn" 192 | - "*.中国" 193 | - "*.公司" 194 | - "*.网络" 195 | # 中国国内常见域名关键词直连 196 | - "*-cn*" 197 | - "*360buy*" 198 | - "*alicdn*" 199 | - "*alimama*" 200 | - "*alipay*" 201 | - "*appzapp*" 202 | - "*baidupcs*" 203 | - "*bilibili*" 204 | - "*ccgslb*" 205 | - "*chinacache*" 206 | - "*duobao*" 207 | - "*duolingo*" 208 | - "*jdpay*" 209 | - "*moke*" 210 | - "*qhimg*" 211 | - "*vpimg*" 212 | - "*xiami*" 213 | - "*xiaomi*" 214 | # 360 215 | - "*.360.com" 216 | - "*.360kuai.com" 217 | - "*.360safe.com" 218 | - "*.dhrest.com" 219 | - "*.qhres.com" 220 | - "*.qhstatic.com" 221 | - "*.qhupdate.com" 222 | - "*.so.com" 223 | # 4399 224 | - "*.4399.com" 225 | - "*.4399pk.com" 226 | - "*.5054399.com" 227 | - "*.img4399.com" 228 | # 58 229 | - "*.58.com" 230 | # Alibaba 231 | - "*.1688.com" 232 | - "*.aliapp.org" 233 | - "*.alibaba.com" 234 | - "*.alibabacloud.com" 235 | - "*.alicdn.com" 236 | - "*.aliexpress.com" 237 | - "*.aliimg.com" 238 | - "*.alikunlun.com" 239 | - "*.alipay.com" 240 | - "*.alipayobjects.com" 241 | - "*.alisoft.com" 242 | - "*.aliyun.com" 243 | - "*.aliyuncdn.com" 244 | - "*.aliyuncs.com" 245 | - "*.amap.com" 246 | - "*.autonavi.com" 247 | - "*.dingtalk.com" 248 | - "*.ele.me" 249 | - "*.hichina.com" 250 | - "*.mmstat.com" 251 | - "*.mxhichina.com" 252 | - "*.soku.com" 253 | - "*.taobao.com" 254 | - "*.taobaocdn.com" 255 | - "*.tbcache.com" 256 | - "*.tbcdn.com" 257 | - "*.tmall.com" 258 | - "*.tmall.hk" 259 | - "*.ucweb.com" 260 | - "*.xiami.com" 261 | - "*.xiami.net" 262 | - "*.ykimg.com" 263 | - "*.youku.com" 264 | # Baidu 265 | - "*.baidu.com" 266 | - "*.baidubcr.com" 267 | - "*.baidupcs.com" 268 | - "*.baidustatic.com" 269 | - "*.bcebos.com" 270 | - "*.bdimg.com" 271 | - "*.bdstatic.com" 272 | - "*.hao123.com" 273 | - "*.hao123img.com" 274 | - "*.jomodns.com" 275 | - "*.yunjiasu-cdn.net" 276 | # Bilibili 277 | - "*.acg.tv" 278 | - "*.acgvideo.com" 279 | - "*.b23.tv" 280 | - "*.biliapi.com" 281 | - "*.biliapi.net" 282 | - "*.bilibili.com" 283 | - "*.bilibili.tv" 284 | - "*.biligame.com" 285 | - "*.biligame.net" 286 | - "*.bilivideo.com" 287 | - "*.hdslb.com" 288 | - "*.im9.com" 289 | # Blizzard 290 | - "*.battle.net" 291 | - "*.battlenet.com" 292 | - "*.blizzard.com" 293 | # ByteDance 294 | - "*.bytecdn.cn" 295 | - "*.bytedance.com" 296 | - "*.feiliao.com" 297 | - "*.gifshow.com" 298 | - "*.huoshan.com" 299 | - "*.iesdouyin.com" 300 | - "*.ixigua.com" 301 | - "*.kaishou.com" 302 | - "*.kspkg.com" 303 | - "*.pstatp.com" 304 | - "*.snssdk.com" 305 | - "*.toutiao.com" 306 | - "*.yximgs.com" 307 | # CCTV 308 | - "*.cctv.com" 309 | - "*.cctvpic.com" 310 | - "*.livechina.com" 311 | # ChinaNet 312 | - "*.21cn.com" 313 | # DiDi 314 | - "*.didialift.com" 315 | - "*.didiglobal.com" 316 | - "*.udache.com" 317 | # Epic 318 | - "*.epicgames.com" 319 | - "*.helpshift.com" 320 | - "*.paragon.com" 321 | - "*.unrealengine.com" 322 | # HuaWei 323 | - "*.dbankcdn.com" 324 | - "*.hc-cdn.com" 325 | - "*.hicloud.com" 326 | - "*.huawei.com" 327 | - "*.huaweicloud.com" 328 | - "*.huaweishop.net" 329 | - "*.hwccpc.com" 330 | - "*.vmall.com" 331 | - "*.vmallres.com" 332 | # Iflytek 科大讯飞 333 | - "*.iflyink.com" 334 | - "*.iflyrec.com" 335 | - "*.iflytek.com" 336 | # Iqiyi 337 | - "*.71.am" 338 | - "*.71edge.com" 339 | - "*.iqiyi.com" 340 | - "*.iqiyipic.com" 341 | - "*.ppsimg.com" 342 | - "*.qiyi.com" 343 | - "*.qiyipic.com" 344 | - "*.qy.net" 345 | # JD 346 | - "*.360buy.com" 347 | - "*.360buyimg.com" 348 | - "*.jcloudcs.com" 349 | - "*.jd.com" 350 | - "*.jd.hk" 351 | - "*.jdcloud.com" 352 | - "*.jdpay.com" 353 | - "*.paipai.com" 354 | # Kingsoft 355 | - "*.iciba.com" 356 | - "*.ksosoft.com" 357 | - "*.ksyun.com" 358 | # Meitu 359 | - "*.meitu.com" 360 | - "*.meitudata.com" 361 | - "*.meitustat.com" 362 | - "*.meipai.com" 363 | # LeTV 乐视 364 | - "*.le.com" 365 | - "*.lecloud.com" 366 | - "*.letv.com" 367 | - "*.letvcloud.com" 368 | - "*.letvimg.com" 369 | - "*.letvlive.com" 370 | - "*.letvstore.com" 371 | # MGTV 芒果TV 372 | - "*.hitv.com" 373 | - "*.hunantv.com" 374 | - "*.mgtv.com" 375 | # MI 376 | - "*.duokan.com" 377 | - "*.mi-img.com" 378 | - "*.mi.com" 379 | - "*.miui.com" 380 | - "*.miwifi.com" 381 | - "*.xiaomi.com" 382 | - "*.xiaomi.net" 383 | - "*.xiaomicp.com" 384 | # NetEase 385 | - "*.126.com" 386 | - "*.126.net" 387 | - "*.127.net" 388 | - "*.163.com" 389 | - "*.163yun.com" 390 | - "*.lofter.com" 391 | - "*.netease.com" 392 | - "*.ydstatic.com" 393 | - "*.youdao.com" 394 | # PPTV、PPLive 395 | - "*.pplive.cn" 396 | - "*.pplive.com" 397 | - "*.pptv.com" 398 | # Sina 399 | - "*.leju.com" 400 | - "*.miaopai.com" 401 | - "*.sina.cn" 402 | - "*.sina.com" 403 | - "*.sina.com.cn" 404 | - "*.sinaapp.com" 405 | - "*.sinaimg.cn" 406 | - "*.sinaimg.com" 407 | - "*.sinajs.cn" 408 | - "*.t.cn" 409 | - "*.weibo.com" 410 | - "*.weibocdn.com" 411 | - "*.xiaoka.tv" 412 | # Sohu Sogo 413 | - "*.go2map.com" 414 | - "*.itc.cn" 415 | - "*.sogo.com" 416 | - "*.sogou.com" 417 | - "*.sogoucdn.com" 418 | - "*.sohu-inc.com" 419 | - "*.sohu.com" 420 | - "*.sohucs.com" 421 | - "*.sohuno.com" 422 | - "*.sohurdc.com" 423 | - "*.v-56.com" 424 | # Sony 425 | - "*.playstation.com" 426 | - "*.playstation.net" 427 | - "*.playstationnetwork.com" 428 | - "*.sony.com" 429 | - "*.sonyentertainmentnetwork.com" 430 | # Spark 431 | - "*.amplitude.com" 432 | - "*.firebaseio.com" 433 | - "*.hockeyapp.net" 434 | - "*.smartmailcloud.com" 435 | # Steam 436 | - "*.steampowered.com" 437 | - "*.steam-chat.com" 438 | - "*.steamgames.com" 439 | - "*.steamusercontent.com" 440 | - "*.steamcontent.com" 441 | - "*.steamstatic.com" 442 | - "*.steamcdn-a.akamaihd.net" 443 | - "*.steamstat.us" 444 | # Tencent 445 | - "*.foxmail.com " 446 | - "*.gtimg.cn" 447 | - "*.gtimg.com" 448 | - "*.idqqimg.com" 449 | - "*.igamecj.com" 450 | - "*.myapp.com" 451 | - "*.myqcloud.com" 452 | - "*.qlogo.cn" 453 | - "*.qpic.cn" 454 | - "*.qq.com" 455 | - "*.qqmail.com" 456 | - "*.qqurl.com" 457 | - "*.qtimg.cn" 458 | - "*.smtcdns.com" 459 | - "*.soso.com" 460 | - "*.tencent-cloud.net" 461 | - "*.tencent.com" 462 | - "*.tencentmind.com" 463 | - "*.tenpay.com " 464 | - "*.weixin.com" 465 | - "*.weiyun.com" 466 | # Vip 唯品会 467 | - "*.appsimg.com" 468 | - "*.appvipshop.com" 469 | - "*.vip.com" 470 | - "*.vipstatic.com" 471 | # YYeTs 人人影视 472 | - "*.got001.com" 473 | - "*.jstucdn.com" 474 | - "*.zimuzu.io" 475 | - "*.zimuzu.tv" 476 | - "*.zmz001.com" 477 | - "*.zmz002.com" 478 | - "*.zmz003.com" 479 | - "*.zmz004.com" 480 | - "*.zmz2019.com" 481 | - "*.zmzapi.com" 482 | - "*.zmzapi.net" 483 | - "*.zmzfile.com" 484 | # Private Tracker 485 | - "*.awesome-hd.me" 486 | - "*.bittorrent.com" 487 | - "*.broadcasthe.net" 488 | - "*.chdbits.co" 489 | - "*.classix-unlimited.co.uk" 490 | - "*.empornium.me" 491 | - "*.gazellegames.net" 492 | - "*.hdchina.org" 493 | - "*.hdsky.me" 494 | - "*.icetorrent.org" 495 | - "*.jpopsuki.eu" 496 | - "*.keepfrds.com" 497 | - "*.m-team.cc" 498 | - "*.madsrevolution.net" 499 | - "*.nanyangpt.com" 500 | - "*.ncore.cc" 501 | - "*.open.cd" 502 | - "*.ourbits.club" 503 | - "*.passthepopcorn.me" 504 | - "*.privatehd.to" 505 | - "*.redacted.ch" 506 | - "*.springsunday.net" 507 | - "*.tjupt.org" 508 | - "*.totheglory.im" 509 | - "*.msg.vg" 510 | - "*.hdtime.org" 511 | - "*.leaguehd.com" 512 | - "*.pthome.net" 513 | - "*.beitai.pt" 514 | # TeamViewer 515 | - "*.teamviewer.com" 516 | # Public Direct CDN 公共直连cdn 517 | - "*.ajax.aspnetcdn.com" 518 | - "*.bootcss.com" 519 | - "*.cdnjs.cloudflare.com" 520 | - "*.code.jquery.com" 521 | - "*.jiasule.com" 522 | - "*.staticfile.org" 523 | - "*.upaiyun.com" 524 | # Acceleratedirectsites 525 | - "*.12306.com" 526 | - "*.17173.com" 527 | - "*.17k.com" 528 | - "*.360doc.com" 529 | - "*.36kr.com" 530 | - "*.3dmgame.com" 531 | - "*.51job.com" 532 | - "*.51jobcdn.com" 533 | - "*.56.com" 534 | - "*.abchina.com" 535 | - "*.abercrombie.com" 536 | - "*.acfun.tv" 537 | - "*.air-matters.com" 538 | - "*.air-matters.io" 539 | - "*.aixifan.com" 540 | - "*.algocasts.io" 541 | - "*.apache.org" 542 | - "*.baomitu.com" 543 | - "*.biqudu.com" 544 | - "*.biquge.com" 545 | - "*.bitauto.com" 546 | - "*.c-ctrip.com" 547 | - "*.camera360.com" 548 | - "*.cdnmama.com" 549 | - "*.che168.com" 550 | - "*.chinacache.net" 551 | - "*.chinaso.com" 552 | - "*.chinaz.com" 553 | - "*.chinaz.net" 554 | - "*.chuimg.com" 555 | - "*.cibntv.net" 556 | - "*.clouddn.com" 557 | - "*.cloudxns.net" 558 | - "*.cmfu.com" 559 | - "*.cn163.net" 560 | - "*.cnbeta.com" 561 | - "*.cnbetacdn.com" 562 | - "*.coolapk.com" 563 | - "*.coolapkmarket.com" 564 | - "*.csdn.net" 565 | - "*.ctrip.com" 566 | - "*.dangdang.com" 567 | - "*.dfcfw.com" 568 | - "*.dianping.com" 569 | - "*.dilidili.wang" 570 | - "*.douban.com" 571 | - "*.doubanio.com" 572 | - "*.douyu.com" 573 | - "*.douyu.tv" 574 | - "*.douyutv.com" 575 | - "*.dpfile.com" 576 | - "*.duowan.com" 577 | - "*.dxycdn.com" 578 | - "*.dytt8.net" 579 | - "*.easou.com" 580 | - "*.eastday.com" 581 | - "*.eastmoney.com" 582 | - "*.ecitic.com" 583 | - "*.ewqcxz.com" 584 | - "*.fang.com" 585 | - "*.fantasy.tv" 586 | - "*.feng.com" 587 | - "*.fengkongcloud.com" 588 | - "*.fir.im" 589 | - "*.firefox.com" 590 | - "*.frdic.com" 591 | - "*.fresh-ideas.cc" 592 | - "*.ganji.com" 593 | - "*.ganjistatic1.com" 594 | - "*.geetest.com" 595 | - "*.geilicdn.com" 596 | - "*.godic.net" 597 | - "*.gravatar.com" 598 | - "*.guazi.com" 599 | - "*.gwdang.com" 600 | - "*.gzlzfm.com" 601 | - "*.haibian.com" 602 | - "*.haosou.com" 603 | - "*.hollisterco.com" 604 | - "*.hongxiu.com" 605 | - "*.huajiao.com" 606 | - "*.hupu.com" 607 | - "*.huxiucdn.com" 608 | - "*.huya.com" 609 | - "*.ifeng.com" 610 | - "*.ifengimg.com" 611 | - "*.images-amazon.com" 612 | - "*.infzm.com" 613 | - "*.ipip.net" 614 | - "*.it168.com" 615 | - "*.ithome.com" 616 | - "*.ixdzs.com" 617 | - "*.jianguoyun.com" 618 | - "*.jianshu.com" 619 | - "*.jianshu.io" 620 | - "*.jianshuapi.com" 621 | - "*.jiathis.com" 622 | - "*.jmstatic.com" 623 | - "*.jumei.com" 624 | - "*.kanimg.com" 625 | - "*.kankan.com" 626 | - "*.kaola.com" 627 | - "*.knewone.com" 628 | - "*.koowo.com" 629 | - "*.ksyungslb.com" 630 | - "*.kuaidi100.com" 631 | - "*.kugou.com" 632 | - "*.lancdns.com" 633 | - "*.landiannews.com" 634 | - "*.lemicp.com" 635 | - "*.letitfly.me" 636 | - "*.linkedin.com" 637 | - "*.lizhi.fm" 638 | - "*.lizhi.io" 639 | - "*.lizhifm.com" 640 | - "*.loli.net" 641 | - "*.luoo.net" 642 | - "*.lvmama.com" 643 | - "*.lxdns.com" 644 | - "*.maoyan.com" 645 | - "*.meilishuo.com" 646 | - "*.meituan.com" 647 | - "*.meituan.net" 648 | - "*.meizu.com" 649 | - "*.miguvideo.com" 650 | - "*.mobike.com" 651 | - "*.mogu.com" 652 | - "*.mogucdn.com" 653 | - "*.mogujie.com" 654 | - "*.moji.com" 655 | - "*.moke.com" 656 | - "*.mubu.com" 657 | - "*.myunlu.com" 658 | - "*.nruan.com" 659 | - "*.nuomi.com" 660 | - "*.onlinedown.net" 661 | - "*.oracle.com" 662 | - "*.oschina.net" 663 | - "*.ourdvs.com" 664 | - "*.overcast.fm" 665 | - "*.paypal.com" 666 | - "*.pptv.com" 667 | - "*.qbox.me" 668 | - "*.qcloud.com" 669 | - "*.qcloudcdn.com" 670 | - "*.qdaily.com" 671 | - "*.qdmm.com" 672 | - "*.qhimg.com" 673 | - "*.qianqian.com" 674 | - "*.qidian.com" 675 | - "*.qihucdn.com" 676 | - "*.qin.io" 677 | - "*.qiniu.com" 678 | - "*.qiniucdn.com" 679 | - "*.qiniudn.com" 680 | - "*.qiushibaike.com" 681 | - "*.quanmin.tv" 682 | - "*.qunar.com" 683 | - "*.qunarzz.com" 684 | - "*.rarbg.to" 685 | - "*.repaik.com" 686 | - "*.rrmj.tv" 687 | - "*.ruguoapp.com" 688 | - "*.sandai.net" 689 | - "*.sankuai.com" 690 | - "*.sf-express.com" 691 | - "*.shumilou.net" 692 | - "*.simplecd.me" 693 | - "*.sm.ms" 694 | - "*.smtcdns.net" 695 | - "*.smzdm.com" 696 | - "*.snwx.com" 697 | - "*.soufunimg.com" 698 | - "*.ssl-images-amazon.com" 699 | - "*.sspai.com" 700 | - "*.startssl.com" 701 | - "*.suning.com" 702 | - "*.taihe.com" 703 | - "*.tenpay.com" 704 | - "*.th-sjy.com" 705 | - "*.tianqi.com" 706 | - "*.tianqistatic.com" 707 | - "*.tianyancha.com" 708 | - "*.tianyaui.com" 709 | - "*.tietuku.com" 710 | - "*.tiexue.net" 711 | - "*.tmiaoo.com" 712 | - "*.trip.com" 713 | - "*.ttmeiju.com" 714 | - "*.tudou.com" 715 | - "*.tuniu.com" 716 | - "*.tuniucdn.com" 717 | - "*.upyun.com" 718 | - "*.uxengine.net" 719 | - "*.v2ex.com" 720 | - "*.vmware.com" 721 | - "*.wandoujia.com" 722 | - "*.weather.com" 723 | - "*.weico.cc" 724 | - "*.weidian.com" 725 | - "*.weiphone.com" 726 | - "*.weiphone.net" 727 | - "*.womai.com" 728 | - "*.xdrig.com" 729 | - "*.xiachufang.com" 730 | - "*.xiaojukeji.com" 731 | - "*.ximalaya.com" 732 | - "*.xinhuanet.com" 733 | - "*.xitek.com" 734 | - "*.xiumi.us" 735 | - "*.xmcdn.com" 736 | - "*.xslb.net" 737 | - "*.xueqiu.com" 738 | - "*.xunlei.com" 739 | - "*.yach.me" 740 | - "*.yangkeduo.com" 741 | - "*.yeepay.com" 742 | - "*.yhd.com" 743 | - "*.yihaodianimg.com" 744 | - "*.yinxiang.com" 745 | - "*.yinyuetai.com" 746 | - "*.yixia.com" 747 | - "*.ys168.com" 748 | - "*.yuewen.com" 749 | - "*.yy.com" 750 | - "*.yystatic.com" 751 | - "*.zealer.com" 752 | - "*.zhangzishi.cc" 753 | - "*.zhanqi.tv" 754 | - "*.zhaopin.com" 755 | - "*.zhihu.com" 756 | - "*.zhimg.com" 757 | - "*.zhongsou.com" 758 | - "*.zhuihd.com" 759 | - "localhost" 760 | - 127.* 761 | - 10.* 762 | - 172.16.* 763 | - 172.17.* 764 | - 172.18.* 765 | - 172.19.* 766 | - 172.20.* 767 | - 172.21.* 768 | - 172.22.* 769 | - 172.23.* 770 | - 172.24.* 771 | - 172.25.* 772 | - 172.26.* 773 | - 172.27.* 774 | - 172.28.* 775 | - 172.29.* 776 | - 172.30.* 777 | - 172.31.* 778 | - 192.168.* 779 | - -------------------------------------------------------------------------------- /base/all_base.tpl: -------------------------------------------------------------------------------- 1 | {% if request.target == "clash" or request.target == "clashr" %} 2 | 3 | port: {{ global.clash.http_port }} 4 | socks-port: {{ global.clash.socks_port }} 5 | allow-lan: {{ global.clash.allow_lan }} 6 | mode: Rule 7 | log-level: {{ global.clash.log_level }} 8 | external-controller: :9090 9 | {% if exists("request.clash.dns") %} 10 | {% if request.clash.dns == "1" %} 11 | dns: 12 | enabled: true 13 | listen: 1053 14 | {% endif %} 15 | {% endif %} 16 | {% if local.clash.new_field_name == "true" %} 17 | proxies: ~ 18 | proxy-groups: ~ 19 | rules: ~ 20 | {% else %} 21 | Proxy: ~ 22 | Proxy Group: ~ 23 | Rule: ~ 24 | {% endif %} 25 | 26 | {% endif %} 27 | {% if request.target == "surge" %} 28 | 29 | [General] 30 | loglevel = notify 31 | bypass-system = true 32 | skip-proxy = 127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,100.64.0.0/10,localhost,*.local,e.crashlytics.com,captive.apple.com,::ffff:0:0:0:0/1,::ffff:128:0:0:0/1 33 | #DNS设置或根据自己网络情况进行相应设置 34 | bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12 35 | dns-server = 119.29.29.29,223.5.5.5 36 | 37 | [Script] 38 | http-request https?:\/\/.*\.iqiyi\.com\/.*authcookie= script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/iQIYI-DailyBonus/iQIYI_GetCookie.js 39 | 40 | {% endif %} 41 | {% if request.target == "loon" %} 42 | 43 | [General] 44 | skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com 45 | bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 46 | dns-server = system,119.29.29.29,223.5.5.5 47 | allow-udp-proxy = false 48 | host = 127.0.0.1 49 | 50 | [Proxy] 51 | 52 | [Remote Proxy] 53 | 54 | [Proxy Group] 55 | 56 | [Rule] 57 | 58 | [Remote Rule] 59 | 60 | [URL Rewrite] 61 | enable = true 62 | ^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302 63 | 64 | [Remote Rewrite] 65 | https://raw.githubusercontent.com/Loon0x00/LoonExampleConfig/master/Rewrite/AutoRewrite_Example.list,auto 66 | 67 | [MITM] 68 | hostname = *.example.com,*.sample.com 69 | enable = true 70 | skip-server-cert-verify = true 71 | #ca-p12 = 72 | #ca-passphrase = 73 | 74 | {% endif %} 75 | {% if request.target == "quan" %} 76 | 77 | [SERVER] 78 | 79 | [SOURCE] 80 | 81 | [BACKUP-SERVER] 82 | 83 | [SUSPEND-SSID] 84 | 85 | [POLICY] 86 | 87 | [DNS] 88 | 1.1.1.1 89 | 90 | [REWRITE] 91 | 92 | [URL-REJECTION] 93 | 94 | [TCP] 95 | 96 | [GLOBAL] 97 | 98 | [HOST] 99 | 100 | [STATE] 101 | STATE,AUTO 102 | 103 | [MITM] 104 | 105 | {% endif %} 106 | {% if request.target == "quanx" %} 107 | 108 | [general] 109 | excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8 110 | geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js 111 | network_check_url=http://www.baidu.com/ 112 | server_check_url=http://www.gstatic.com/generate_204 113 | 114 | [dns] 115 | server=119.29.29.29 116 | server=223.5.5.5 117 | server=1.0.0.1 118 | server=8.8.8.8 119 | 120 | [policy] 121 | static=♻️ 自动选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png 122 | static=🔰 节点选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Proxy.png 123 | static=🌍 国外媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/GlobalMedia.png 124 | static=🌏 国内媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png 125 | static=Ⓜ️ 微软服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Microsoft.png 126 | static=📲 电报信息, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png 127 | static=🍎 苹果服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png 128 | static=🎯 全球直连, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Direct.png 129 | static=🛑 全球拦截, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Advertising.png 130 | static=🐟 漏网之鱼, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png 131 | 132 | [server_remote] 133 | 134 | [filter_remote] 135 | 136 | [rewrite_remote] 137 | 138 | [server_local] 139 | 140 | [filter_local] 141 | 142 | [rewrite_local] 143 | 144 | [mitm] 145 | 146 | {% endif %} 147 | {% if request.target == "mellow" %} 148 | 149 | [Endpoint] 150 | DIRECT, builtin, freedom, domainStrategy=UseIP 151 | REJECT, builtin, blackhole 152 | Dns-Out, builtin, dns 153 | 154 | [Routing] 155 | domainStrategy = IPIfNonMatch 156 | 157 | [Dns] 158 | hijack = Dns-Out 159 | clientIp = 114.114.114.114 160 | 161 | [DnsServer] 162 | localhost 163 | 223.5.5.5 164 | 8.8.8.8, 53, Remote 165 | 8.8.4.4 166 | 167 | [DnsRule] 168 | DOMAIN-KEYWORD, geosite:geolocation-!cn, Remote 169 | DOMAIN-SUFFIX, google.com, Remote 170 | 171 | [DnsHost] 172 | doubleclick.net = 127.0.0.1 173 | 174 | [Log] 175 | loglevel = warning 176 | 177 | {% endif %} 178 | {% if request.target == "surfboard" %} 179 | 180 | [General] 181 | loglevel = notify 182 | interface = 127.0.0.1 183 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local 184 | ipv6 = false 185 | dns-server = system, 223.5.5.5 186 | exclude-simple-hostnames = true 187 | enhanced-mode-by-rule = true 188 | {% endif %} 189 | {% if request.target == "sssub" %} 190 | { 191 | "route": "bypass-lan-china", 192 | "remote_dns": "dns.google", 193 | "ipv6": false, 194 | "metered": false, 195 | "proxy_apps": { 196 | "enabled": false, 197 | "bypass": true, 198 | "android_list": [ 199 | "com.eg.android.AlipayGphone", 200 | "com.wudaokou.hippo", 201 | "com.zhihu.android" 202 | ] 203 | }, 204 | "udpdns": false 205 | } 206 | 207 | {% endif %} 208 | -------------------------------------------------------------------------------- /base/loon.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com 3 | bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 4 | dns-server = 119.29.29.29,223.5.5.5,system 5 | allow-udp-proxy = false 6 | host = 127.0.0.1 7 | 8 | [Proxy] 9 | 10 | [Remote Proxy] 11 | 12 | [Proxy Group] 13 | 14 | [Rule] 15 | 16 | [Remote Rule] 17 | 18 | [URL Rewrite] 19 | enable = true 20 | ^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302 21 | 22 | [Remote Rewrite] 23 | https://raw.githubusercontent.com/Loon0x00/LoonExampleConfig/master/Rewrite/AutoRewrite_Example.list,auto 24 | 25 | [MITM] 26 | hostname = *.example.com,*.sample.com 27 | enable = true 28 | skip-server-cert-verify = true 29 | #ca-p12 = 30 | #ca-passphrase = 31 | -------------------------------------------------------------------------------- /base/mellow.conf: -------------------------------------------------------------------------------- 1 | [Endpoint] 2 | DIRECT, builtin, freedom, domainStrategy=UseIP 3 | REJECT, builtin, blackhole 4 | Dns-Out, builtin, dns 5 | 6 | [Routing] 7 | domainStrategy = IPIfNonMatch 8 | 9 | [Dns] 10 | hijack = Dns-Out 11 | clientIp = 114.114.114.114 12 | 13 | [DnsServer] 14 | localhost 15 | 223.5.5.5 16 | 8.8.8.8, 53, Remote 17 | 8.8.4.4 18 | 19 | [DnsRule] 20 | DOMAIN-KEYWORD, geosite:geolocation-!cn, Remote 21 | DOMAIN-SUFFIX, google.com, Remote 22 | 23 | [DnsHost] 24 | doubleclick.net = 127.0.0.1 25 | 26 | [Log] 27 | loglevel = warning -------------------------------------------------------------------------------- /base/quan.conf: -------------------------------------------------------------------------------- 1 | [SERVER] 2 | 3 | [SOURCE] 4 | 5 | [BACKUP-SERVER] 6 | 7 | [SUSPEND-SSID] 8 | 9 | [POLICY] 10 | 11 | [DNS] 12 | 119.29.29.29, 223.5.5.5, system 13 | 14 | [REWRITE] 15 | 16 | [URL-REJECTION] 17 | 18 | [TCP] 19 | 20 | [GLOBAL] 21 | 22 | [HOST] 23 | 24 | [STATE] 25 | STATE,AUTO 26 | 27 | [MITM] 28 | -------------------------------------------------------------------------------- /base/quanx.conf: -------------------------------------------------------------------------------- 1 | [general] 2 | excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8 3 | geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://github.com/KOP-XIAO/QuantumultX/raw/master/Scripts/IP_API.js 4 | network_check_url=http://www.baidu.com/ 5 | server_check_url=http://www.gstatic.com/generate_204 6 | 7 | [dns] 8 | server=119.29.29.29 9 | server=223.5.5.5 10 | 11 | [policy] 12 | static=♻️ 自动选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png 13 | static=🔰 节点选择, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Proxy.png 14 | static=🌍 国外媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/GlobalMedia.png 15 | static=🌏 国内媒体, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/DomesticMedia.png 16 | static=Ⓜ️ 微软服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Microsoft.png 17 | static=📲 电报信息, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png 18 | static=🍎 苹果服务, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Apple.png 19 | static=🎯 全球直连, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Direct.png 20 | static=🛑 全球拦截, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Advertising.png 21 | static=🐟 漏网之鱼, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Final.png 22 | 23 | [server_remote] 24 | 25 | [filter_remote] 26 | 27 | [rewrite_remote] 28 | 29 | [server_local] 30 | 31 | [filter_local] 32 | 33 | [rewrite_local] 34 | 35 | [mitm] 36 | -------------------------------------------------------------------------------- /base/simple_base.yml: -------------------------------------------------------------------------------- 1 | port: 7890 2 | socks-port: 7891 3 | allow-lan: true 4 | mode: Rule 5 | log-level: info 6 | external-controller: 127.0.0.1:9090 7 | hosts: 8 | services.googleapis.cn : 172.217.24.195 9 | dns: 10 | enable: true 11 | listen: 0.0.0.0:53 12 | default-nameserver: 13 | - 223.5.5.5 14 | - 1.0.0.1 15 | ipv6: false 16 | enhanced-mode: fake-ip 17 | fake-ip-range: 198.10.0.1/16 18 | nameserver: 19 | - 119.29.29.29 20 | # - https://doh.rixcloud.dev/dns-query 21 | # - https://120.25.25.166/dns-query 22 | Proxy: ~ 23 | Proxy Group: ~ 24 | Rule: ~ 25 | -------------------------------------------------------------------------------- /base/surfboard.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | loglevel = notify 3 | interface = 127.0.0.1 4 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local 5 | ipv6 = false 6 | dns-server = 119.29.29.29, 223.5.5.5, system, 7 | exclude-simple-hostnames = true 8 | enhanced-mode-by-rule = true 9 | -------------------------------------------------------------------------------- /base/surge.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | loglevel = notify 3 | ipv6 = false 4 | bypass-system = true 5 | skip-proxy = 127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,100.64.0.0/10,localhost,*.local,e.crashlytics.com,captive.apple.com,::ffff:0:0:0:0/1,::ffff:128:0:0:0/1 6 | #DNS设置或根据自己网络情况进行相应设置 7 | bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12 8 | dns-server = 119.29.29.29,223.5.5.5,system -------------------------------------------------------------------------------- /base/test.tpl: -------------------------------------------------------------------------------- 1 | port: 7890 2 | socks-port: 7891 3 | allow-lan: true 4 | mode: Rule 5 | log-level: info 6 | external-controller: 127.0.0.1:9090 7 | #hosts: 8 | # services.googleapis.cn : 172.217.24.195 9 | dns: 10 | enable: true 11 | listen: 127.0.0.1:53 12 | default-nameserver: 13 | - 223.5.5.5 14 | - 1.0.0.1 15 | ipv6: false 16 | {% if local.clash.new_field_name == "true" %} 17 | enhanced-mode: fake-ip 18 | fake-ip-range: 198.10.0.1/16 19 | nameserver: 20 | - 119.29.29.29 21 | - 223.6.6.6 22 | proxies: ~ 23 | proxy-groups: ~ 24 | rules: ~ 25 | {% else %} 26 | enhanced-mode: redir-host 27 | nameserver: 28 | - https://dns.alidns.com/dns-query 29 | - https://doh.rixcloud.dev/dns-query 30 | - https://120.25.25.166/dns-query 31 | proxies: ~ 32 | proxy-groups: ~ 33 | rules: ~ 34 | {% endif %} 35 | -------------------------------------------------------------------------------- /easy.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 3 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 4 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 5 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 6 | surge_ruleset=DIRECT,rules/MSServices.list 7 | ;surge_ruleset=油管,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 8 | ;surge_ruleset=奶飞,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 9 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 10 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 11 | ;surge_ruleset=电报,rules/ConnersHua/Surge/Ruleset/Telegram.list 12 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 13 | ;surge_ruleset=港台媒体,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 14 | ;surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 15 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Apple.list 16 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/Global.list 17 | surge_ruleset=代理,rules/PROXY.list 18 | surge_ruleset=DIRECT,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ipip.list 19 | surge_ruleset=DIRECT,rules/DIRECT.list 20 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/China.list 21 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 22 | ;surge_ruleset=DIRECT,[]GEOIP,CN 23 | surge_ruleset=规则外路由选择,[]FINAL 24 | ;设置规则标志位 25 | 26 | ;设置分组标志位 27 | custom_proxy_group=代理`select`.* 28 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 29 | ;custom_proxy_group=电报`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 30 | ;custom_proxy_group=油管`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 31 | ;custom_proxy_group=奶飞`select`[]代理`(NF*)`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 32 | ;custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾`[]代理`[]其他`[]DIRECT 33 | ;custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本`[]代理`[]其他`[]DIRECT 34 | ;custom_proxy_group=🇭🇰 香港`select`(港|HK|HONG|Hong|HGC) 35 | ;custom_proxy_group=🇨🇳 台湾`select`(台|新北|彰化|TW|Tai) 36 | ;custom_proxy_group=🇸🇬 狮城`select`(新|狮城|SG|Singa) 37 | ;custom_proxy_group=🇯🇵 日本`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 38 | ;custom_proxy_group=🇺🇲 美国`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 39 | ;custom_proxy_group=其他`select`GCX`^((?!新|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 40 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX) 41 | ;custom_proxy_group=手动切换`select`.* 42 | ;custom_proxy_group=国外媒体`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 43 | ;custom_proxy_group=港台媒体`select`[]DIRECT`[]其他`[]🇭🇰 香港`[]🇨🇳 台湾 44 | ;custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 45 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 46 | ;custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]代理`[]🇸🇬 狮城`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 47 | custom_proxy_group=规则外路由选择`select`[]代理`[]DIRECT 48 | ;custom_proxy_group=故障转移`fallback`(322|323|422)`http://www.gstatic.com/generate_204`8640 49 | ;fallback输入你常用的2-3个节点编号 50 | ;设置分组标志位 51 | -------------------------------------------------------------------------------- /easy2.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 3 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 4 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 5 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 6 | surge_ruleset=DIRECT,rules/MSServices.list 7 | ;surge_ruleset=油管,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 8 | ;surge_ruleset=奶飞,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 9 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 10 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 11 | ;surge_ruleset=电报,rules/ConnersHua/Surge/Ruleset/Telegram.list 12 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 13 | ;surge_ruleset=港台媒体,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 14 | ;surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 15 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Apple.list 16 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/Global.list 17 | surge_ruleset=代理,rules/PROXY.list 18 | surge_ruleset=DIRECT,rules/ipip.list 19 | surge_ruleset=DIRECT,rules/DIRECT.list 20 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/China.list 21 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 22 | ;surge_ruleset=DIRECT,[]GEOIP,CN 23 | surge_ruleset=规则外路由选择,[]FINAL 24 | ;设置规则标志位 25 | 26 | ;设置分组标志位 27 | custom_proxy_group=代理`select`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 28 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 29 | ;custom_proxy_group=电报`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 30 | ;custom_proxy_group=油管`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 31 | ;custom_proxy_group=奶飞`select`[]代理`(NF*)`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 32 | ;custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾`[]代理`[]其他`[]DIRECT 33 | ;custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本`[]代理`[]其他`[]DIRECT 34 | custom_proxy_group=🇭🇰 香港`select`(港|HK|HONG|Hong|HGC) 35 | custom_proxy_group=🇨🇳 台湾`select`(台|新北|彰化|TW|Tai) 36 | custom_proxy_group=🇸🇬 狮城`select`(新|狮城|SG|Singa) 37 | custom_proxy_group=🇯🇵 日本`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 38 | custom_proxy_group=🇺🇲 美国`select`(多伦多|哥伦布|纽约|弗里蒙特|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 39 | custom_proxy_group=其他`select`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 40 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX) 41 | ;custom_proxy_group=手动切换`select`.* 42 | ;custom_proxy_group=国外媒体`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 43 | ;custom_proxy_group=港台媒体`select`[]DIRECT`[]其他`[]🇭🇰 香港`[]🇨🇳 台湾 44 | ;custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 45 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 46 | ;custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]代理`[]🇸🇬 狮城`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]DIRECT 47 | custom_proxy_group=规则外路由选择`select`[]代理`[]DIRECT`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他 48 | ;custom_proxy_group=故障转移`fallback`(322|323|422)`http://www.gstatic.com/generate_204`8640 49 | ;fallback输入你常用的2-3个节点编号 50 | ;设置分组标志位 51 | -------------------------------------------------------------------------------- /maying.ini: -------------------------------------------------------------------------------- 1 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 2 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 3 | surge_ruleset=🎥 NETFLIX,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 4 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 5 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 6 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Advertising.list 7 | ;surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 8 | surge_ruleset=📹 YouTube,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 9 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 10 | surge_ruleset=📲 电报吹水,rules/ConnersHua/Surge/Ruleset/Telegram.list 11 | surge_ruleset=🌍 国外媒体,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 12 | surge_ruleset=🌏 BiliBili,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 13 | surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 14 | surge_ruleset=🔰 节点选择,rules/ConnersHua/Surge/Ruleset/Global.list 15 | surge_ruleset=🔰 节点选择,rules/PROXY.list 16 | surge_ruleset=DIRECT,rules/ipip.list 17 | surge_ruleset=DIRECT,rules/DIRECT.list 18 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/China.list 19 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 20 | ;surge_ruleset=DIRECT,[]GEOIP,CN 21 | surge_ruleset=🐟 规则外路由选择,[]FINAL 22 | 23 | 24 | 25 | custom_proxy_group=🔰 节点选择`select`[]故障转移`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT`(?i:1X|0\.) 26 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 27 | custom_proxy_group=📲 电报吹水`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT`(新|狮城|SG|Singa|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 28 | custom_proxy_group=📹 YouTube`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT`^((?!CN2|流量|时间).)*$ 29 | custom_proxy_group=🎥 NETFLIX`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT`(NF\*) 30 | ;custom_proxy_group=📺 巴哈姆特`select`[]🔰 节点选择`[]🇨🇳 台湾节点`[]DIRECT`(台|新北|彰化|TW|Tai) 31 | ;custom_proxy_group=📺 AbemaTV`select`[]🔰 节点选择`[]🇯🇵 日本节点`[]DIRECT`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 32 | custom_proxy_group=🇭🇰 香港节点`select`(港|HK|HONG|Hong|HGC) 33 | custom_proxy_group=🇨🇳 台湾节点`select`(台|新北|彰化|TW|Tai) 34 | custom_proxy_group=🇸🇬 狮城节点`select`(新|狮城|SG|Singa) 35 | custom_proxy_group=🇯🇵 日本节点`select``(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap|京日|杭日|青日) 36 | custom_proxy_group=🇺🇲 美国节点`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United.*?States) 37 | custom_proxy_group=🚀 其他节点`select`GCX`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap|京日|杭日|青日|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US|United.*?States).)*$ 38 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX) 39 | ;custom_proxy_group=🚀 手动切换`select`^((?!流量|时间).)*$ 40 | custom_proxy_group=🌍 国外媒体`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT 41 | custom_proxy_group=🌏 BiliBili`select`[]DIRECT`[]🚀 其他节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点 42 | custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 43 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 44 | ;custom_proxy_group=🛑 劫持拦截`select`[]REJECT`[]🔰 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT 45 | custom_proxy_group=🐟 规则外路由选择`select`[]🔰 节点选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 46 | custom_proxy_group=故障转移`fallback`(450|451|452)`http://1.1.1.1`86400 47 | ;fallback输入你常用的2-3个节点编号 48 | ;设置分组标志位 49 | -------------------------------------------------------------------------------- /mayinggfw.ini: -------------------------------------------------------------------------------- 1 | 2 | 3 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 4 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 5 | surge_ruleset=🎥 NETFLIX,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 6 | surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 7 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 8 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Advertising.list 9 | surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 10 | surge_ruleset=📹 YouTube,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 11 | surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 12 | surge_ruleset=📲 电报吹水,rules/ConnersHua/Surge/Ruleset/Telegram.list 13 | surge_ruleset=🌍 国外媒体,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 14 | surge_ruleset=🌏 BiliBili,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 15 | surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 16 | surge_ruleset=🔰 节点选择,rules/ConnersHua/Surge/Ruleset/Global.list 17 | surge_ruleset=🔰 节点选择,rules/PROXY.list 18 | surge_ruleset=DIRECT,rules/ipip.list 19 | surge_ruleset=DIRECT,rules/DIRECT.list 20 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/China.list 21 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 22 | ;surge_ruleset=DIRECT,[]GEOIP,CN 23 | surge_ruleset=DIRECT,[]FINAL 24 | 25 | 26 | 27 | custom_proxy_group=🔰 节点选择`select`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(?i:1X) 28 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 29 | custom_proxy_group=📲 电报吹水`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(新|狮城|SG|Singa|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 30 | custom_proxy_group=📹 YouTube`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`^((?!CN2|流量|时间).)*$ 31 | custom_proxy_group=🎥 NETFLIX`select`[]🔰 节点选择`[]🎥 奈非节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(NF\*) 32 | custom_proxy_group=📺 巴哈姆特`select`[]🔰 节点选择`[]🇨🇳 台湾节点`[]DIRECT`(台|新北|彰化|TW|Tai) 33 | custom_proxy_group=📺 AbemaTV`select`[]🔰 节点选择`[]🇯🇵 日本节点`[]DIRECT`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 34 | custom_proxy_group=🇭🇰 香港节点`select`(港|HK|HONG|Hong|HGC) 35 | custom_proxy_group=🇨🇳 台湾节点`select`(台|新北|彰化|TW|Tai) 36 | custom_proxy_group=🇸🇬 狮城节点`select`(新|狮城|SG|Singa) 37 | custom_proxy_group=🇯🇵 日本节点`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 38 | custom_proxy_group=🇺🇲 美国节点`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 39 | custom_proxy_group=🚀 其他节点`select`GCX`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 40 | custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX)`[]🚀 手动切换 41 | custom_proxy_group=🚀 手动切换`select`^((?!流量|时间).)*$ 42 | custom_proxy_group=🌍 国外媒体`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 43 | custom_proxy_group=🌏 BiliBili`select`[]DIRECT`[]🚀 其他节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点 44 | custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 45 | custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 46 | ;custom_proxy_group=🛑 劫持拦截`select`[]REJECT`[]🔰 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 47 | ;custom_proxy_group=🐟 选代理海外代理模式|选DIRECT仅规则代理模式`select`[]DIRECT`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 48 | -------------------------------------------------------------------------------- /media.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 3 | surge_ruleset=DIRECT,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Unbreak.list 4 | surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Hijacking.list 5 | surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 6 | surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 7 | surge_ruleset=📹 YouTube,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 8 | surge_ruleset=🎥 NETFLIX,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 9 | surge_ruleset=📺 巴哈姆特,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 10 | surge_ruleset=📺 AbemaTV,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 11 | surge_ruleset=📺 自定媒体,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Media/Pornhub.list 12 | ;surge_ruleset=📺 自定媒体,rules/ConnersHua/Surge/Ruleset/Media/Spotify.list 13 | ;媒体list名字清单https://github.com/tindy2013/subconverter/tree/master/base/rules/ConnersHua/Surge/Ruleset/Media 14 | surge_ruleset=📲 电报吹水,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Telegram.list 15 | surge_ruleset=🌍 国外媒体,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 16 | surge_ruleset=🌏 港台媒体,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 17 | surge_ruleset=🍎 苹果服务,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Apple.list 18 | surge_ruleset=🔰 节点选择,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/Global.list 19 | surge_ruleset=🔰 节点选择,https://raw.githubusercontent.com/nameless3721/nash/master/rules/PROXY.list 20 | surge_ruleset=DIRECT,https://raw.githubusercontent.com/nameless3721/nash/master/rules/DIRECT.list 21 | surge_ruleset=DIRECT,https://raw.githubusercontent.com/nameless3721/nash/master/rules/ConnersHua/Surge/Ruleset/China.list 22 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 23 | surge_ruleset=DIRECT,[]GEOIP,CN 24 | surge_ruleset=🐟 漏网之鱼,[]FINAL 25 | ;设置规则标志位 26 | 27 | ;设置分组标志位 28 | custom_proxy_group=🔰 节点选择`select`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 29 | custom_proxy_group=📲 电报吹水`select`[]🇸🇬 狮城节点`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 30 | custom_proxy_group=📹 YouTube`select`[]🔰 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 31 | custom_proxy_group=🎥 NETFLIX`select`[]🇸🇬 狮城节点`[]🎥 奈非节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 32 | custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾节点`[]🔰 节点选择`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 33 | custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本节点`[]🔰 节点选择`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 34 | custom_proxy_group=📺 自定媒体`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 35 | custom_proxy_group=🇭🇰 香港节点`select`(港|HK|HONG|Hong|HGC) 36 | custom_proxy_group=🇨🇳 台湾节点`select`(台|新北|彰化|TW|Tai) 37 | custom_proxy_group=🇸🇬 狮城节点`select`(新|狮城|SG|Singa) 38 | custom_proxy_group=🇯🇵 日本节点`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 39 | custom_proxy_group=🇺🇲 美国节点`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 40 | custom_proxy_group=🚀 其他节点`select`GCX`^((?!新|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 41 | custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX)`[]🚀 手动切换 42 | custom_proxy_group=🚀 手动切换`select`.* 43 | custom_proxy_group=🌍 国外媒体`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 44 | custom_proxy_group=🌏 港台媒体`select`[]DIRECT`[]🚀 其他节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点 45 | custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 46 | custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 47 | custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]🔰 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]DIRECT 48 | custom_proxy_group=🐟 漏网之鱼`select`[]🔰 节点选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点 49 | ;设置分组标志位 50 | -------------------------------------------------------------------------------- /netease.ini: -------------------------------------------------------------------------------- 1 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 2 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Unbreak.list 3 | surge_ruleset=🎵 网易云音乐,rules/yoyuNeteaseMusic.list 4 | surge_ruleset=🎥 NETFLIX,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 5 | surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 6 | surge_ruleset=🛑 劫持拦截,rules/ConnersHua/Surge/Ruleset/Hijacking.list 7 | surge_ruleset=🛑 劫持拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 8 | surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 9 | surge_ruleset=📹 YouTube,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 10 | surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 11 | surge_ruleset=📲 电报吹水,rules/ConnersHua/Surge/Ruleset/Telegram.list 12 | surge_ruleset=🌍 国外媒体,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 13 | surge_ruleset=🌏 BiliBili,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 14 | surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 15 | surge_ruleset=🔰 节点选择,rules/ConnersHua/Surge/Ruleset/Global.list 16 | surge_ruleset=🔰 节点选择,rules/PROXY.list 17 | surge_ruleset=DIRECT,rules/ipip.list 18 | surge_ruleset=DIRECT,rules/DIRECT.list 19 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/China.list 20 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 21 | ;surge_ruleset=DIRECT,[]GEOIP,CN 22 | surge_ruleset=🐟 规则外路由选择,[]FINAL 23 | 24 | 25 | 26 | custom_proxy_group=🔰 节点选择`select`[]💈 低倍节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(?i:1X) 27 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 28 | custom_proxy_group=📲 电报吹水`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(新|狮城|SG|Singa|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 29 | custom_proxy_group=📹 YouTube`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`^((?!CN2).)*$ 30 | custom_proxy_group=🎥 NETFLIX`select`[]🔰 节点选择`[]🎥 奈非节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT`(NF\*) 31 | custom_proxy_group=📺 巴哈姆特`select`[]🔰 节点选择`[]🇨🇳 台湾节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 32 | custom_proxy_group=📺 AbemaTV`select`[]🔰 节点选择`[]🇯🇵 日本节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 33 | custom_proxy_group=🇭🇰 香港节点`select`(港|HK|HONG|Hong|HGC) 34 | custom_proxy_group=🇨🇳 台湾节点`select`(台|新北|彰化|TW|Tai) 35 | custom_proxy_group=🇸🇬 狮城节点`select`(新|狮城|SG|Singa) 36 | custom_proxy_group=🇯🇵 日本节点`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 37 | custom_proxy_group=🇺🇲 美国节点`select`(美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 38 | custom_proxy_group=🚀 其他节点`select`GCX`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 39 | custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX)`[]🚀 手动切换 40 | custom_proxy_group=🚀 手动切换`select`.* 41 | custom_proxy_group=🌍 国外媒体`select`[]🔰 节点选择`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 42 | custom_proxy_group=🌏 BiliBili`select`[]DIRECT`[]🚀 其他节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点 43 | custom_proxy_group=🍎 苹果服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 44 | custom_proxy_group=Ⓜ️ 微软服务`select`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 45 | custom_proxy_group=🛑 劫持拦截`select`[]REJECT`[]🔰 节点选择`[]🇸🇬 狮城节点`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换`[]DIRECT 46 | custom_proxy_group=🐟 规则外路由选择`select`[]🔰 节点选择`[]DIRECT`[]🇭🇰 香港节点`[]🇨🇳 台湾节点`[]🇸🇬 狮城节点`[]🇯🇵 日本节点`[]🇺🇲 美国节点`[]🚀 其他节点`[]🚀 手动切换 47 | custom_proxy_group=🎵 网易云音乐`select`(etease|音乐)`[]DIRECT 48 | custom_proxy_group=💈 低倍节点`fallback`(0\.)`http://cp.cloudflare.com/generate_204`8640 49 | -------------------------------------------------------------------------------- /nfset.sh: -------------------------------------------------------------------------------- 1 | red="\033[31m" 2 | black="\033[0m" 3 | 4 | base=/etc/dnat 5 | mkdir $base 2>/dev/null 6 | conf=$base/conf 7 | touch $conf 8 | 9 | # wget wget --no-check-certificate -qO natcfg.sh http://blog.arloor.com/sh/iptablesUtils/natcfg.sh && bash natcfg.sh 10 | 11 | clear 12 | echo "#############################################################" 13 | echo "# Usage: setup iptables nat rules for domian/ip #" 14 | echo "# Website: http://www.arloor.com/ #" 15 | echo "# Author: ARLOOR #" 16 | echo "# Github: https://github.com/arloor/iptablesUtils #" 17 | echo "# 端口都填443目标netflix.com #" 18 | echo "# smartdns不支持centos自行 https://pymumu.github.io/smartdns#" 19 | echo "#############################################################" 20 | echo 21 | 22 | 23 | setupService(){ 24 | cat > /usr/local/bin/dnat.sh <<"AAAA" 25 | #! /bin/bash 26 | [[ "$EUID" -ne '0' ]] && echo "Error:This script must be run as root!" && exit 1; 27 | 28 | 29 | 30 | base=/etc/dnat 31 | mkdir $base 2>/dev/null 32 | conf=$base/conf 33 | firstAfterBoot=1 34 | lastConfig="/iptables_nat.sh" 35 | lastConfigTmp="/iptables_nat.sh_tmp" 36 | 37 | 38 | #### 39 | echo "正在安装依赖...." 40 | yum install -y ipset bind-utils &> /dev/null 41 | apt install -y ipset dnsutils &> /dev/null 42 | mkdir /etc/nfset &> /dev/null 43 | wget https://raw.githubusercontent.com/nameless3721/iptablesUtils/master/nfset/nflist.txt &> /dev/null 44 | wget https://raw.githubusercontent.com/nameless3721/iptablesUtils/master/nfset/nfset.service &> /dev/null 45 | mv -f nflist.txt /etc/nfset/ &> /dev/null 46 | mv -f nfset.service /etc/systemd/system/ &> /dev/null 47 | ipset destroy nflist &> /dev/null 48 | systemctl start nfset &> /dev/null 49 | systemctl enable nfset &> /dev/null 50 | echo "Completed:依赖安装完毕" 51 | echo "" 52 | #### 53 | turnOnNat(){ 54 | # 开启端口转发 55 | echo "1. 端口转发开启 【成功】" 56 | sed -n '/^net.ipv4.ip_forward=1/'p /etc/sysctl.conf | grep -q "net.ipv4.ip_forward=1" 57 | if [ $? -ne 0 ]; then 58 | echo -e "net.ipv4.ip_forward=1" >> /etc/sysctl.conf && sysctl -p 59 | fi 60 | 61 | #开放FORWARD链 62 | echo "2. 开放iptbales中的FORWARD链 【成功】" 63 | arr1=(`iptables -L FORWARD -n --line-number |grep "REJECT"|grep "0.0.0.0/0"|sort -r|awk '{print $1,$2,$5}'|tr " " ":"|tr "\n" " "`) #16:REJECT:0.0.0.0/0 15:REJECT:0.0.0.0/0 64 | for cell in ${arr1[@]} 65 | do 66 | arr2=(`echo $cell|tr ":" " "`) #arr2=16 REJECT 0.0.0.0/0 67 | index=${arr2[0]} 68 | echo 删除禁止FOWARD的规则$index 69 | iptables -D FORWARD $index 70 | done 71 | iptables --policy FORWARD ACCEPT 72 | } 73 | turnOnNat 74 | 75 | 76 | 77 | testVars(){ 78 | local localport=$1 79 | local remotehost=$2 80 | local remoteport=$3 81 | # 判断端口是否为数字 82 | local valid= 83 | echo "$localport"|[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ] && echo $remoteport |[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ]||{ 84 | echo -e "${red}本地端口和目标端口请输入数字!!${black}"; 85 | return 1; 86 | } 87 | 88 | # 检查输入的不是IP 89 | #if [ "$(echo $remotehost |grep -E -o '([0-9]{1,3}[\.]){3}[0-9]{1,3}')" != "" ];then 90 | # local isip=true 91 | # local remote=$remotehost 92 | # 93 | # echo -e "${red}警告:你输入的目标地址是一个ip!${black}" 94 | # return 2; 95 | # fi 96 | } 97 | 98 | dnat(){ 99 | [ "$#" = "3" ]&&{ 100 | local localport=$1 101 | local remote=$2 102 | local remoteport=$3 103 | 104 | cat >> $lastConfigTmp <$base/${1}IP 130 | dnat $1 $remote $3 131 | } 132 | 133 | 134 | echo "3. 开始监听域名解析变化" 135 | echo "" 136 | while true ; 137 | do 138 | ## 获取本机地址 139 | localIP=$(ip -o -4 addr list | grep -Ev '\s(docker|lo)' | awk '{print $4}' | cut -d/ -f1 | grep -Ev '(^127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.1[6-9]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.2[0-9]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.3[0-1]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$)') 140 | if [ "${localIP}" = "" ]; then 141 | localIP=$(ip -o -4 addr list | grep -Ev '\s(docker|lo)' | awk '{print $4}' | cut -d/ -f1|head -n 1 ) 142 | fi 143 | echo "本机网卡IP [$localIP]" 144 | cat > $lastConfigTmp <" " "`) #arr2=16 REJECT 0.0.0.0/0 152 | # 过滤非法的行 153 | [ "${arr2[2]}" != "" -a "${arr2[3]}" = "" ]&& testVars ${arr2[0]} ${arr2[1]} ${arr2[2]}&&{ 154 | echo "转发规则: ${arr2[0]} => ${arr2[1]}:${arr2[2]}" 155 | dnatIfNeed ${arr2[0]} ${arr2[1]} ${arr2[2]} 156 | } 157 | done 158 | 159 | lastConfigTmpStr=`cat $lastConfigTmp` 160 | lastConfigStr=`cat $lastConfig` 161 | if [ "$firstAfterBoot" = "1" -o "$lastConfigTmpStr" != "$lastConfigStr" ];then 162 | echo '更新iptables规则[DOING]' 163 | source $lastConfigTmp 164 | cat $lastConfigTmp > $lastConfig 165 | echo '更新iptables规则[DONE],新规则如下:' 166 | echo "###########################################################" 167 | iptables -L OUTPUT -n -t nat --line-number 168 | iptables -L POSTROUTING -n -t nat --line-number 169 | echo "###########################################################" 170 | else 171 | echo "iptables规则未变更" 172 | fi 173 | 174 | firstAfterBoot=0 175 | echo '' > $lastConfigTmp 176 | sleep 60 177 | echo '' 178 | echo '' 179 | echo '' 180 | done 181 | AAAA 182 | echo 183 | 184 | 185 | cat > /lib/systemd/system/dnat.service <<\EOF 186 | [Unit] 187 | Description=动态设置iptables转发规则 188 | After=network-online.target 189 | Wants=network-online.target 190 | 191 | [Service] 192 | WorkingDirectory=/root/ 193 | EnvironmentFile= 194 | ExecStart=/bin/bash /usr/local/bin/dnat.sh 195 | Restart=always 196 | RestartSec=30 197 | 198 | [Install] 199 | WantedBy=multi-user.target 200 | EOF 201 | 202 | systemctl daemon-reload 203 | systemctl enable dnat > /dev/null 2>&1 204 | service dnat stop > /dev/null 2>&1 205 | service dnat start > /dev/null 2>&1 206 | } 207 | 208 | 209 | ## 获取本机地址 210 | localIP=$(ip -o -4 addr list | grep -Ev '\s(docker|lo)' | awk '{print $4}' | cut -d/ -f1 | grep -Ev '(^127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.1[6-9]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.2[0-9]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^172\.3[0-1]{1}[0-9]{0,1}\.[0-9]{1,3}\.[0-9]{1,3}$)|(^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$)') 211 | if [ "${localIP}" = "" ]; then 212 | localIP=$(ip -o -4 addr list | grep -Ev '\s(docker|lo)' | awk '{print $4}' | cut -d/ -f1|head -n 1 ) 213 | fi 214 | 215 | 216 | addDnat(){ 217 | local localport= 218 | local remoteport= 219 | local remotehost= 220 | local localIP= 221 | local valid= 222 | echo -n "本地端口号:" ;read localport 223 | echo -n "远程端口号:" ;read remoteport 224 | # echo $localport $remoteport 225 | # 判断端口是否为数字 226 | echo "$localport"|[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ] && echo $remoteport |[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ]||{ 227 | echo -e "${red}本地端口和目标端口请输入数字!!${black}" 228 | return 1; 229 | } 230 | 231 | echo -n "目标域名/IP:" ;read remotehost 232 | # # 检查输入的不是IP 233 | # if [ "$remotehost" = "" -o "$(echo $remotehost |grep -E -o '([0-9]{1,3}[\.]){3}[0-9]{1,3}')" != "" ];then 234 | # isip=true 235 | # remote=$remotehost 236 | # echo -e "${red}请输入一个ddns域名${black}" 237 | # return 1 238 | # fi 239 | 240 | sed -i "s/^$localport.*/$localport>$remotehost:$remoteport/g" $conf 241 | [ "$(cat $conf|grep "$localport>$remotehost:$remoteport")" = "" ]&&{ 242 | cat >> $conf <$remotehost:$remoteport 244 | LINE 245 | } 246 | echo "成功添加转发规则 $localport>$remotehost:$remoteport" 247 | setupService 248 | } 249 | 250 | rmDnat(){ 251 | local localport= 252 | echo -n "本地端口号:" ;read localport 253 | sed -i "/^$localport>.*/d" $conf 254 | echo "done!" 255 | } 256 | 257 | testVars(){ 258 | local localport=$1 259 | local remotehost=$2 260 | local remoteport=$3 261 | # 判断端口是否为数字 262 | local valid= 263 | echo "$localport"|[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ] && echo $remoteport |[ -n "`sed -n '/^[0-9][0-9]*$/p'`" ]||{ 264 | # echo -e "${red}本地端口和目标端口请输入数字!!${black}"; 265 | return 1; 266 | } 267 | 268 | # # 检查输入的不是IP 269 | # if [ "$(echo $remotehost |grep -E -o '([0-9]{1,3}[\.]){3}[0-9]{1,3}')" != "" ];then 270 | # local isip=true 271 | # local remote=$remotehost 272 | 273 | # # echo -e "${red}警告:你输入的目标地址是一个ip!${black}" 274 | # return 2; 275 | # fi 276 | } 277 | 278 | lsDnat(){ 279 | arr1=(`cat $conf`) 280 | for cell in ${arr1[@]} 281 | do 282 | arr2=(`echo $cell|tr ":" " "|tr ">" " "`) #arr2=16 REJECT 0.0.0.0/0 283 | # 过滤非法的行 284 | [ "${arr2[2]}" != "" -a "${arr2[3]}" = "" ]&& testVars ${arr2[0]} ${arr2[1]} ${arr2[2]}&&{ 285 | echo "转发规则: ${arr2[0]}>${arr2[1]}:${arr2[2]}" 286 | } 287 | done 288 | } 289 | 290 | 291 | 292 | 293 | echo -e "${red}你要做什么呢(请输入数字)?Ctrl+C 退出本脚本${black}" 294 | select todo in 劫持tvnf 删除转发规则 列出所有转发规则 查看当前iptables配置 安装smartdns 卸载smartdns 295 | do 296 | case $todo in 297 | 劫持tvnf) 298 | addDnat 299 | #break 300 | ;; 301 | 删除转发规则) 302 | rmDnat 303 | systemctl stop nfset 304 | systemctl disable nfset 305 | #break 306 | ;; 307 | # 增加到IP的转发) 308 | # addSnat 309 | # #break 310 | # ;; 311 | # 删除到IP的转发) 312 | # rmSnat 313 | # #break 314 | # ;; 315 | 列出所有转发规则) 316 | lsDnat 317 | ;; 318 | 查看当前iptables配置) 319 | echo "###########################################################" 320 | iptables -L OUTPUT -n -t nat --line-number 321 | iptables -L POSTROUTING -n -t nat --line-number 322 | echo "###########################################################" 323 | ;; 324 | 安装smartdns) 325 | wget https://github.com/pymumu/smartdns/releases/download/Release35/smartdns.1.2021.08.27-1923.x86_64-debian-all.deb 326 | dpkg -i smartdns*.deb 327 | rm -rf smartdns*.deb 328 | wget https://raw.githubusercontent.com/nameless3721/nash/master/smartdns.conf 329 | mv -f smartdns.conf /etc/smartdns/ 330 | read -p "输入nf解锁dns默认1.1.1.1" netflix 331 | [ -z "${netflix}" ] && netflix='1.1.1.1' 332 | sed -i "s/#server 88.88.88.88 -group nf/server $netflix -group nf/g" /etc/smartdns/smartdns.conf 333 | apt-get -y install resolvconf 334 | echo -e "nameserver 127.0.0.1\nnameserver 1.0.0.1" >>/etc/resolvconf/resolv.conf.d/head 335 | systemctl restart resolvconf 336 | systemctl restart smartdns 337 | systemctl enable smartdns 338 | ;; 339 | 卸载smartdns) 340 | dpkg --purge smartdns 341 | sed -i "s/nameserver 127.0.0.1/ /g" /etc/resolvconf/resolv.conf.d/head 342 | systemctl restart resolvconf 343 | apt-get -y remove --purge resolvconf 344 | ;; 345 | *) 346 | echo "如果要退出,请按Ctrl+C" 347 | ;; 348 | esac 349 | done 350 | -------------------------------------------------------------------------------- /nyancat.ini: -------------------------------------------------------------------------------- 1 | ;设置规则标志位 2 | surge_ruleset=DIRECT,rules/LocalAreaNetwork.list 3 | surge_ruleset=回国,rules/ConnersHua/Surge/Ruleset/Unbreak.list 4 | surge_ruleset=REJECT,rules/ConnersHua/Surge/Ruleset/Hijacking.list 5 | ;surge_ruleset=🛑 全球拦截,rules/ConnersHua/Surge/Ruleset/Advertising.list 6 | ;surge_ruleset=Ⓜ️ 微软服务,rules/MSServices.list 7 | surge_ruleset=油管,rules/ConnersHua/Surge/Ruleset/Media/YouTube.list 8 | surge_ruleset=奶飞,rules/ConnersHua/Surge/Ruleset/Media/Netflix.list 9 | ;surge_ruleset=📺 巴哈姆特,rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list 10 | ;surge_ruleset=📺 AbemaTV,rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list 11 | surge_ruleset=电报,rules/ConnersHua/Surge/Ruleset/Telegram.list 12 | surge_ruleset=国外媒体,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list 13 | surge_ruleset=BiliBili,rules/ConnersHua/Surge/Ruleset/HKMTMedia.list 14 | ;surge_ruleset=🍎 苹果服务,rules/ConnersHua/Surge/Ruleset/Apple.list 15 | surge_ruleset=DIRECT,rules/ConnersHua/Surge/Ruleset/Apple.list 16 | surge_ruleset=代理,rules/ConnersHua/Surge/Ruleset/Global.list 17 | surge_ruleset=代理,rules/PROXY.list 18 | surge_ruleset=回国,rules/ipip.list 19 | surge_ruleset=DIRECT,rules/DIRECT.list 20 | surge_ruleset=回国,rules/ConnersHua/Surge/Ruleset/China.list 21 | surge_ruleset=DIRECT,rules/NobyDa/Surge/Download.list 22 | ;surge_ruleset=回国,[]GEOIP,CN 23 | surge_ruleset=规则外路由,[]FINAL 24 | ;设置规则标志位 25 | 26 | ;设置分组标志位 27 | custom_proxy_group=代理`select`[]故障转移`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国`[]DIRECT 28 | ;custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`500 29 | custom_proxy_group=电报`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 30 | custom_proxy_group=油管`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 31 | custom_proxy_group=奶飞`select`[]代理`(NF*)`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 32 | ;custom_proxy_group=📺 巴哈姆特`select`[]🇨🇳 台湾`[]代理`[]其他`[]手动切换`[]回国 33 | ;custom_proxy_group=📺 AbemaTV`select`[]🇯🇵 日本`[]代理`[]其他`[]手动切换`[]回国 34 | custom_proxy_group=🇭🇰 香港`select`(港|HK|HONG|Hong|HGC) 35 | custom_proxy_group=🇨🇳 台湾`select`(台|新北|彰化|TW|Tai) 36 | custom_proxy_group=🇸🇬 狮城`select`(新|狮城|SG|Singa) 37 | custom_proxy_group=🇯🇵 日本`select`(日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|Jap) 38 | custom_proxy_group=🇺🇲 美国`select`(多伦多|哥伦布|纽约|弗里蒙特|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US) 39 | custom_proxy_group=其他`select`^((?!新|多伦多|哥伦布|纽约|弗里蒙特|Jap|Tai|Singa|狮城|SG|港|HK|HONG|Hong|HGC|台|新北|彰化|TW|日本|川日|东京|大阪|泉日|埼玉|沪日|深日|JP|美|波特兰|达拉斯|俄勒冈|凤凰城|费利蒙|硅谷|拉斯维加斯|洛杉矶|圣何塞|圣克拉拉|西雅图|芝加哥|US).)*$ 40 | ;custom_proxy_group=🎥 奈非节点`select`(NF|解锁|Netflix|NETFLIX)`[]手动切换`[]回国 41 | custom_proxy_group=手动切换`select`.*`[]DIRECT 42 | custom_proxy_group=国外媒体`select`[]代理`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 43 | custom_proxy_group=BiliBili`select`[]回国`[]其他`[]🇭🇰 香港`[]🇨🇳 台湾 44 | ;custom_proxy_group=🍎 苹果服务`select`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 45 | ;custom_proxy_group=Ⓜ️ 微软服务`select`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 46 | ;custom_proxy_group=🛑 全球拦截`select`[]REJECT`[]代理`[]🇸🇬 狮城`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换`[]回国 47 | custom_proxy_group=规则外路由`select`[]代理`[]回国`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 48 | custom_proxy_group=回国`select`[]DIRECT`Back`[]故障转移`[]🇭🇰 香港`[]🇨🇳 台湾`[]🇸🇬 狮城`[]🇯🇵 日本`[]🇺🇲 美国`[]其他`[]手动切换 49 | custom_proxy_group=故障转移`fallback`(0\.)`http://cp.cloudflare.com/generate_204`8640 50 | ;fallback输入你常用的2-3个节点编号 51 | ;设置分组标志位 52 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/BacktoCN.list: -------------------------------------------------------------------------------- 1 | # (Video) 2 | # AcFun 3 | USER-AGENT,AcFun* 4 | DOMAIN-SUFFIX,acfun.cn 5 | DOMAIN-SUFFIX,acfun.com 6 | DOMAIN-SUFFIX,aixifan.com 7 | # > bilibili 8 | USER-AGENT,bili-universal 9 | USER-AGENT,Bilibili* 10 | DOMAIN-SUFFIX,acgvideo.com 11 | DOMAIN-SUFFIX,bilibili.com 12 | DOMAIN-SUFFIX,hdslb.com 13 | # > HunanTV 14 | USER-AGENT,MGTV* 15 | DOMAIN-SUFFIX,hitv.com 16 | DOMAIN-SUFFIX,hunantv.com 17 | DOMAIN-SUFFIX,mgtv.com 18 | # > Migu 19 | USER-AGENT,MiguVideo* 20 | USER-AGENT,%E5%92%AA%E5%92%95%E8%A7%86%E9%A2%91 21 | DOMAIN-SUFFIX,cmvideo.cn 22 | DOMAIN-SUFFIX,migu.cn 23 | DOMAIN-SUFFIX,miguvideo.com 24 | # > iQiyi 25 | USER-AGENT,iQiYi* 26 | USER-AGENT,PPStream* 27 | USER-AGENT,QIYI* 28 | USER-AGENT,QYPlayer* 29 | DOMAIN-SUFFIX,iqiyi.com 30 | DOMAIN-SUFFIX,iqiyipic.com 31 | DOMAIN-SUFFIX,qy.net 32 | DOMAIN-SUFFIX,71.am 33 | # > Sohu 34 | DOMAIN-SUFFIX,56.com 35 | DOMAIN-SUFFIX,sohu.com 36 | DOMAIN-SUFFIX,sohu.com.cn 37 | DOMAIN-SUFFIX,itc.cn 38 | DOMAIN-SUFFIX,v-56.com 39 | # > Tencent 40 | USER-AGENT,live4iphone* 41 | USER-AGENT,qqlive4iphone* 42 | USER-AGENT,TencentMidasConnect* 43 | DOMAIN-SUFFIX,video.qq.com 44 | # > Youku 45 | USER-AGENT,Youku* 46 | USER-AGENT,%E4%BC%98%E9%85%B7* 47 | DOMAIN-SUFFIX,soku.com 48 | DOMAIN-SUFFIX,youku.com 49 | DOMAIN-SUFFIX,ykimg.com 50 | 51 | # (Music) 52 | # > Alibaba 53 | USER-AGENT,walkman* 54 | USER-AGENT,xiami* 55 | DOMAIN-SUFFIX,xiami.com 56 | DOMAIN-SUFFIX,xiami.net 57 | # > Netease 58 | USER-AGENT,NeteaseMusic* 59 | USER-AGENT,%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90* 60 | DOMAIN-SUFFIX,music.126.net 61 | DOMAIN-SUFFIX,music.163.com 62 | # > Tencent 63 | USER-AGENT,MOO%E9%9F%B3%E4%B9%90* 64 | USER-AGENT,QQ%E9%9F%B3%E4%B9%90 65 | DOMAIN-SUFFIX,qqmusic.qq.com 66 | DOMAIN-SUFFIX,y.qq.com 67 | DOMAIN,aqqmusic.tc.qq.com 68 | # Kugou and Kuwo 69 | DOMAIN-SUFFIX,kugou.com 70 | USER-AGENT,%E9%85%B7%E6%88%91%E9%9F%B3%E4%B9%90* 71 | DOMAIN-SUFFIX,kuwo.cn 72 | DOMAIN-SUFFIX,koowo.com 73 | # > Baidu 74 | USER-AGENT,baiduyinyue 75 | DOMAIN-SUFFIX,qianqian.com 76 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Advertising.list: -------------------------------------------------------------------------------- 1 | # Advertising 广告 2 | # > General 3 | DOMAIN-KEYWORD,adservice 4 | 5 | DOMAIN-SUFFIX,adcolony.com 6 | DOMAIN-SUFFIX,adinall.com 7 | DOMAIN-SUFFIX,admaster.com.cn 8 | DOMAIN-SUFFIX,admob.com 9 | DOMAIN-SUFFIX,adnxs.com 10 | DOMAIN-SUFFIX,adnyg.com 11 | DOMAIN-SUFFIX,adsensor.org 12 | DOMAIN-SUFFIX,adsymptotic.com 13 | DOMAIN-SUFFIX,adthor.com 14 | DOMAIN-SUFFIX,adwhirl.com 15 | DOMAIN-SUFFIX,amazon-adsystem.com 16 | DOMAIN-SUFFIX,amobee.com 17 | DOMAIN-SUFFIX,app-adforce.jp 18 | DOMAIN-SUFFIX,appads.com 19 | DOMAIN-SUFFIX,appcpi.net 20 | DOMAIN-SUFFIX,appier.net 21 | DOMAIN-SUFFIX,applift.com 22 | DOMAIN-SUFFIX,applovin.com 23 | DOMAIN-SUFFIX,applvn.com 24 | DOMAIN-SUFFIX,apsalar.com 25 | DOMAIN-SUFFIX,apxadtracking.net 26 | DOMAIN-SUFFIX,axonix.com 27 | DOMAIN-SUFFIX,bayimob.com 28 | DOMAIN-SUFFIX,bjvvqu.cn 29 | DOMAIN-SUFFIX,bulldogcpi.com 30 | DOMAIN-SUFFIX,clotfun.mobi 31 | DOMAIN-SUFFIX,clotfun.online 32 | DOMAIN-SUFFIX,cloudmobi.net 33 | DOMAIN-SUFFIX,crwdcntrl.net 34 | DOMAIN-SUFFIX,ctrmi.com 35 | DOMAIN-SUFFIX,exosrv.com 36 | DOMAIN-SUFFIX,go2cloud.org 37 | DOMAIN-SUFFIX,growingio.com 38 | DOMAIN-SUFFIX,haloapps.com 39 | DOMAIN-SUFFIX,hypers.com 40 | DOMAIN-SUFFIX,idealads.net 41 | DOMAIN-SUFFIX,inmobi.cn 42 | DOMAIN-SUFFIX,inmobi.com 43 | DOMAIN-SUFFIX,inmobi.net 44 | DOMAIN-SUFFIX,inmobicdn.cn 45 | DOMAIN-SUFFIX,inmobicdn.net 46 | DOMAIN-SUFFIX,inner-active.mobi 47 | DOMAIN-SUFFIX,insurads.com 48 | DOMAIN-SUFFIX,ironsrc.com 49 | DOMAIN-SUFFIX,irs01.com 50 | DOMAIN-SUFFIX,iskyworker.com 51 | DOMAIN-SUFFIX,juicyads.com 52 | DOMAIN-SUFFIX,kochava.com 53 | DOMAIN-SUFFIX,leadboltmobile.net 54 | DOMAIN-SUFFIX,lenzmx.com 55 | DOMAIN-SUFFIX,liveadvert.com 56 | DOMAIN-SUFFIX,lnk0.com 57 | DOMAIN-SUFFIX,lnk8.cn 58 | DOMAIN-SUFFIX,localytics.com 59 | DOMAIN-SUFFIX,mdfull.com 60 | DOMAIN-SUFFIX,measurementapi.com 61 | DOMAIN-SUFFIX,medialytics.com 62 | DOMAIN-SUFFIX,meetrics.com 63 | DOMAIN-SUFFIX,meetrics.net 64 | DOMAIN-SUFFIX,miaozhen.com 65 | DOMAIN-SUFFIX,mmstat.com 66 | DOMAIN-SUFFIX,moatads.com 67 | DOMAIN-SUFFIX,mobclix.com 68 | DOMAIN-SUFFIX,mopub.com 69 | DOMAIN-SUFFIX,okjhb.xyz 70 | DOMAIN-SUFFIX,openx.net 71 | DOMAIN-SUFFIX,outbrain.com 72 | DOMAIN-SUFFIX,pubmatic.com 73 | DOMAIN-SUFFIX,qchannel01.cn 74 | DOMAIN-SUFFIX,rayjump.com 75 | DOMAIN-SUFFIX,rtbasia.com 76 | DOMAIN-SUFFIX,rubiconproject.com 77 | DOMAIN-SUFFIX,scorecardresearch.com 78 | DOMAIN-SUFFIX,sdkclick.com 79 | DOMAIN-SUFFIX,shuzilm.cn 80 | DOMAIN-SUFFIX,smaato.net 81 | DOMAIN-SUFFIX,smartadserver.com 82 | DOMAIN-SUFFIX,smartnews-ads.com 83 | DOMAIN-SUFFIX,supersonic.com 84 | DOMAIN-SUFFIX,supersonicads.com 85 | DOMAIN-SUFFIX,tagtic.cn 86 | DOMAIN-SUFFIX,tanv.com 87 | DOMAIN-SUFFIX,tanx.com 88 | DOMAIN-SUFFIX,tapjoy.com 89 | DOMAIN-SUFFIX,trafficjunky.net 90 | DOMAIN-SUFFIX,turn.com 91 | DOMAIN-SUFFIX,uri6.com 92 | DOMAIN-SUFFIX,vidoomy.com 93 | DOMAIN-SUFFIX,vungle.com 94 | DOMAIN-SUFFIX,wedolook.com 95 | DOMAIN-SUFFIX,xdrig.com 96 | DOMAIN-SUFFIX,yumimobi.com 97 | DOMAIN-SUFFIX,zu08e.cn 98 | 99 | DOMAIN-SUFFIX,ad.cmvideo.cn 100 | DOMAIN-SUFFIX,ad.daum.net 101 | DOMAIN,abema-adx.ameba.jp 102 | DOMAIN,ad.12306.cn 103 | DOMAIN,ad.360in.com 104 | DOMAIN,ad.51wnl-cq.com 105 | DOMAIN,ad.caiyunapp.com 106 | DOMAIN,ad.huajiao.com 107 | DOMAIN,ad.hzyoka.com 108 | DOMAIN,ad.jiemian.com 109 | DOMAIN,ad.qingting.fm 110 | DOMAIN,ad.wappalyzer.com 111 | DOMAIN,ad-cn.jovcloud.com 112 | DOMAIN,adextra.51wnl-cq.com 113 | DOMAIN,api.adnet.mob.com 114 | DOMAIN,ads.adadapted.com 115 | DOMAIN,ads.chinadaily.com.cn 116 | DOMAIN,ads.daydaycook.com.cn 117 | DOMAIN,ads.weilitoutiao.net 118 | DOMAIN,adsapi.manhuaren.com 119 | DOMAIN,adsdk.dmzj.com 120 | DOMAIN,adserver.pandora.com 121 | DOMAIN,adshow.58.com 122 | DOMAIN,adui.tg.meitu.com 123 | DOMAIN,adv.bandi.so 124 | DOMAIN,app-ad.variflight.com 125 | DOMAIN,appnext.hs.llnwd.net 126 | DOMAIN,appnext-a.akamaihd.net 127 | DOMAIN,ggs.myzaker.com 128 | DOMAIN,itad.linetv.tw 129 | DOMAIN,ja.chushou.tv 130 | DOMAIN,mads.suning.com 131 | DOMAIN,mobileads.msn.com 132 | DOMAIN,mopnativeadv.037201.com 133 | DOMAIN,nativeadv.dftoutiao.com 134 | 135 | # (0~9) 136 | # > 58 同城 137 | # (A) 138 | # > Apple 139 | DOMAIN-SUFFIX,iadsdk.apple.com 140 | DOMAIN-SUFFIX,ads.internal.unity3d.com 141 | DOMAIN-SUFFIX,ads.prd.ie.internal.unity3d.com 142 | DOMAIN-SUFFIX,unityads.unity3d.com 143 | # > Alibaba 144 | DOMAIN,optimus-ads.amap.com 145 | DOMAIN,optimus-ads.amap.com.w.alikunlun.com 146 | DOMAIN,tunion-api.m.taobao.com 147 | # > AutoHome 148 | DOMAIN,adproxy.autohome.com.cn 149 | DOMAIN,rd.autohome.com.cn 150 | DOMAIN,al.autohome.com.cn 151 | DOMAIN,applogapi.autohome.com.cn 152 | # (B) 153 | # > Baidu 154 | DOMAIN-SUFFIX,cpro.baidu.com 155 | DOMAIN-SUFFIX,pos.baidu.com 156 | DOMAIN,afd.baidu.com 157 | DOMAIN,als.baidu.com 158 | DOMAIN,duclick.baidu.com 159 | DOMAIN,mobads.baidu.com 160 | DOMAIN,mobads-logs.baidu.com 161 | DOMAIN,nsclick.baidu.com 162 | # > ByteDance 163 | DOMAIN,ad.toutiao.com 164 | # > BitAuto 165 | DOMAIN,adx.yiche.com 166 | DOMAIN,log.ycapp.yiche.com 167 | # > 百词斩 168 | DOMAIN,advertise.baicizhan.com 169 | DOMAIN,advertise.baicizhan.org 170 | # (C) 171 | # > CNTV 172 | DOMAIN,galaxy.bjcathay.com 173 | DOMAIN,mdrecv.app.cntvwb.cn 174 | DOMAIN,sdapprecv.app.cntvwb.cn 175 | DOMAIN,vdapprecv.app.cntvwb.cn 176 | # > ChinaTelecom 177 | DOMAIN,ad.21cn.com 178 | DOMAIN,ad.k.21cn.com 179 | DOMAIN,admarket.21cn.com 180 | DOMAIN,adshows.21cn.com 181 | # > 车来了 182 | DOMAIN,atrace.chelaile.net.cn 183 | DOMAIN,logs.chelaile.net.cn 184 | # (G) 185 | # > Google 186 | DOMAIN-SUFFIX,doubleclick.net 187 | DOMAIN-SUFFIX,googleadservices.com 188 | DOMAIN-SUFFIX,googleadsserving.cn 189 | DOMAIN-SUFFIX,googlesyndication.com 190 | # (H) 191 | # > HunanTV 192 | DOMAIN-SUFFIX,da.mgtv.com 193 | DOMAIN-SUFFIX,da.hunantv.com 194 | # > Hupu 195 | DOMAIN,adx.hupu.com 196 | DOMAIN,adx-api.hupu.com 197 | DOMAIN,goblin.hupu.com 198 | # (I) 199 | # > iQiyi 200 | DOMAIN,t7z.cupid.iqiyi.com 201 | IP-CIDR,101.227.97.240/32,no-resolve 202 | IP-CIDR,101.227.200.11/32,no-resolve 203 | IP-CIDR,101.227.200.28/32,no-resolve 204 | IP-CIDR,124.192.153.42/32,no-resolve 205 | # > Ifeng 206 | DOMAIN-SUFFIX,deliver.ifeng.com 207 | DOMAIN,api.newad.ifeng.com 208 | DOMAIN,ifengad.3g.ifeng.com 209 | # (K) 210 | # > KuGou and Kuwo 211 | DOMAIN,adserviceretry.kugou.com 212 | DOMAIN,ads.service.kugou.com 213 | DOMAIN,adsfile.bssdlbig.kugou.com 214 | DOMAIN,g.koowo.com 215 | DOMAIN,kgmobilestat.kugou.com 216 | DOMAIN,kgmobilestatbak.kugou.com 217 | DOMAIN,mobilelog.kugou.com 218 | DOMAIN,mobilead.kuwo.cn 219 | DOMAIN,rich.kuwo.cn 220 | # > Kingsoft 221 | DOMAIN,ad-stat.ksosoft.com 222 | DOMAIN,img.auction-ads.wpscdn.cn 223 | DOMAIN,counter.kingsoft.com 224 | DOMAIN,counter.ksosoft.com 225 | DOMAIN,minfo.wps.cn 226 | DOMAIN,mobad.ijinshan.com 227 | DOMAIN,ups.ksmobile.net 228 | DOMAIN,ws.ksmobile.net 229 | # (L) 230 | # > Le 231 | DOMAIN-SUFFIX,webp2p.letv.com 232 | DOMAIN,ark.letv.com 233 | DOMAIN,emma-414870e223.huodonghezi.com 234 | DOMAIN,g3.letv.com 235 | DOMAIN,n.mark.letv.com 236 | # > 乐播投屏 237 | DOMAIN,ad.hpplay.cn 238 | DOMAIN,adcdn.hpplay.cn 239 | DOMAIN,adeng.hpplay.cn 240 | DOMAIN,rp.hpplay.cn 241 | # (M) 242 | # > MI 243 | DOMAIN-SUFFIX,ad.intl.xiaomi.com 244 | DOMAIN-SUFFIX,ad.xiaomi.com 245 | DOMAIN-SUFFIX,admob.xiaomi.com 246 | DOMAIN,adv.sec.intl.miui.com 247 | DOMAIN,adv.sec.miui.com 248 | # > 墨迹天气 249 | DOMAIN,ad.api.moji.com 250 | DOMAIN,adlaunch.moji.com 251 | DOMAIN,ads.mojicdn.com 252 | DOMAIN,v1.log.moji.com 253 | # (N) 254 | # > NetEase 255 | DOMAIN,ad.bn.netease.com 256 | DOMAIN,ad.yixin.im 257 | DOMAIN,admusicpic.music.126.net 258 | DOMAIN,gorgon.youdao.com 259 | DOMAIN,iadmat.nosdn.127.net 260 | DOMAIN,iadmusicmat.music.126.net 261 | DOMAIN,iadmusicmatvideo.music.126.net 262 | DOMAIN,impservice.dictapp.youdao.com 263 | DOMAIN,impservice.youdao.com 264 | DOMAIN,log.yex.youdao.com 265 | DOMAIN,log-yex.youdao.com 266 | DOMAIN,n.3g.163.com 267 | DOMAIN,nex.163.com 268 | DOMAIN,yt-adp.nosdn.127.net 269 | DOMAIN,yt-adp.ws.126.net 270 | # (P) 271 | # > PPTV 272 | DOMAIN,ads.aplus.pptv.com 273 | DOMAIN,ads.aplusapi.pptv.com 274 | DOMAIN,asimgs.pplive.cn 275 | DOMAIN,de.as.pptv.com 276 | # > Photoable 277 | DOMAIN,regist.fotoable.com 278 | DOMAIN,cdn.adapi.fotoable.com 279 | # > PeanutWiFiMpass 280 | DOMAIN,adnew.wifi8.com 281 | DOMAIN,adfile.wifi8.com 282 | # (S) 283 | # > Sina 284 | DOMAIN-SUFFIX,beacon.sina.com.cn 285 | DOMAIN,adimg.vue.weibo.com 286 | DOMAIN,u1.img.mobile.sina.cn 287 | DOMAIN,sax.sina.com.cn 288 | DOMAIN,saxs.sina.com.cn 289 | DOMAIN,saxn.sina.com.cn 290 | # > Sohu 291 | DOMAIN-SUFFIX,ad.sohu.com 292 | DOMAIN-SUFFIX,ads.sohu.com 293 | DOMAIN-SUFFIX,aty.sohu.com 294 | DOMAIN,imp.optaim.com 295 | DOMAIN,v2.reachmax.cn 296 | DOMAIN,track.sohu.com 297 | DOMAIN,hui.sohu.com 298 | # (T) 299 | # > Tencent 300 | DOMAIN-SUFFIX,e.qq.com 301 | DOMAIN-SUFFIX,gdt.qq.com 302 | DOMAIN-SUFFIX,l.qq.com 303 | DOMAIN,adsmind.apdcdn.tc.qq.com 304 | DOMAIN,adsmind.gdtimg.com 305 | DOMAIN,adsmind.tc.qq.com 306 | DOMAIN,pgdt.gtimg.cn 307 | DOMAIN,pgdt.gtimg.com 308 | DOMAIN,pgdt.ugdtimg.com 309 | DOMAIN,splashqqlive.gtimg.com 310 | DOMAIN,wa.gtimg.com 311 | DOMAIN,wxsnsdy.wxs.qq.com 312 | DOMAIN,wxsnsdythumb.wxs.qq.com 313 | # > The Paper 314 | DOMAIN,admonitor.thepaper.cn 315 | DOMAIN,adpai.thepaper.cn 316 | DOMAIN,imgadpai.thepaper.cn 317 | # > Thunder 318 | DOMAIN,adsp.xunlei.com 319 | DOMAIN,etl.xlmc.sandai.net 320 | # > 同花顺 321 | DOMAIN,adm.10jqka.com.cn 322 | DOMAIN,stat.10jqka.com.cn 323 | # > 太平洋 324 | DOMAIN,ad-analysis.pconline.com.cn 325 | DOMAIN,iad0ssl.pcauto.com.cn 326 | DOMAIN,iad0ssl.pconline.com.cn 327 | DOMAIN,imgad0.pcauto.com.cn 328 | DOMAIN,imgad0.pconline.com.cn 329 | DOMAIN,ivy.pchouse.com.cn 330 | # (W) 331 | # > WiFi 万能钥匙 332 | DOMAIN,a.wkanx.com 333 | DOMAIN,cwx.lianwangtech.com 334 | DOMAIN,c1wx.lianwangtech.com 335 | # (X) 336 | # > 喜马拉雅 337 | DOMAIN,ad.ximalaya.com 338 | DOMAIN,adbs.ximalaya.com 339 | DOMAIN,adse.ximalaya.com 340 | DOMAIN,adse.wsa.ximalaya.com 341 | DOMAIN,adbehavior.wsa.ximalaya.com 342 | DOMAIN,adsebs.ximalaya.com 343 | # > 小红书 344 | DOMAIN,ads-img-qc.xhscdn.com 345 | DOMAIN,ads-video-qc.xhscdn.com 346 | DOMAIN,t-ads.xiaohongshu.com 347 | # (Y) 348 | # > Youku 349 | DOMAIN-SUFFIX,atm.youku.com 350 | DOMAIN,ad.mobile.youku.com 351 | DOMAIN,iyes.youku.com 352 | # (Z) 353 | # > ZOL 354 | DOMAIN,apppv.zol.com.cn 355 | DOMAIN,pvnapp.zol.com.cn -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Apple.list: -------------------------------------------------------------------------------- 1 | # 如无特殊需求可不用加此策略及选择代理,在大部分地区 Apple CDN 可正常工作,使用代理后可能导致「Cannot Connect to iCloud」等问题 2 | # > Apple 3 | DOMAIN-SUFFIX,aaplimg.com 4 | DOMAIN-SUFFIX,apple.co 5 | DOMAIN-SUFFIX,apple.com 6 | DOMAIN-SUFFIX,apple-cloudkit.com 7 | DOMAIN-SUFFIX,appstore.com 8 | DOMAIN-SUFFIX,cdn-apple.com 9 | DOMAIN-SUFFIX,crashlytics.com 10 | DOMAIN-SUFFIX,icloud.com 11 | DOMAIN-SUFFIX,icloud-content.com 12 | DOMAIN-SUFFIX,me.com 13 | DOMAIN-SUFFIX,mzstatic.com 14 | DOMAIN,www-cdn.icloud.com.akadns.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/AppleNews.list: -------------------------------------------------------------------------------- 1 | # > Apple News and Apple Map TOMTOM Version 2 | DOMAIN,gspe1-ssl.ls.apple.com 3 | PROCESS-NAME,News 4 | USER-AGENT,AppleNews* 5 | USER-AGENT,com.apple.news* 6 | DOMAIN-SUFFIX,apple.news 7 | DOMAIN,news-client.apple.com 8 | DOMAIN,news-edge.apple.com 9 | DOMAIN,news-events.apple.com 10 | DOMAIN,apple.comscoreresearch.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/China.list: -------------------------------------------------------------------------------- 1 | # China Area Network 2 | # > 360 3 | DOMAIN-SUFFIX,qhres.com 4 | DOMAIN-SUFFIX,qhimg.com 5 | # > Akamai 6 | DOMAIN-SUFFIX,akadns.net 7 | # DOMAIN-SUFFIX,akamai.net 8 | # DOMAIN-SUFFIX,akamaiedge.net 9 | # DOMAIN-SUFFIX,akamaihd.net 10 | # DOMAIN-SUFFIX,akamaistream.net 11 | # DOMAIN-SUFFIX,akamaized.net 12 | # > Alibaba 13 | USER-AGENT,%E4%BC%98%E9%85%B7* 14 | DOMAIN-SUFFIX,alibaba.com 15 | DOMAIN-SUFFIX,alicdn.com 16 | DOMAIN-SUFFIX,alikunlun.com 17 | DOMAIN-SUFFIX,alipay.com 18 | DOMAIN-SUFFIX,amap.com 19 | DOMAIN-SUFFIX,autonavi.com 20 | DOMAIN-SUFFIX,dingtalk.com 21 | DOMAIN-SUFFIX,mxhichina.com 22 | DOMAIN-SUFFIX,soku.com 23 | DOMAIN-SUFFIX,taobao.com 24 | DOMAIN-SUFFIX,tmall.com 25 | DOMAIN-SUFFIX,tmall.hk 26 | DOMAIN-SUFFIX,ykimg.com 27 | DOMAIN-SUFFIX,youku.com 28 | DOMAIN-SUFFIX,xiami.com 29 | DOMAIN-SUFFIX,xiami.net 30 | # > Apple 31 | DOMAIN-SUFFIX,aaplimg.com 32 | DOMAIN-SUFFIX,apple.co 33 | DOMAIN-SUFFIX,apple.com 34 | DOMAIN-SUFFIX,apple-cloudkit.com 35 | DOMAIN-SUFFIX,appstore.com 36 | DOMAIN-SUFFIX,cdn-apple.com 37 | DOMAIN-SUFFIX,crashlytics.com 38 | DOMAIN-SUFFIX,icloud.com 39 | DOMAIN-SUFFIX,icloud-content.com 40 | DOMAIN-SUFFIX,me.com 41 | DOMAIN-SUFFIX,mzstatic.com 42 | DOMAIN,www-cdn.icloud.com.akadns.net 43 | # > Baidu 44 | DOMAIN-SUFFIX,baidu.com 45 | DOMAIN-SUFFIX,baidubcr.com 46 | DOMAIN-SUFFIX,bdstatic.com 47 | DOMAIN-SUFFIX,yunjiasu-cdn.net 48 | # > bilibili 49 | USER-AGENT,bili* 50 | USER-AGENT,Bilibili* 51 | DOMAIN-SUFFIX,acg.tv 52 | DOMAIN-SUFFIX,acgvideo.com 53 | DOMAIN-SUFFIX,b23.tv 54 | DOMAIN-SUFFIX,biliapi.com 55 | DOMAIN-SUFFIX,biliapi.net 56 | DOMAIN-SUFFIX,bilibili.com 57 | DOMAIN-SUFFIX,bilibili.tv 58 | DOMAIN-SUFFIX,biligame.com 59 | DOMAIN-SUFFIX,biligame.net 60 | DOMAIN-SUFFIX,bilivideo.com 61 | DOMAIN-SUFFIX,hdslb.com 62 | DOMAIN-SUFFIX,im9.com 63 | DOMAIN,upos-hz-mirrorakam.akamaized.net 64 | # > Blizzard 65 | DOMAIN-SUFFIX,blizzard.com 66 | DOMAIN-SUFFIX,battle.net 67 | DOMAIN,blzddist1-a.akamaihd.net 68 | # > ByteDance 69 | DOMAIN-SUFFIX,feiliao.com 70 | DOMAIN-SUFFIX,pstatp.com 71 | DOMAIN-SUFFIX,snssdk.com 72 | DOMAIN-SUFFIX,iesdouyin.com 73 | DOMAIN-SUFFIX,toutiao.com 74 | # > CCTV 75 | DOMAIN-SUFFIX,cctv.com 76 | DOMAIN-SUFFIX,cctvpic.com 77 | DOMAIN-SUFFIX,livechina.com 78 | # > DiDi 79 | DOMAIN-SUFFIX,didialift.com 80 | DOMAIN-SUFFIX,didiglobal.com 81 | DOMAIN-SUFFIX,udache.com 82 | # > 蛋蛋赞 83 | DOMAIN-SUFFIX,343480.com 84 | DOMAIN-SUFFIX,baduziyuan.com 85 | DOMAIN-SUFFIX,com-hs-hkdy.com 86 | DOMAIN-SUFFIX,czybjz.com 87 | DOMAIN-SUFFIX,dandanzan.com 88 | DOMAIN-SUFFIX,fjhps.com 89 | DOMAIN-SUFFIX,kuyunbo.club 90 | # > ChinaNet 91 | DOMAIN-SUFFIX,21cn.com 92 | # > HunanTV 93 | DOMAIN-SUFFIX,hitv.com 94 | DOMAIN-SUFFIX,mgtv.com 95 | # > iQiYi 96 | USER-AGENT,QIYI* 97 | USER-AGENT,iQiYi* 98 | DOMAIN-KEYWORD,qiyi 99 | DOMAIN-SUFFIX,qy.net 100 | IP-CIDR,101.227.0.0/16,no-resolve 101 | IP-CIDR,101.224.0.0/13,no-resolve 102 | IP-CIDR,119.176.0.0/12,no-resolve 103 | DOMAIN-SUFFIX,71.am.com 104 | # > JD 105 | DOMAIN-SUFFIX,jd.com 106 | DOMAIN-SUFFIX,jd.hk 107 | DOMAIN-SUFFIX,jdpay.com 108 | DOMAIN-SUFFIX,360buyimg.com 109 | # > Kingsoft 110 | DOMAIN-SUFFIX,iciba.com 111 | DOMAIN-SUFFIX,ksosoft.com 112 | # > Meitu 113 | DOMAIN-SUFFIX,meitu.com 114 | DOMAIN-SUFFIX,meitudata.com 115 | DOMAIN-SUFFIX,meitustat.com 116 | DOMAIN-SUFFIX,meipai.com 117 | # > MI 118 | DOMAIN-SUFFIX,duokan.com 119 | DOMAIN-SUFFIX,mi-img.com 120 | DOMAIN-SUFFIX,miui.com 121 | DOMAIN-SUFFIX,miwifi.com 122 | DOMAIN-SUFFIX,xiaomi.com 123 | # > Microsoft 124 | DOMAIN-SUFFIX,microsoft.com 125 | DOMAIN-SUFFIX,msecnd.net 126 | DOMAIN-SUFFIX,office365.com 127 | DOMAIN-SUFFIX,outlook.com 128 | DOMAIN-SUFFIX,s-microsoft.com 129 | DOMAIN-SUFFIX,visualstudio.com 130 | DOMAIN-SUFFIX,windows.com 131 | DOMAIN-SUFFIX,windowsupdate.com 132 | DOMAIN,officecdn-microsoft-com.akamaized.net 133 | # > NetEase 134 | USER-AGENT,NeteaseMusic* 135 | USER-AGENT,%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90* 136 | DOMAIN-SUFFIX,163.com 137 | DOMAIN-SUFFIX,126.net 138 | DOMAIN-SUFFIX,127.net 139 | DOMAIN-SUFFIX,163yun.com 140 | DOMAIN-SUFFIX,lofter.com 141 | DOMAIN-SUFFIX,netease.com 142 | DOMAIN-SUFFIX,ydstatic.com 143 | # > Sina 144 | DOMAIN-SUFFIX,sina.com 145 | DOMAIN-SUFFIX,weibo.com 146 | DOMAIN-SUFFIX,weibocdn.com 147 | # > Sohu 148 | DOMAIN-SUFFIX,sohu.com 149 | DOMAIN-SUFFIX,sohucs.com 150 | DOMAIN-SUFFIX,sohu-inc.com 151 | DOMAIN-SUFFIX,v-56.com 152 | # > Sogo 153 | DOMAIN-SUFFIX,sogo.com 154 | DOMAIN-SUFFIX,sogou.com 155 | DOMAIN-SUFFIX,sogoucdn.com 156 | # > Steam 157 | DOMAIN-SUFFIX,steampowered.com 158 | DOMAIN-SUFFIX,steam-chat.com 159 | DOMAIN-SUFFIX,steamgames.com 160 | DOMAIN-SUFFIX,steamusercontent.com 161 | DOMAIN-SUFFIX,steamcontent.com 162 | DOMAIN-SUFFIX,steamstatic.com 163 | DOMAIN-SUFFIX,steamcdn-a.akamaihd.net 164 | DOMAIN-SUFFIX,steamstat.us 165 | # > Tencent 166 | USER-AGENT,MicroMessenger%20Client 167 | USER-AGENT,WeChat* 168 | USER-AGENT,%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1* 169 | DOMAIN-SUFFIX,gtimg.com 170 | DOMAIN-SUFFIX,idqqimg.com 171 | DOMAIN-SUFFIX,igamecj.com 172 | DOMAIN-SUFFIX,myapp.com 173 | DOMAIN-SUFFIX,myqcloud.com 174 | DOMAIN-SUFFIX,qq.com 175 | DOMAIN-SUFFIX,servicewechat.com 176 | DOMAIN-SUFFIX,tencent.com 177 | DOMAIN-SUFFIX,tencent-cloud.net 178 | DOMAIN-SUFFIX,tenpay.com 179 | DOMAIN,file-igamecj.akamaized.net 180 | # > YYeTs 181 | USER-AGENT,YYeTs* 182 | DOMAIN-SUFFIX,jstucdn.com 183 | DOMAIN-SUFFIX,zimuzu.io 184 | DOMAIN-SUFFIX,zimuzu.tv 185 | DOMAIN-SUFFIX,zmz2019.com 186 | DOMAIN-SUFFIX,zmzapi.com 187 | DOMAIN-SUFFIX,zmzapi.net 188 | DOMAIN-SUFFIX,zmzfile.com 189 | # > Content Delivery Network 190 | DOMAIN-SUFFIX,ccgslb.com 191 | DOMAIN-SUFFIX,ccgslb.net 192 | DOMAIN-SUFFIX,chinanetcenter.com 193 | DOMAIN-SUFFIX,meixincdn.com 194 | DOMAIN-SUFFIX,ourdvs.com 195 | DOMAIN-SUFFIX,staticdn.net 196 | DOMAIN-SUFFIX,wangsu.com 197 | # > IP Query 198 | DOMAIN-SUFFIX,ipip.net 199 | DOMAIN-SUFFIX,ip.la 200 | DOMAIN-SUFFIX,ip-cdn.com 201 | DOMAIN-SUFFIX,ipv6-test.com 202 | DOMAIN-SUFFIX,test-ipv6.com 203 | DOMAIN-SUFFIX,whatismyip.com 204 | # > Speed Test 205 | # DOMAIN-SUFFIX,speedtest.net 206 | DOMAIN-SUFFIX,netspeedtestmaster.com 207 | DOMAIN,speedtest.macpaw.com 208 | # > Private Tracker 209 | DOMAIN-SUFFIX,awesome-hd.me 210 | DOMAIN-SUFFIX,broadcasthe.net 211 | DOMAIN-SUFFIX,chdbits.co 212 | DOMAIN-SUFFIX,classix-unlimited.co.uk 213 | DOMAIN-SUFFIX,empornium.me 214 | DOMAIN-SUFFIX,gazellegames.net 215 | DOMAIN-SUFFIX,hdchina.org 216 | DOMAIN-SUFFIX,hdsky.me 217 | DOMAIN-SUFFIX,icetorrent.org 218 | DOMAIN-SUFFIX,jpopsuki.eu 219 | DOMAIN-SUFFIX,keepfrds.com 220 | DOMAIN-SUFFIX,madsrevolution.net 221 | DOMAIN-SUFFIX,m-team.cc 222 | DOMAIN-SUFFIX,nanyangpt.com 223 | DOMAIN-SUFFIX,ncore.cc 224 | DOMAIN-SUFFIX,open.cd 225 | DOMAIN-SUFFIX,ourbits.club 226 | DOMAIN-SUFFIX,passthepopcorn.me 227 | DOMAIN-SUFFIX,privatehd.to 228 | DOMAIN-SUFFIX,redacted.ch 229 | DOMAIN-SUFFIX,springsunday.net 230 | DOMAIN-SUFFIX,tjupt.org 231 | DOMAIN-SUFFIX,totheglory.im 232 | # > Scholar 233 | DOMAIN-SUFFIX,acm.org 234 | DOMAIN-SUFFIX,acs.org 235 | DOMAIN-SUFFIX,aip.org 236 | DOMAIN-SUFFIX,ams.org 237 | DOMAIN-SUFFIX,annualreviews.org 238 | DOMAIN-SUFFIX,aps.org 239 | DOMAIN-SUFFIX,ascelibrary.org 240 | DOMAIN-SUFFIX,asm.org 241 | DOMAIN-SUFFIX,asme.org 242 | DOMAIN-SUFFIX,astm.org 243 | DOMAIN-SUFFIX,bmj.com 244 | DOMAIN-SUFFIX,cambridge.org 245 | DOMAIN-SUFFIX,cas.org 246 | DOMAIN-SUFFIX,clarivate.com 247 | DOMAIN-SUFFIX,ebscohost.com 248 | DOMAIN-SUFFIX,emerald.com 249 | DOMAIN-SUFFIX,engineeringvillage.com 250 | DOMAIN-SUFFIX,icevirtuallibrary.com 251 | DOMAIN-SUFFIX,ieee.org 252 | DOMAIN-SUFFIX,imf.org 253 | DOMAIN-SUFFIX,iop.org 254 | DOMAIN-SUFFIX,jamanetwork.com 255 | DOMAIN-SUFFIX,jhu.edu 256 | DOMAIN-SUFFIX,jstor.org 257 | DOMAIN-SUFFIX,karger.com 258 | DOMAIN-SUFFIX,libguides.com 259 | DOMAIN-SUFFIX,madsrevolution.net 260 | DOMAIN-SUFFIX,mpg.de 261 | DOMAIN-SUFFIX,myilibrary.com 262 | DOMAIN-SUFFIX,nature.com 263 | DOMAIN-SUFFIX,oecd-ilibrary.org 264 | DOMAIN-SUFFIX,osapublishing.org 265 | DOMAIN-SUFFIX,oup.com 266 | DOMAIN-SUFFIX,ovid.com 267 | DOMAIN-SUFFIX,oxfordartonline.com 268 | DOMAIN-SUFFIX,oxfordbibliographies.com 269 | DOMAIN-SUFFIX,oxfordmusiconline.com 270 | DOMAIN-SUFFIX,pnas.org 271 | DOMAIN-SUFFIX,proquest.com 272 | DOMAIN-SUFFIX,rsc.org 273 | DOMAIN-SUFFIX,sagepub.com 274 | DOMAIN-SUFFIX,sciencedirect.com 275 | DOMAIN-SUFFIX,sciencemag.org 276 | DOMAIN-SUFFIX,scopus.com 277 | DOMAIN-SUFFIX,siam.org 278 | DOMAIN-SUFFIX,spiedigitallibrary.org 279 | DOMAIN-SUFFIX,springer.com 280 | DOMAIN-SUFFIX,springerlink.com 281 | DOMAIN-SUFFIX,tandfonline.com 282 | DOMAIN-SUFFIX,un.org 283 | DOMAIN-SUFFIX,uni-bielefeld.de 284 | DOMAIN-SUFFIX,webofknowledge.com 285 | DOMAIN-SUFFIX,westlaw.com 286 | DOMAIN-SUFFIX,wiley.com 287 | DOMAIN-SUFFIX,worldbank.org 288 | DOMAIN-SUFFIX,worldscientific.com 289 | # > Other 290 | DOMAIN-SUFFIX,cn 291 | DOMAIN-SUFFIX,360in.com 292 | DOMAIN-SUFFIX,51ym.me 293 | DOMAIN-SUFFIX,8686c.com 294 | DOMAIN-SUFFIX,abchina.com 295 | DOMAIN-SUFFIX,accuweather.com 296 | DOMAIN-SUFFIX,aicoinstorge.com 297 | DOMAIN-SUFFIX,air-matters.com 298 | DOMAIN-SUFFIX,air-matters.io 299 | DOMAIN-SUFFIX,aixifan.com 300 | DOMAIN-SUFFIX,amd.com 301 | DOMAIN-SUFFIX,b612.net 302 | DOMAIN-SUFFIX,bdatu.com 303 | DOMAIN-SUFFIX,beitaichufang.com 304 | DOMAIN-SUFFIX,bjango.com 305 | DOMAIN-SUFFIX,booking.com 306 | DOMAIN-SUFFIX,bstatic.com 307 | DOMAIN-SUFFIX,cailianpress.com 308 | DOMAIN-SUFFIX,camera360.com 309 | DOMAIN-SUFFIX,chinaso.com 310 | DOMAIN-SUFFIX,chua.pro 311 | DOMAIN-SUFFIX,chuimg.com 312 | DOMAIN-SUFFIX,chunyu.mobi 313 | DOMAIN-SUFFIX,chushou.tv 314 | DOMAIN-SUFFIX,cmbchina.com 315 | DOMAIN-SUFFIX,cmbimg.com 316 | DOMAIN-SUFFIX,ctrip.com 317 | DOMAIN-SUFFIX,dfcfw.com 318 | DOMAIN-SUFFIX,docschina.org 319 | DOMAIN-SUFFIX,douban.com 320 | DOMAIN-SUFFIX,doubanio.com 321 | DOMAIN-SUFFIX,douyu.com 322 | DOMAIN-SUFFIX,dxycdn.com 323 | DOMAIN-SUFFIX,dytt8.net 324 | DOMAIN-SUFFIX,eastmoney.com 325 | DOMAIN-SUFFIX,eudic.net 326 | DOMAIN-SUFFIX,feng.com 327 | DOMAIN-SUFFIX,fengkongcloud.com 328 | DOMAIN-SUFFIX,frdic.com 329 | DOMAIN-SUFFIX,futu5.com 330 | DOMAIN-SUFFIX,futunn.com 331 | DOMAIN-SUFFIX,gandi.net 332 | DOMAIN-SUFFIX,geilicdn.com 333 | DOMAIN-SUFFIX,getpricetag.com 334 | DOMAIN-SUFFIX,gifshow.com 335 | DOMAIN-SUFFIX,godic.net 336 | DOMAIN-SUFFIX,hicloud.com 337 | DOMAIN-SUFFIX,hongxiu.com 338 | DOMAIN-SUFFIX,hostbuf.com 339 | DOMAIN-SUFFIX,huxiucdn.com 340 | DOMAIN-SUFFIX,huya.com 341 | DOMAIN-SUFFIX,infinitynewtab.com 342 | DOMAIN-SUFFIX,ithome.com 343 | DOMAIN-SUFFIX,java.com 344 | DOMAIN-SUFFIX,jidian.im 345 | DOMAIN-SUFFIX,kaiyanapp.com 346 | DOMAIN-SUFFIX,kaspersky-labs.com 347 | DOMAIN-SUFFIX,keepcdn.com 348 | DOMAIN-SUFFIX,kkmh.com 349 | DOMAIN-SUFFIX,licdn.com 350 | DOMAIN-SUFFIX,linkedin.com 351 | DOMAIN-SUFFIX,loli.net 352 | DOMAIN-SUFFIX,luojilab.com 353 | DOMAIN-SUFFIX,maoyan.com 354 | DOMAIN-SUFFIX,maoyun.tv 355 | DOMAIN-SUFFIX,meituan.com 356 | DOMAIN-SUFFIX,meituan.net 357 | DOMAIN-SUFFIX,mobike.com 358 | DOMAIN-SUFFIX,moke.com 359 | DOMAIN-SUFFIX,mubu.com 360 | DOMAIN-SUFFIX,myzaker.com 361 | DOMAIN-SUFFIX,nim-lang-cn.org 362 | DOMAIN-SUFFIX,nvidia.com 363 | DOMAIN-SUFFIX,oracle.com 364 | DOMAIN-KEYWORD,paypal 365 | DOMAIN-SUFFIX,qdaily.com 366 | DOMAIN-SUFFIX,qidian.com 367 | DOMAIN-SUFFIX,qyer.com 368 | DOMAIN-SUFFIX,qyerstatic.com 369 | DOMAIN-SUFFIX,raychase.net 370 | DOMAIN-SUFFIX,ronghub.com 371 | DOMAIN-SUFFIX,ruguoapp.com 372 | DOMAIN-SUFFIX,s-reader.com 373 | DOMAIN-SUFFIX,sankuai.com 374 | DOMAIN-SUFFIX,scomper.me 375 | DOMAIN-SUFFIX,seafile.com 376 | DOMAIN-SUFFIX,sm.ms 377 | DOMAIN-SUFFIX,smzdm.com 378 | DOMAIN-SUFFIX,snapdrop.net 379 | DOMAIN-SUFFIX,snwx.com 380 | DOMAIN-SUFFIX,sspai.com 381 | DOMAIN-SUFFIX,takungpao.com 382 | DOMAIN-SUFFIX,teamviewer.com 383 | DOMAIN-SUFFIX,tianyancha.com 384 | DOMAIN-SUFFIX,udacity.com 385 | DOMAIN-SUFFIX,uning.com 386 | DOMAIN-SUFFIX,vmware.com 387 | DOMAIN-SUFFIX,weather.com 388 | DOMAIN-SUFFIX,weico.cc 389 | DOMAIN-SUFFIX,weidian.com 390 | DOMAIN-SUFFIX,xiachufang.com 391 | DOMAIN-SUFFIX,ximalaya.com 392 | DOMAIN-SUFFIX,xinhuanet.com 393 | DOMAIN-SUFFIX,xmcdn.com 394 | DOMAIN-SUFFIX,yangkeduo.com 395 | DOMAIN-SUFFIX,zhangzishi.cc 396 | DOMAIN-SUFFIX,zhihu.com 397 | DOMAIN-SUFFIX,zhimg.com 398 | DOMAIN-SUFFIX,zhuihd.com 399 | DOMAIN,download.jetbrains.com 400 | DOMAIN,images-cn.ssl-images-amazon.com 401 | 402 | # DNSPod Public DNS+ 403 | IP-CIDR,119.28.28.28/32,no-resolve 404 | IP-CIDR,223.5.5.5/32,no-resolve 405 | IP-CIDR,223.6.6.6/32,no-resolve 406 | IP-CIDR,1.2.4.8/32,no-resolve 407 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Cloudflare.list: -------------------------------------------------------------------------------- 1 | # > Cloudflare 2 | DOMAIN-SUFFIX,cloudflare.com 3 | IP-CIDR,173.245.48.0/20 4 | IP-CIDR,103.21.244.0/22 5 | IP-CIDR,103.22.200.0/22 6 | IP-CIDR,103.31.4.0/22 7 | IP-CIDR,141.101.64.0/18 8 | IP-CIDR,108.162.192.0/18 9 | IP-CIDR,190.93.240.0/20 10 | IP-CIDR,188.114.96.0/20 11 | IP-CIDR,197.234.240.0/22 12 | IP-CIDR,198.41.128.0/17 13 | IP-CIDR,162.158.0.0/15 14 | IP-CIDR,104.16.0.0/12 15 | IP-CIDR,172.64.0.0/13 16 | IP-CIDR,131.0.72.0/22 -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/DomesticMedia.list: -------------------------------------------------------------------------------- 1 | # (DomesticMedia) 2 | # > 愛奇藝台灣站 3 | DOMAIN,cache.video.iqiyi.com 4 | # > bilibili 5 | DOMAIN,api.bilibili.com 6 | DOMAIN,upos-hz-mirrorakam.akamaized.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/ForeignMedia.list: -------------------------------------------------------------------------------- 1 | # (ForeignMedia) 2 | # (Music) 3 | # > Deezer 4 | USER-AGENT,Deezer* 5 | DOMAIN-SUFFIX,deezer.com 6 | DOMAIN-SUFFIX,dzcdn.net 7 | # > KKBOX 8 | DOMAIN-SUFFIX,kkbox.com 9 | DOMAIN-SUFFIX,kkbox.com.tw 10 | DOMAIN-SUFFIX,kfs.io 11 | # > JOOX 12 | USER-AGENT,WeMusic* 13 | USER-AGENT,JOOX* 14 | DOMAIN-SUFFIX,joox.com 15 | # > Pandora 16 | USER-AGENT,Pandora* 17 | DOMAIN-SUFFIX,pandora.com 18 | # > SoundCloud 19 | USER-AGENT,SoundCloud* 20 | DOMAIN-SUFFIX,p-cdn.us 21 | DOMAIN-SUFFIX,sndcdn.com 22 | DOMAIN-SUFFIX,soundcloud.com 23 | # > Spotify 24 | USER-AGENT,Spotify* 25 | DOMAIN-SUFFIX,pscdn.co 26 | DOMAIN-SUFFIX,scdn.co 27 | DOMAIN-SUFFIX,spotify.com 28 | DOMAIN-SUFFIX,spoti.fi 29 | DOMAIN-KEYWORD,spotify.com 30 | DOMAIN-KEYWORD,-spotify-com 31 | # > TIDAL 32 | USER-AGENT,TIDAL* 33 | DOMAIN-SUFFIX,tidal.com 34 | # > YouTubeMusic 35 | USER-AGENT,com.google.ios.youtubemusic* 36 | USER-AGENT,YouTubeMusic* 37 | # (Video) 38 | # > All4 39 | USER-AGENT,All4* 40 | DOMAIN-SUFFIX,c4assets.com 41 | DOMAIN-SUFFIX,channel4.com 42 | # > AbemaTV 43 | USER-AGENT,AbemaTV* 44 | DOMAIN-SUFFIX,abema.io 45 | DOMAIN-SUFFIX,ameba.jp 46 | DOMAIN-SUFFIX,abema.tv 47 | DOMAIN-SUFFIX,hayabusa.io 48 | DOMAIN,abematv.akamaized.net 49 | DOMAIN,ds-linear-abematv.akamaized.net 50 | DOMAIN,ds-vod-abematv.akamaized.net 51 | DOMAIN,linear-abematv.akamaized.net 52 | # > Amazon Prime Video 53 | USER-AGENT,InstantVideo.US* 54 | USER-AGENT,Prime%20Video* 55 | DOMAIN-SUFFIX,aiv-cdn.net 56 | DOMAIN-SUFFIX,aiv-delivery.net 57 | DOMAIN-SUFFIX,amazonvideo.com 58 | DOMAIN-SUFFIX,primevideo.com 59 | DOMAIN,avodmp4s3ww-a.akamaihd.net 60 | DOMAIN,d25xi40x97liuc.cloudfront.net 61 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 62 | DOMAIN,d22qjgkvxw22r6.cloudfront.net 63 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net 64 | DOMAIN-KEYWORD,avoddashs 65 | # > Bahamut 66 | USER-AGENT,Anime* 67 | DOMAIN-SUFFIX,bahamut.com.tw 68 | DOMAIN-SUFFIX,gamer.com.tw 69 | DOMAIN,gamer-cds.cdn.hinet.net 70 | DOMAIN,gamer2-cds.cdn.hinet.net 71 | # > BBC iPlayer 72 | USER-AGENT,BBCiPlayer* 73 | DOMAIN-SUFFIX,bbc.co.uk 74 | DOMAIN-SUFFIX,bbci.co.uk 75 | DOMAIN-KEYWORD,bbcfmt 76 | DOMAIN-KEYWORD,uk-live 77 | # > DAZN 78 | USER-AGENT,DAZN* 79 | DOMAIN-SUFFIX,dazn.com 80 | DOMAIN-SUFFIX,dazn-api.com 81 | DOMAIN,d151l6v8er5bdm.cloudfront.net 82 | DOMAIN-KEYWORD,voddazn 83 | # > Disney+ 84 | USER-AGENT,Disney+* 85 | DOMAIN-SUFFIX,bamgrid.com 86 | DOMAIN-SUFFIX,disney-plus.net 87 | DOMAIN-SUFFIX,disneyplus.com 88 | DOMAIN-SUFFIX,dssott.com 89 | DOMAIN,cdn.registerdisney.go.com 90 | # > encoreTVB 91 | USER-AGENT,encoreTVB* 92 | DOMAIN-SUFFIX,encoretvb.com 93 | DOMAIN,edge.api.brightcove.com 94 | DOMAIN,bcbolt446c5271-a.akamaihd.net 95 | # > FOX NOW 96 | USER-AGENT,FOX%20NOW* 97 | DOMAIN-SUFFIX,fox.com 98 | DOMAIN-SUFFIX,foxdcg.com 99 | DOMAIN-SUFFIX,theplatform.com 100 | DOMAIN-SUFFIX,uplynk.com 101 | # > HBO NOW 102 | USER-AGENT,HBO%20NOW* 103 | DOMAIN-SUFFIX,hbo.com 104 | DOMAIN-SUFFIX,hbogo.com 105 | DOMAIN-SUFFIX,hbonow.com 106 | # > HBO GO HKG 107 | USER-AGENT,HBO%20GO%20PROD%20HKG* 108 | DOMAIN-SUFFIX,hbogoasia.com 109 | DOMAIN-SUFFIX,hbogoasia.hk 110 | DOMAIN,bcbolthboa-a.akamaihd.net 111 | DOMAIN,players.brightcove.net 112 | DOMAIN,s3-ap-southeast-1.amazonaws.com 113 | DOMAIN,dai3fd1oh325y.cloudfront.net 114 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 115 | DOMAIN,hboasia1-i.akamaihd.net 116 | DOMAIN,hboasia2-i.akamaihd.net 117 | DOMAIN,hboasia3-i.akamaihd.net 118 | DOMAIN,hboasia4-i.akamaihd.net 119 | DOMAIN,hboasia5-i.akamaihd.net 120 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net 121 | # > 华文电视 122 | USER-AGENT,HWTVMobile* 123 | DOMAIN-SUFFIX,5itv.tv 124 | DOMAIN-SUFFIX,ocnttv.com 125 | # > Hulu 126 | DOMAIN-SUFFIX,hulu.com 127 | DOMAIN-SUFFIX,huluim.com 128 | DOMAIN-SUFFIX,hulustream.com 129 | # > Hulu(フールー) 130 | DOMAIN-SUFFIX,happyon.jp 131 | DOMAIN-SUFFIX,hulu.jp 132 | # > ITV 133 | USER-AGENT,ITV_Player* 134 | DOMAIN-SUFFIX,itv.com 135 | DOMAIN-SUFFIX,itvstatic.com 136 | DOMAIN,itvpnpmobile-a.akamaihd.net 137 | # > KKTV 138 | USER-AGENT,KKTV* 139 | USER-AGENT,com.kktv.ios.kktv* 140 | DOMAIN-SUFFIX,kktv.com.tw 141 | DOMAIN-SUFFIX,kktv.me 142 | DOMAIN,kktv-theater.kk.stream 143 | # > Line TV 144 | USER-AGENT,LINE%20TV* 145 | DOMAIN-SUFFIX,linetv.tw 146 | DOMAIN,d3c7rimkq79yfu.cloudfront.net 147 | # > LiTV 148 | DOMAIN-SUFFIX,litv.tv 149 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net 150 | # > My5 151 | USER-AGENT,My5* 152 | DOMAIN-SUFFIX,channel5.com 153 | DOMAIN-SUFFIX,my5.tv 154 | DOMAIN,d349g9zuie06uo.cloudfront.net 155 | # > myTV SUPER 156 | USER-AGENT,mytv* 157 | DOMAIN-SUFFIX,mytvsuper.com 158 | DOMAIN-SUFFIX,tvb.com 159 | # > Netflix 160 | USER-AGENT,Argo* 161 | DOMAIN-SUFFIX,netflix.com 162 | DOMAIN-SUFFIX,netflix.net 163 | DOMAIN-SUFFIX,nflxext.com 164 | DOMAIN-SUFFIX,nflximg.com 165 | DOMAIN-SUFFIX,nflximg.net 166 | DOMAIN-SUFFIX,nflxso.net 167 | DOMAIN-SUFFIX,nflxvideo.net 168 | DOMAIN-SUFFIX,netflixdnstest0.com 169 | DOMAIN-SUFFIX,netflixdnstest1.com 170 | DOMAIN-SUFFIX,netflixdnstest2.com 171 | DOMAIN-SUFFIX,netflixdnstest3.com 172 | DOMAIN-SUFFIX,netflixdnstest4.com 173 | DOMAIN-SUFFIX,netflixdnstest5.com 174 | DOMAIN-SUFFIX,netflixdnstest6.com 175 | DOMAIN-SUFFIX,netflixdnstest7.com 176 | DOMAIN-SUFFIX,netflixdnstest8.com 177 | DOMAIN-SUFFIX,netflixdnstest9.com 178 | IP-CIDR,23.246.0.0/18,no-resolve 179 | IP-CIDR,37.77.184.0/21,no-resolve 180 | IP-CIDR,45.57.0.0/17,no-resolve 181 | IP-CIDR,64.120.128.0/17,no-resolve 182 | IP-CIDR,66.197.128.0/17,no-resolve 183 | IP-CIDR,108.175.32.0/20,no-resolve 184 | IP-CIDR,192.173.64.0/18,no-resolve 185 | IP-CIDR,198.38.96.0/19,no-resolve 186 | IP-CIDR,198.45.48.0/20,no-resolve 187 | # > niconico 188 | USER-AGENT,Niconico* 189 | DOMAIN-SUFFIX,dmc.nico 190 | DOMAIN-SUFFIX,nicovideo.jp 191 | DOMAIN-SUFFIX,nimg.jp 192 | DOMAIN-SUFFIX,socdm.com 193 | # > PBS 194 | USER-AGENT,PBS* 195 | DOMAIN-SUFFIX,pbs.org 196 | # > Pornhub 197 | DOMAIN-SUFFIX,phncdn.com 198 | DOMAIN-SUFFIX,pornhub.com 199 | DOMAIN-SUFFIX,pornhubpremium.com 200 | # > 台湾好 201 | USER-AGENT,TaiwanGood* 202 | DOMAIN-SUFFIX,skyking.com.tw 203 | DOMAIN,hamifans.emome.net 204 | # > Twitch 205 | DOMAIN-SUFFIX,twitch.tv 206 | DOMAIN-SUFFIX,twitchcdn.net 207 | DOMAIN-SUFFIX,ttvnw.net 208 | DOMAIN-SUFFIX,jtvnw.net 209 | # > ViuTV 210 | USER-AGENT,Viu* 211 | USER-AGENT,ViuTV* 212 | DOMAIN-SUFFIX,viu.com 213 | DOMAIN-SUFFIX,viu.tv 214 | DOMAIN,api.viu.now.com 215 | DOMAIN,d1k2us671qcoau.cloudfront.net 216 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 217 | DOMAIN,dfp6rglgjqszk.cloudfront.net 218 | # > YouTube 219 | USER-AGENT,com.google.ios.youtube* 220 | USER-AGENT,YouTube* 221 | DOMAIN-SUFFIX,googlevideo.com 222 | DOMAIN-SUFFIX,youtube.com 223 | DOMAIN,youtubei.googleapis.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Global.list: -------------------------------------------------------------------------------- 1 | # (DNS Cache Pollution Protection) 2 | # > Google 3 | DOMAIN-SUFFIX,ampproject.org 4 | DOMAIN-SUFFIX,appspot.com 5 | DOMAIN-SUFFIX,blogger.com 6 | DOMAIN-SUFFIX,getoutline.org 7 | DOMAIN-SUFFIX,gvt0.com 8 | DOMAIN-SUFFIX,gvt1.com 9 | DOMAIN-SUFFIX,gvt2.com 10 | DOMAIN-SUFFIX,gvt3.com 11 | DOMAIN-SUFFIX,xn--ngstr-lra8j.com 12 | DOMAIN-KEYWORD,google 13 | DOMAIN-KEYWORD,blogspot 14 | # > Microsoft 15 | DOMAIN-SUFFIX,onedrive.live.com 16 | DOMAIN-SUFFIX,xboxlive.com 17 | # > Facebook 18 | DOMAIN-SUFFIX,cdninstagram.com 19 | DOMAIN-SUFFIX,fb.com 20 | DOMAIN-SUFFIX,fb.me 21 | DOMAIN-SUFFIX,fbaddins.com 22 | DOMAIN-SUFFIX,fbcdn.net 23 | DOMAIN-SUFFIX,fbsbx.com 24 | DOMAIN-SUFFIX,fbworkmail.com 25 | DOMAIN-SUFFIX,instagram.com 26 | DOMAIN-SUFFIX,m.me 27 | DOMAIN-SUFFIX,messenger.com 28 | DOMAIN-SUFFIX,oculus.com 29 | DOMAIN-SUFFIX,oculuscdn.com 30 | DOMAIN-SUFFIX,rocksdb.org 31 | DOMAIN-SUFFIX,whatsapp.com 32 | DOMAIN-SUFFIX,whatsapp.net 33 | DOMAIN-KEYWORD,facebook 34 | IP-CIDR,3.123.36.126/32,no-resolve 35 | IP-CIDR,35.157.215.84/32,no-resolve 36 | IP-CIDR,35.157.217.255/32,no-resolve 37 | IP-CIDR,52.58.209.134/32,no-resolve 38 | IP-CIDR,54.93.124.31/32,no-resolve 39 | IP-CIDR,54.162.243.80/32,no-resolve 40 | IP-CIDR,54.173.34.141/32,no-resolve 41 | IP-CIDR,54.235.23.242/32,no-resolve 42 | IP-CIDR,169.45.248.118/32,no-resolve 43 | # > Twitter 44 | DOMAIN-SUFFIX,pscp.tv 45 | DOMAIN-SUFFIX,periscope.tv 46 | DOMAIN-SUFFIX,t.co 47 | DOMAIN-SUFFIX,twimg.co 48 | DOMAIN-SUFFIX,twimg.com 49 | DOMAIN-SUFFIX,twitpic.com 50 | DOMAIN-SUFFIX,vine.co 51 | DOMAIN-KEYWORD,twitter 52 | # > Telegram 53 | DOMAIN-SUFFIX,t.me 54 | DOMAIN-SUFFIX,tdesktop.com 55 | DOMAIN-SUFFIX,telegra.ph 56 | DOMAIN-SUFFIX,telegram.me 57 | DOMAIN-SUFFIX,telegram.org 58 | IP-CIDR,91.108.4.0/22,no-resolve 59 | IP-CIDR,91.108.8.0/22,no-resolve 60 | IP-CIDR,91.108.12.0/22,no-resolve 61 | IP-CIDR,91.108.16.0/22,no-resolve 62 | IP-CIDR,91.108.56.0/22,no-resolve 63 | IP-CIDR,91.108.56.0/23,no-resolve 64 | IP-CIDR,109.239.140.0/24,no-resolve 65 | IP-CIDR,149.154.160.0/20,no-resolve 66 | IP-CIDR,149.154.160.0/22,no-resolve 67 | IP-CIDR,149.154.164.0/22,no-resolve 68 | IP-CIDR,149.154.168.0/22,no-resolve 69 | IP-CIDR,149.154.172.0/22,no-resolve 70 | IP-CIDR6,2001:b28:f23d::/48,no-resolve 71 | IP-CIDR6,2001:b28:f23f::/48,no-resolve 72 | IP-CIDR6,2001:67c:4e8::/48,no-resolve 73 | # > Line 74 | DOMAIN-SUFFIX,line.me 75 | DOMAIN-SUFFIX,line-apps.com 76 | DOMAIN-SUFFIX,line-scdn.net 77 | DOMAIN-SUFFIX,naver.jp 78 | IP-CIDR,103.2.30.0/23,no-resolve 79 | IP-CIDR,125.209.208.0/20,no-resolve 80 | IP-CIDR,147.92.128.0/17,no-resolve 81 | IP-CIDR,203.104.144.0/21,no-resolve 82 | # > Other 83 | DOMAIN-SUFFIX,4shared.com 84 | DOMAIN-SUFFIX,520cc.cc 85 | DOMAIN-SUFFIX,881903.com 86 | DOMAIN-SUFFIX,9cache.com 87 | DOMAIN-SUFFIX,9gag.com 88 | DOMAIN-SUFFIX,abc.com 89 | DOMAIN-SUFFIX,abc.net.au 90 | DOMAIN-SUFFIX,abebooks.com 91 | DOMAIN-SUFFIX,amazon.co.jp 92 | DOMAIN-SUFFIX,apigee.com 93 | DOMAIN-SUFFIX,apk-dl.com 94 | DOMAIN-SUFFIX,apkfind.com 95 | DOMAIN-SUFFIX,apkmirror.com 96 | DOMAIN-SUFFIX,apkmonk.com 97 | DOMAIN-SUFFIX,apkpure.com 98 | DOMAIN-SUFFIX,aptoide.com 99 | DOMAIN-SUFFIX,archive.is 100 | DOMAIN-SUFFIX,archive.org 101 | DOMAIN-SUFFIX,arte.tv 102 | DOMAIN-SUFFIX,artstation.com 103 | DOMAIN-SUFFIX,arukas.io 104 | DOMAIN-SUFFIX,ask.com 105 | DOMAIN-SUFFIX,avg.com 106 | DOMAIN-SUFFIX,avgle.com 107 | DOMAIN-SUFFIX,badoo.com 108 | DOMAIN-SUFFIX,bandwagonhost.com 109 | DOMAIN-SUFFIX,bbc.com 110 | DOMAIN-SUFFIX,behance.net 111 | DOMAIN-SUFFIX,bibox.com 112 | DOMAIN-SUFFIX,biggo.com.tw 113 | DOMAIN-SUFFIX,binance.com 114 | DOMAIN-SUFFIX,bitcointalk.org 115 | DOMAIN-SUFFIX,bitfinex.com 116 | DOMAIN-SUFFIX,bitmex.com 117 | DOMAIN-SUFFIX,bit-z.com 118 | DOMAIN-SUFFIX,bloglovin.com 119 | DOMAIN-SUFFIX,bloomberg.cn 120 | DOMAIN-SUFFIX,bloomberg.com 121 | DOMAIN-SUFFIX,blubrry.com 122 | DOMAIN-SUFFIX,book.com.tw 123 | DOMAIN-SUFFIX,booklive.jp 124 | DOMAIN-SUFFIX,books.com.tw 125 | DOMAIN-SUFFIX,boslife.net 126 | DOMAIN-SUFFIX,box.com 127 | DOMAIN-SUFFIX,businessinsider.com 128 | DOMAIN-SUFFIX,bwh1.net 129 | DOMAIN-SUFFIX,castbox.fm 130 | DOMAIN-SUFFIX,cbc.ca 131 | DOMAIN-SUFFIX,cdw.com 132 | DOMAIN-SUFFIX,change.org 133 | DOMAIN-SUFFIX,channelnewsasia.com 134 | DOMAIN-SUFFIX,ck101.com 135 | DOMAIN-SUFFIX,clarionproject.org 136 | DOMAIN-SUFFIX,clyp.it 137 | DOMAIN-SUFFIX,cna.com.tw 138 | DOMAIN-SUFFIX,comparitech.com 139 | DOMAIN-SUFFIX,conoha.jp 140 | DOMAIN-SUFFIX,crucial.com 141 | DOMAIN-SUFFIX,cts.com.tw 142 | DOMAIN-SUFFIX,cw.com.tw 143 | DOMAIN-SUFFIX,cyberctm.com 144 | DOMAIN-SUFFIX,dailymotion.com 145 | DOMAIN-SUFFIX,dailyview.tw 146 | DOMAIN-SUFFIX,daum.net 147 | DOMAIN-SUFFIX,daumcdn.net 148 | DOMAIN-SUFFIX,dcard.tw 149 | DOMAIN-SUFFIX,deepdiscount.com 150 | DOMAIN-SUFFIX,depositphotos.com 151 | DOMAIN-SUFFIX,deviantart.com 152 | DOMAIN-SUFFIX,disconnect.me 153 | DOMAIN-SUFFIX,discordapp.com 154 | DOMAIN-SUFFIX,discordapp.net 155 | DOMAIN-SUFFIX,disqus.com 156 | DOMAIN-SUFFIX,dlercloud.com 157 | DOMAIN-SUFFIX,dns2go.com 158 | DOMAIN-SUFFIX,dowjones.com 159 | DOMAIN-SUFFIX,dropbox.com 160 | DOMAIN-SUFFIX,dropboxusercontent.com 161 | DOMAIN-SUFFIX,duckduckgo.com 162 | DOMAIN-SUFFIX,dw.com 163 | DOMAIN-SUFFIX,dynu.com 164 | DOMAIN-SUFFIX,earthcam.com 165 | DOMAIN-SUFFIX,ebookservice.tw 166 | DOMAIN-SUFFIX,economist.com 167 | DOMAIN-SUFFIX,edgecastcdn.net 168 | DOMAIN-SUFFIX,edu 169 | DOMAIN-SUFFIX,elpais.com 170 | DOMAIN-SUFFIX,enanyang.my 171 | DOMAIN-SUFFIX,encyclopedia.com 172 | DOMAIN-SUFFIX,esoir.be 173 | DOMAIN-SUFFIX,etherscan.io 174 | DOMAIN-SUFFIX,euronews.com 175 | DOMAIN-SUFFIX,evozi.com 176 | DOMAIN-SUFFIX,feedly.com 177 | DOMAIN-SUFFIX,firech.at 178 | DOMAIN-SUFFIX,flickr.com 179 | DOMAIN-SUFFIX,flitto.com 180 | DOMAIN-SUFFIX,foreignpolicy.com 181 | DOMAIN-SUFFIX,freebrowser.org 182 | DOMAIN-SUFFIX,freewechat.com 183 | DOMAIN-SUFFIX,freeweibo.com 184 | DOMAIN-SUFFIX,friday.tw 185 | DOMAIN-SUFFIX,ftchinese.com 186 | DOMAIN-SUFFIX,ftimg.net 187 | DOMAIN-SUFFIX,gate.io 188 | DOMAIN-SUFFIX,getlantern.org 189 | DOMAIN-SUFFIX,getsync.com 190 | DOMAIN-SUFFIX,globalvoices.org 191 | DOMAIN-SUFFIX,goo.ne.jp 192 | DOMAIN-SUFFIX,goodreads.com 193 | DOMAIN-SUFFIX,gov 194 | DOMAIN-SUFFIX,gov.tw 195 | DOMAIN-SUFFIX,greatfire.org 196 | DOMAIN-SUFFIX,gumroad.com 197 | DOMAIN-SUFFIX,hbg.com 198 | DOMAIN-SUFFIX,heroku.com 199 | DOMAIN-SUFFIX,hightail.com 200 | DOMAIN-SUFFIX,hk01.com 201 | DOMAIN-SUFFIX,hkbf.org 202 | DOMAIN-SUFFIX,hkbookcity.com 203 | DOMAIN-SUFFIX,hkej.com 204 | DOMAIN-SUFFIX,hket.com 205 | DOMAIN-SUFFIX,hkgolden.com 206 | DOMAIN-SUFFIX,hootsuite.com 207 | DOMAIN-SUFFIX,hudson.org 208 | DOMAIN-SUFFIX,hyread.com.tw 209 | DOMAIN-SUFFIX,ibtimes.com 210 | DOMAIN-SUFFIX,i-cable.com 211 | DOMAIN-SUFFIX,icij.org 212 | DOMAIN-SUFFIX,icoco.com 213 | DOMAIN-SUFFIX,imgur.com 214 | DOMAIN-SUFFIX,initiummall.com 215 | DOMAIN-SUFFIX,insecam.org 216 | DOMAIN-SUFFIX,ipfs.io 217 | DOMAIN-SUFFIX,issuu.com 218 | DOMAIN-SUFFIX,istockphoto.com 219 | DOMAIN-SUFFIX,japantimes.co.jp 220 | DOMAIN-SUFFIX,jiji.com 221 | DOMAIN-SUFFIX,jinx.com 222 | DOMAIN-SUFFIX,jkforum.net 223 | DOMAIN-SUFFIX,joinmastodon.org 224 | DOMAIN-SUFFIX,justmysocks.net 225 | DOMAIN-SUFFIX,justpaste.it 226 | DOMAIN-SUFFIX,kakao.com 227 | DOMAIN-SUFFIX,kakaocorp.com 228 | DOMAIN-SUFFIX,kik.com 229 | DOMAIN-SUFFIX,kobo.com 230 | DOMAIN-SUFFIX,kobobooks.com 231 | DOMAIN-SUFFIX,kodingen.com 232 | DOMAIN-SUFFIX,lemonde.fr 233 | DOMAIN-SUFFIX,lepoint.fr 234 | DOMAIN-SUFFIX,lihkg.com 235 | DOMAIN-SUFFIX,listennotes.com 236 | DOMAIN-SUFFIX,livestream.com 237 | DOMAIN-SUFFIX,logmein.com 238 | DOMAIN-SUFFIX,mail.ru 239 | DOMAIN-SUFFIX,mailchimp.com 240 | DOMAIN-SUFFIX,marc.info 241 | DOMAIN-SUFFIX,matters.news 242 | DOMAIN-SUFFIX,maying.co 243 | DOMAIN-SUFFIX,medium.com 244 | DOMAIN-SUFFIX,mega.nz 245 | DOMAIN-SUFFIX,mil 246 | DOMAIN-SUFFIX,mingpao.com 247 | DOMAIN-SUFFIX,mobile01.com 248 | DOMAIN-SUFFIX,myspace.com 249 | DOMAIN-SUFFIX,myspacecdn.com 250 | DOMAIN-SUFFIX,nanyang.com 251 | DOMAIN-SUFFIX,naver.com 252 | DOMAIN-SUFFIX,neowin.net 253 | DOMAIN-SUFFIX,newstapa.org 254 | DOMAIN-SUFFIX,nexitally.com 255 | DOMAIN-SUFFIX,nhk.or.jp 256 | DOMAIN-SUFFIX,nicovideo.jp 257 | DOMAIN-SUFFIX,nii.ac.jp 258 | DOMAIN-SUFFIX,nikkei.com 259 | DOMAIN-SUFFIX,nofile.io 260 | DOMAIN-SUFFIX,now.com 261 | DOMAIN-SUFFIX,nrk.no 262 | DOMAIN-SUFFIX,nyt.com 263 | DOMAIN-SUFFIX,nytchina.com 264 | DOMAIN-SUFFIX,nytcn.me 265 | DOMAIN-SUFFIX,nytco.com 266 | DOMAIN-SUFFIX,nytimes.com 267 | DOMAIN-SUFFIX,nytimg.com 268 | DOMAIN-SUFFIX,nytlog.com 269 | DOMAIN-SUFFIX,nytstyle.com 270 | DOMAIN-SUFFIX,ok.ru 271 | DOMAIN-SUFFIX,okex.com 272 | DOMAIN-SUFFIX,on.cc 273 | DOMAIN-SUFFIX,orientaldaily.com.my 274 | DOMAIN-SUFFIX,overcast.fm 275 | DOMAIN-SUFFIX,paltalk.com 276 | DOMAIN-SUFFIX,pao-pao.net 277 | DOMAIN-SUFFIX,parsevideo.com 278 | DOMAIN-SUFFIX,pbxes.com 279 | DOMAIN-SUFFIX,pcdvd.com.tw 280 | DOMAIN-SUFFIX,pchome.com.tw 281 | DOMAIN-SUFFIX,pcloud.com 282 | DOMAIN-SUFFIX,picacomic.com 283 | DOMAIN-SUFFIX,pinimg.com 284 | DOMAIN-SUFFIX,pixiv.net 285 | DOMAIN-SUFFIX,player.fm 286 | DOMAIN-SUFFIX,plurk.com 287 | DOMAIN-SUFFIX,po18.tw 288 | DOMAIN-SUFFIX,potato.im 289 | DOMAIN-SUFFIX,potatso.com 290 | DOMAIN-SUFFIX,prism-break.org 291 | DOMAIN-SUFFIX,proxifier.com 292 | DOMAIN-SUFFIX,pt.im 293 | DOMAIN-SUFFIX,pts.org.tw 294 | DOMAIN-SUFFIX,pubu.com.tw 295 | DOMAIN-SUFFIX,pubu.tw 296 | DOMAIN-SUFFIX,pureapk.com 297 | DOMAIN-SUFFIX,quora.com 298 | DOMAIN-SUFFIX,quoracdn.net 299 | DOMAIN-SUFFIX,rakuten.co.jp 300 | DOMAIN-SUFFIX,readingtimes.com.tw 301 | DOMAIN-SUFFIX,readmoo.com 302 | DOMAIN-SUFFIX,redbubble.com 303 | DOMAIN-SUFFIX,reddit.com 304 | DOMAIN-SUFFIX,redditmedia.com 305 | DOMAIN-SUFFIX,resilio.com 306 | DOMAIN-SUFFIX,reuters.com 307 | DOMAIN-SUFFIX,reutersmedia.net 308 | DOMAIN-SUFFIX,rfi.fr 309 | DOMAIN-SUFFIX,rixcloud.com 310 | DOMAIN-SUFFIX,roadshow.hk 311 | DOMAIN-SUFFIX,scmp.com 312 | DOMAIN-SUFFIX,scribd.com 313 | DOMAIN-SUFFIX,seatguru.com 314 | DOMAIN-SUFFIX,shadowsocks.org 315 | DOMAIN-SUFFIX,shopee.tw 316 | DOMAIN-SUFFIX,slideshare.net 317 | DOMAIN-SUFFIX,softfamous.com 318 | DOMAIN-SUFFIX,soundcloud.com 319 | DOMAIN-SUFFIX,ssrcloud.org 320 | DOMAIN-SUFFIX,startpage.com 321 | DOMAIN-SUFFIX,steamcommunity.com 322 | DOMAIN-SUFFIX,steemit.com 323 | DOMAIN-SUFFIX,steemitwallet.com 324 | DOMAIN-SUFFIX,t66y.com 325 | DOMAIN-SUFFIX,tapatalk.com 326 | DOMAIN-SUFFIX,teco-hk.org 327 | DOMAIN-SUFFIX,teco-mo.org 328 | DOMAIN-SUFFIX,teddysun.com 329 | DOMAIN-SUFFIX,textnow.me 330 | DOMAIN-SUFFIX,theguardian.com 331 | DOMAIN-SUFFIX,theinitium.com 332 | DOMAIN-SUFFIX,thetvdb.com 333 | DOMAIN-SUFFIX,tineye.com 334 | DOMAIN-SUFFIX,torproject.org 335 | DOMAIN-SUFFIX,tumblr.com 336 | DOMAIN-SUFFIX,turbobit.net 337 | DOMAIN-SUFFIX,tutanota.com 338 | DOMAIN-SUFFIX,tvboxnow.com 339 | DOMAIN-SUFFIX,udn.com 340 | DOMAIN-SUFFIX,unseen.is 341 | DOMAIN-SUFFIX,upmedia.mg 342 | DOMAIN-SUFFIX,uptodown.com 343 | DOMAIN-SUFFIX,urbandictionary.com 344 | DOMAIN-SUFFIX,ustream.tv 345 | DOMAIN-SUFFIX,uwants.com 346 | DOMAIN-SUFFIX,v2ray.com 347 | DOMAIN-SUFFIX,viber.com 348 | DOMAIN-SUFFIX,videopress.com 349 | DOMAIN-SUFFIX,vimeo.com 350 | DOMAIN-SUFFIX,voachinese.com 351 | DOMAIN-SUFFIX,voanews.com 352 | DOMAIN-SUFFIX,voxer.com 353 | DOMAIN-SUFFIX,vzw.com 354 | DOMAIN-SUFFIX,w3schools.com 355 | DOMAIN-SUFFIX,washingtonpost.com 356 | DOMAIN-SUFFIX,wattpad.com 357 | DOMAIN-SUFFIX,whoer.net 358 | DOMAIN-SUFFIX,wikimapia.org 359 | DOMAIN-SUFFIX,wikimedia.org 360 | DOMAIN-SUFFIX,wikipedia.org 361 | DOMAIN-SUFFIX,wikiquote.org 362 | DOMAIN-SUFFIX,wikiwand.com 363 | DOMAIN-SUFFIX,winudf.com 364 | DOMAIN-SUFFIX,wire.com 365 | DOMAIN-SUFFIX,wordpress.com 366 | DOMAIN-SUFFIX,workflow.is 367 | DOMAIN-SUFFIX,worldcat.org 368 | DOMAIN-SUFFIX,wsj.com 369 | DOMAIN-SUFFIX,wsj.net 370 | DOMAIN-SUFFIX,xhamster.com 371 | DOMAIN-SUFFIX,xn--90wwvt03e.com 372 | DOMAIN-SUFFIX,xn--i2ru8q2qg.com 373 | DOMAIN-SUFFIX,xnxx.com 374 | DOMAIN-SUFFIX,xvideos.com 375 | DOMAIN-SUFFIX,yahoo.com 376 | DOMAIN-SUFFIX,yandex.ru 377 | DOMAIN-SUFFIX,ycombinator.com 378 | DOMAIN-SUFFIX,yesasia.com 379 | DOMAIN-SUFFIX,yes-news.com 380 | DOMAIN-SUFFIX,yomiuri.co.jp 381 | DOMAIN-SUFFIX,you-get.org 382 | DOMAIN-SUFFIX,zaobao.com 383 | DOMAIN-SUFFIX,zb.com 384 | DOMAIN-SUFFIX,zello.com 385 | DOMAIN-SUFFIX,zeronet.io 386 | DOMAIN-SUFFIX,zoom.us 387 | DOMAIN-KEYWORD,github 388 | DOMAIN-KEYWORD,gitlab 389 | DOMAIN-KEYWORD,jav 390 | DOMAIN-KEYWORD,pinterest 391 | DOMAIN-KEYWORD,porn 392 | DOMAIN-KEYWORD,wikileaks 393 | 394 | # (Region-Restricted Access Denied) 395 | DOMAIN-SUFFIX,apartmentratings.com 396 | DOMAIN-SUFFIX,apartments.com 397 | DOMAIN-SUFFIX,bankmobilevibe.com 398 | DOMAIN-SUFFIX,bing.com 399 | DOMAIN-SUFFIX,booktopia.com.au 400 | DOMAIN-SUFFIX,cccat.io 401 | DOMAIN-SUFFIX,centauro.com.br 402 | DOMAIN-SUFFIX,clearsurance.com 403 | DOMAIN-SUFFIX,costco.com 404 | DOMAIN-SUFFIX,crackle.com 405 | DOMAIN-SUFFIX,depositphotos.cn 406 | DOMAIN-SUFFIX,dish.com 407 | DOMAIN-SUFFIX,dmm.co.jp 408 | DOMAIN-SUFFIX,dmm.com 409 | DOMAIN-SUFFIX,dnvod.tv 410 | DOMAIN-SUFFIX,esurance.com 411 | DOMAIN-SUFFIX,extmatrix.com 412 | DOMAIN-SUFFIX,fastpic.ru 413 | DOMAIN-SUFFIX,flipboard.com 414 | DOMAIN-SUFFIX,fnac.be 415 | DOMAIN-SUFFIX,fnac.com 416 | DOMAIN-SUFFIX,funkyimg.com 417 | DOMAIN-SUFFIX,fxnetworks.com 418 | DOMAIN-SUFFIX,gettyimages.com 419 | DOMAIN-SUFFIX,go.com 420 | DOMAIN-SUFFIX,here.com 421 | DOMAIN-SUFFIX,jcpenney.com 422 | DOMAIN-SUFFIX,jiehua.tv 423 | DOMAIN-SUFFIX,mailfence.com 424 | DOMAIN-SUFFIX,nationwide.com 425 | DOMAIN-SUFFIX,nbc.com 426 | DOMAIN-SUFFIX,nexon.com 427 | DOMAIN-SUFFIX,nordstrom.com 428 | DOMAIN-SUFFIX,nordstromimage.com 429 | DOMAIN-SUFFIX,nordstromrack.com 430 | DOMAIN-SUFFIX,superpages.com 431 | DOMAIN-SUFFIX,target.com 432 | DOMAIN-SUFFIX,thinkgeek.com 433 | DOMAIN-SUFFIX,tracfone.com 434 | DOMAIN-SUFFIX,unity3d.com 435 | DOMAIN-SUFFIX,uploader.jp 436 | DOMAIN-SUFFIX,vevo.com 437 | DOMAIN-SUFFIX,viu.tv 438 | DOMAIN-SUFFIX,vk.com 439 | DOMAIN-SUFFIX,vsco.co 440 | DOMAIN-SUFFIX,xfinity.com 441 | DOMAIN-SUFFIX,zattoo.com 442 | USER-AGENT,Roam* 443 | 444 | # (The Most Popular Sites) 445 | # > Apple 446 | # >> TestFlight 447 | DOMAIN,testflight.apple.com 448 | # >> Apple URL Shortener 449 | DOMAIN-SUFFIX,appsto.re 450 | # >> iBooks Store download 451 | DOMAIN,books.itunes.apple.com 452 | # >> iTunes Store Moveis Trailers 453 | DOMAIN,hls.itunes.apple.com 454 | # >> App Store Preview 455 | DOMAIN,apps.apple.com 456 | DOMAIN,itunes.apple.com 457 | # >> Spotlight 458 | DOMAIN,api-glb-sea.smoot.apple.com 459 | # >> Dictionary 460 | DOMAIN,lookup-api.apple.com 461 | PROCESS-NAME,LookupViewService 462 | # > Google 463 | DOMAIN-SUFFIX,abc.xyz 464 | DOMAIN-SUFFIX,android.com 465 | DOMAIN-SUFFIX,androidify.com 466 | DOMAIN-SUFFIX,dialogflow.com 467 | DOMAIN-SUFFIX,autodraw.com 468 | DOMAIN-SUFFIX,capitalg.com 469 | DOMAIN-SUFFIX,certificate-transparency.org 470 | DOMAIN-SUFFIX,chrome.com 471 | DOMAIN-SUFFIX,chromeexperiments.com 472 | DOMAIN-SUFFIX,chromestatus.com 473 | DOMAIN-SUFFIX,chromium.org 474 | DOMAIN-SUFFIX,creativelab5.com 475 | DOMAIN-SUFFIX,debug.com 476 | DOMAIN-SUFFIX,deepmind.com 477 | DOMAIN-SUFFIX,firebaseio.com 478 | DOMAIN-SUFFIX,getmdl.io 479 | DOMAIN-SUFFIX,ggpht.com 480 | DOMAIN-SUFFIX,gmail.com 481 | DOMAIN-SUFFIX,gmodules.com 482 | DOMAIN-SUFFIX,godoc.org 483 | DOMAIN-SUFFIX,golang.org 484 | DOMAIN-SUFFIX,gstatic.com 485 | DOMAIN-SUFFIX,gv.com 486 | DOMAIN-SUFFIX,gwtproject.org 487 | DOMAIN-SUFFIX,itasoftware.com 488 | DOMAIN-SUFFIX,madewithcode.com 489 | DOMAIN-SUFFIX,material.io 490 | DOMAIN-SUFFIX,polymer-project.org 491 | DOMAIN-SUFFIX,admin.recaptcha.net 492 | DOMAIN-SUFFIX,recaptcha.net 493 | DOMAIN-SUFFIX,shattered.io 494 | DOMAIN-SUFFIX,synergyse.com 495 | DOMAIN-SUFFIX,tensorflow.org 496 | DOMAIN-SUFFIX,tfhub.dev 497 | DOMAIN-SUFFIX,tiltbrush.com 498 | DOMAIN-SUFFIX,waveprotocol.org 499 | DOMAIN-SUFFIX,waymo.com 500 | DOMAIN-SUFFIX,webmproject.org 501 | DOMAIN-SUFFIX,webrtc.org 502 | DOMAIN-SUFFIX,whatbrowser.org 503 | DOMAIN-SUFFIX,widevine.com 504 | DOMAIN-SUFFIX,x.company 505 | DOMAIN-SUFFIX,youtu.be 506 | DOMAIN-SUFFIX,yt.be 507 | DOMAIN-SUFFIX,ytimg.com 508 | # > Microsoft 509 | # >> Microsoft OneDrive 510 | DOMAIN-SUFFIX,1drv.com 511 | DOMAIN-SUFFIX,1drv.ms 512 | DOMAIN-SUFFIX,blob.core.windows.net 513 | DOMAIN-SUFFIX,livefilestore.com 514 | DOMAIN-SUFFIX,onedrive.com 515 | DOMAIN-SUFFIX,storage.live.com 516 | DOMAIN-SUFFIX,storage.msn.com 517 | DOMAIN,oneclient.sfx.ms 518 | # > Other 519 | DOMAIN-SUFFIX,0rz.tw 520 | DOMAIN-SUFFIX,4bluestones.biz 521 | DOMAIN-SUFFIX,9bis.net 522 | DOMAIN-SUFFIX,allconnected.co 523 | DOMAIN-SUFFIX,aol.com 524 | DOMAIN-SUFFIX,bcc.com.tw 525 | DOMAIN-SUFFIX,bit.ly 526 | DOMAIN-SUFFIX,bitshare.com 527 | DOMAIN-SUFFIX,blog.jp 528 | DOMAIN-SUFFIX,blogimg.jp 529 | DOMAIN-SUFFIX,blogtd.org 530 | DOMAIN-SUFFIX,broadcast.co.nz 531 | DOMAIN-SUFFIX,camfrog.com 532 | DOMAIN-SUFFIX,cfos.de 533 | DOMAIN-SUFFIX,citypopulation.de 534 | DOMAIN-SUFFIX,cloudfront.net 535 | DOMAIN-SUFFIX,ctitv.com.tw 536 | DOMAIN-SUFFIX,cuhk.edu.hk 537 | DOMAIN-SUFFIX,cusu.hk 538 | DOMAIN-SUFFIX,discord.gg 539 | DOMAIN-SUFFIX,discuss.com.hk 540 | DOMAIN-SUFFIX,dropboxapi.com 541 | DOMAIN-SUFFIX,duolingo.cn 542 | DOMAIN-SUFFIX,edditstatic.com 543 | DOMAIN-SUFFIX,flickriver.com 544 | DOMAIN-SUFFIX,focustaiwan.tw 545 | DOMAIN-SUFFIX,free.fr 546 | DOMAIN-SUFFIX,gigacircle.com 547 | DOMAIN-SUFFIX,hk-pub.com 548 | DOMAIN-SUFFIX,hosting.co.uk 549 | DOMAIN-SUFFIX,hwcdn.net 550 | DOMAIN-SUFFIX,ifixit.com 551 | DOMAIN-SUFFIX,iphone4hongkong.com 552 | DOMAIN-SUFFIX,iphonetaiwan.org 553 | DOMAIN-SUFFIX,iptvbin.com 554 | DOMAIN-SUFFIX,linksalpha.com 555 | DOMAIN-SUFFIX,manyvids.com 556 | DOMAIN-SUFFIX,myactimes.com 557 | DOMAIN-SUFFIX,newsblur.com 558 | DOMAIN-SUFFIX,now.im 559 | DOMAIN-SUFFIX,nowe.com 560 | DOMAIN-SUFFIX,redditlist.com 561 | DOMAIN-SUFFIX,s3.amazonaws.com 562 | DOMAIN-SUFFIX,signal.org 563 | DOMAIN-SUFFIX,smartmailcloud.com 564 | DOMAIN-SUFFIX,sparknotes.com 565 | DOMAIN-SUFFIX,streetvoice.com 566 | DOMAIN-SUFFIX,supertop.co 567 | DOMAIN-SUFFIX,tv.com 568 | DOMAIN-SUFFIX,typepad.com 569 | DOMAIN-SUFFIX,udnbkk.com 570 | DOMAIN-SUFFIX,urbanairship.com 571 | DOMAIN-SUFFIX,whispersystems.org 572 | DOMAIN-SUFFIX,wikia.com 573 | DOMAIN-SUFFIX,wn.com 574 | DOMAIN-SUFFIX,wolframalpha.com 575 | DOMAIN-SUFFIX,x-art.com 576 | DOMAIN-SUFFIX,yimg.com 577 | DOMAIN,api.steampowered.com 578 | DOMAIN,store.steampowered.com 579 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/GlobalMedia.list: -------------------------------------------------------------------------------- 1 | # (GlobalMedia) 2 | # (Music) 3 | # > Deezer 4 | USER-AGENT,Deezer* 5 | DOMAIN-SUFFIX,deezer.com 6 | DOMAIN-SUFFIX,dzcdn.net 7 | # > KKBOX 8 | DOMAIN-SUFFIX,kkbox.com 9 | DOMAIN-SUFFIX,kkbox.com.tw 10 | DOMAIN-SUFFIX,kfs.io 11 | # > JOOX 12 | USER-AGENT,WeMusic* 13 | USER-AGENT,JOOX* 14 | DOMAIN-SUFFIX,joox.com 15 | # > Pandora 16 | USER-AGENT,Pandora* 17 | DOMAIN-SUFFIX,pandora.com 18 | # > SoundCloud 19 | USER-AGENT,SoundCloud* 20 | DOMAIN-SUFFIX,p-cdn.us 21 | DOMAIN-SUFFIX,sndcdn.com 22 | DOMAIN-SUFFIX,soundcloud.com 23 | # > Spotify 24 | USER-AGENT,Spotify* 25 | DOMAIN-SUFFIX,pscdn.co 26 | DOMAIN-SUFFIX,scdn.co 27 | DOMAIN-KEYWORD,spotify 28 | DOMAIN-SUFFIX,spoti.fi 29 | # > TIDAL 30 | USER-AGENT,TIDAL* 31 | DOMAIN-SUFFIX,tidal.com 32 | # > YouTubeMusic 33 | USER-AGENT,com.google.ios.youtubemusic* 34 | USER-AGENT,YouTubeMusic* 35 | # (Video) 36 | # > Apple TV 37 | DOMAIN,np-edge.itunes.apple.com 38 | DOMAIN,play-edge.itunes.apple.com 39 | DOMAIN-SUFFIX,tv.apple.com 40 | # > All4 41 | USER-AGENT,All4* 42 | DOMAIN-SUFFIX,c4assets.com 43 | DOMAIN-SUFFIX,channel4.com 44 | # > AbemaTV 45 | USER-AGENT,AbemaTV* 46 | DOMAIN-SUFFIX,abema.io 47 | DOMAIN-SUFFIX,ameba.jp 48 | DOMAIN-SUFFIX,abema.tv 49 | DOMAIN-SUFFIX,hayabusa.io 50 | DOMAIN,abematv.akamaized.net 51 | DOMAIN,ds-linear-abematv.akamaized.net 52 | DOMAIN,ds-vod-abematv.akamaized.net 53 | DOMAIN,linear-abematv.akamaized.net 54 | # > Amazon Prime Video 55 | USER-AGENT,InstantVideo.US* 56 | USER-AGENT,Prime%20Video* 57 | DOMAIN-SUFFIX,aiv-cdn.net 58 | DOMAIN-SUFFIX,aiv-delivery.net 59 | DOMAIN-SUFFIX,amazonvideo.com 60 | DOMAIN-SUFFIX,primevideo.com 61 | DOMAIN,avodmp4s3ww-a.akamaihd.net 62 | DOMAIN,d25xi40x97liuc.cloudfront.net 63 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 64 | DOMAIN,d22qjgkvxw22r6.cloudfront.net 65 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net 66 | DOMAIN-KEYWORD,avoddashs 67 | # > Bahamut 68 | USER-AGENT,Anime* 69 | DOMAIN-SUFFIX,bahamut.com.tw 70 | DOMAIN-SUFFIX,gamer.com.tw 71 | DOMAIN,gamer-cds.cdn.hinet.net 72 | DOMAIN,gamer2-cds.cdn.hinet.net 73 | # > BBC iPlayer 74 | USER-AGENT,BBCiPlayer* 75 | DOMAIN-SUFFIX,bbc.co.uk 76 | DOMAIN-SUFFIX,bbci.co.uk 77 | DOMAIN-KEYWORD,bbcfmt 78 | DOMAIN-KEYWORD,uk-live 79 | # > DAZN 80 | USER-AGENT,DAZN* 81 | DOMAIN-SUFFIX,dazn.com 82 | DOMAIN-SUFFIX,dazn-api.com 83 | DOMAIN,d151l6v8er5bdm.cloudfront.net 84 | DOMAIN-KEYWORD,voddazn 85 | # > Disney+ 86 | USER-AGENT,Disney+* 87 | DOMAIN-SUFFIX,bamgrid.com 88 | DOMAIN-SUFFIX,disney-plus.net 89 | DOMAIN-SUFFIX,disneyplus.com 90 | DOMAIN-SUFFIX,dssott.com 91 | DOMAIN,cdn.registerdisney.go.com 92 | # > encoreTVB 93 | USER-AGENT,encoreTVB* 94 | DOMAIN-SUFFIX,encoretvb.com 95 | DOMAIN,edge.api.brightcove.com 96 | DOMAIN,bcbolt446c5271-a.akamaihd.net 97 | # > FOX NOW 98 | USER-AGENT,FOX%20NOW* 99 | DOMAIN-SUFFIX,fox.com 100 | DOMAIN-SUFFIX,foxdcg.com 101 | DOMAIN-SUFFIX,theplatform.com 102 | DOMAIN-SUFFIX,uplynk.com 103 | # > HBO NOW 104 | USER-AGENT,HBO%20NOW* 105 | DOMAIN-SUFFIX,hbo.com 106 | DOMAIN-SUFFIX,hbogo.com 107 | DOMAIN-SUFFIX,hbonow.com 108 | # > HBO GO HKG 109 | USER-AGENT,HBO%20GO%20PROD%20HKG* 110 | DOMAIN-SUFFIX,hbogoasia.com 111 | DOMAIN-SUFFIX,hbogoasia.hk 112 | DOMAIN,bcbolthboa-a.akamaihd.net 113 | DOMAIN,players.brightcove.net 114 | DOMAIN,s3-ap-southeast-1.amazonaws.com 115 | DOMAIN,dai3fd1oh325y.cloudfront.net 116 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 117 | DOMAIN,hboasia1-i.akamaihd.net 118 | DOMAIN,hboasia2-i.akamaihd.net 119 | DOMAIN,hboasia3-i.akamaihd.net 120 | DOMAIN,hboasia4-i.akamaihd.net 121 | DOMAIN,hboasia5-i.akamaihd.net 122 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net 123 | # > 华文电视 124 | USER-AGENT,HWTVMobile* 125 | DOMAIN-SUFFIX,5itv.tv 126 | DOMAIN-SUFFIX,ocnttv.com 127 | # > Hulu 128 | DOMAIN-SUFFIX,hulu.com 129 | DOMAIN-SUFFIX,huluim.com 130 | DOMAIN-SUFFIX,hulustream.com 131 | # > Hulu(フールー) 132 | DOMAIN-SUFFIX,happyon.jp 133 | DOMAIN-SUFFIX,hulu.jp 134 | # > ITV 135 | USER-AGENT,ITV_Player* 136 | DOMAIN-SUFFIX,itv.com 137 | DOMAIN-SUFFIX,itvstatic.com 138 | DOMAIN,itvpnpmobile-a.akamaihd.net 139 | # > KKTV 140 | USER-AGENT,KKTV* 141 | USER-AGENT,com.kktv.ios.kktv* 142 | DOMAIN-SUFFIX,kktv.com.tw 143 | DOMAIN-SUFFIX,kktv.me 144 | DOMAIN,kktv-theater.kk.stream 145 | # > Line TV 146 | USER-AGENT,LINE%20TV* 147 | DOMAIN-SUFFIX,linetv.tw 148 | DOMAIN,d3c7rimkq79yfu.cloudfront.net 149 | # > LiTV 150 | DOMAIN-SUFFIX,litv.tv 151 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net 152 | # > My5 153 | USER-AGENT,My5* 154 | DOMAIN-SUFFIX,channel5.com 155 | DOMAIN-SUFFIX,my5.tv 156 | DOMAIN,d349g9zuie06uo.cloudfront.net 157 | # > myTV SUPER 158 | USER-AGENT,mytv* 159 | DOMAIN-KEYWORD,mytvsuper 160 | DOMAIN-SUFFIX,tvb.com 161 | # > Netflix 162 | USER-AGENT,Argo* 163 | DOMAIN-SUFFIX,fast.com 164 | # > Netflix 165 | USER-AGENT,Argo* 166 | DOMAIN-KEYWORD,netflix 167 | DOMAIN-SUFFIX,netflix.net 168 | DOMAIN-SUFFIX,nflxext.com 169 | DOMAIN-SUFFIX,nflximg.com 170 | DOMAIN-SUFFIX,nflximg.net 171 | DOMAIN-SUFFIX,nflxso.net 172 | DOMAIN-SUFFIX,nflxvideo.net 173 | DOMAIN-SUFFIX,netflixdnstest0.com 174 | DOMAIN-SUFFIX,netflixdnstest1.com 175 | DOMAIN-SUFFIX,netflixdnstest2.com 176 | DOMAIN-SUFFIX,netflixdnstest3.com 177 | DOMAIN-SUFFIX,netflixdnstest4.com 178 | DOMAIN-SUFFIX,netflixdnstest5.com 179 | DOMAIN-SUFFIX,netflixdnstest6.com 180 | DOMAIN-SUFFIX,netflixdnstest7.com 181 | DOMAIN-SUFFIX,netflixdnstest8.com 182 | DOMAIN-SUFFIX,netflixdnstest9.com 183 | IP-CIDR,23.246.0.0/18,no-resolve 184 | IP-CIDR,37.77.184.0/21,no-resolve 185 | IP-CIDR,45.57.0.0/17,no-resolve 186 | IP-CIDR,64.120.128.0/17,no-resolve 187 | IP-CIDR,66.197.128.0/17,no-resolve 188 | IP-CIDR,108.175.32.0/20,no-resolve 189 | IP-CIDR,192.173.64.0/18,no-resolve 190 | IP-CIDR,198.38.96.0/19,no-resolve 191 | IP-CIDR,198.45.48.0/20,no-resolve 192 | IP-CIDR,8.41.4.0/24,no-resolve 193 | IP-CIDR,69.53.224.0/19,no-resolve 194 | IP-CIDR,185.2.220.0/22,no-resolve 195 | IP-CIDR,185.9.188.0/22,no-resolve 196 | IP-CIDR,207.45.72.0/22,no-resolve 197 | IP-CIDR,208.75.76.0/22,no-resolve 198 | # > niconico 199 | USER-AGENT,Niconico* 200 | DOMAIN-SUFFIX,dmc.nico 201 | DOMAIN-SUFFIX,nicovideo.jp 202 | DOMAIN-SUFFIX,nimg.jp 203 | DOMAIN-SUFFIX,socdm.com 204 | # > PBS 205 | USER-AGENT,PBS* 206 | DOMAIN-SUFFIX,pbs.org 207 | # > Pornhub 208 | DOMAIN-SUFFIX,phncdn.com 209 | DOMAIN-SUFFIX,pornhub.com 210 | DOMAIN-SUFFIX,pornhubpremium.com 211 | # > 台湾好 212 | USER-AGENT,TaiwanGood* 213 | DOMAIN-SUFFIX,skyking.com.tw 214 | DOMAIN,hamifans.emome.net 215 | # > Twitch 216 | DOMAIN-SUFFIX,twitch.tv 217 | DOMAIN-SUFFIX,twitchcdn.net 218 | DOMAIN-SUFFIX,ttvnw.net 219 | DOMAIN-SUFFIX,jtvnw.net 220 | # > ViuTV 221 | USER-AGENT,Viu* 222 | USER-AGENT,ViuTV* 223 | DOMAIN-SUFFIX,viu.com 224 | DOMAIN-SUFFIX,viu.tv 225 | DOMAIN,api.viu.now.com 226 | DOMAIN,d1k2us671qcoau.cloudfront.net 227 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 228 | DOMAIN,dfp6rglgjqszk.cloudfront.net 229 | # > YouTube 230 | USER-AGENT,com.google.ios.youtube* 231 | USER-AGENT,YouTube* 232 | DOMAIN-KEYWORD,youtube 233 | DOMAIN-SUFFIX,youtu.be 234 | DOMAIN-SUFFIX,googlevideo.com 235 | DOMAIN-SUFFIX,gvt2.com 236 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Google.list: -------------------------------------------------------------------------------- 1 | # > Google 2 | DOMAIN-SUFFIX,abc.xyz 3 | DOMAIN-SUFFIX,android.com 4 | DOMAIN-SUFFIX,androidify.com 5 | DOMAIN-SUFFIX,dialogflow.com 6 | DOMAIN-SUFFIX,autodraw.com 7 | DOMAIN-SUFFIX,capitalg.com 8 | DOMAIN-SUFFIX,certificate-transparency.org 9 | DOMAIN-SUFFIX,chrome.com 10 | DOMAIN-SUFFIX,chromeexperiments.com 11 | DOMAIN-SUFFIX,chromestatus.com 12 | DOMAIN-SUFFIX,chromium.org 13 | DOMAIN-SUFFIX,creativelab5.com 14 | DOMAIN-SUFFIX,debug.com 15 | DOMAIN-SUFFIX,deepmind.com 16 | DOMAIN-SUFFIX,firebaseio.com 17 | DOMAIN-SUFFIX,getmdl.io 18 | DOMAIN-SUFFIX,ggpht.com 19 | DOMAIN-SUFFIX,gmail.com 20 | DOMAIN-SUFFIX,gmodules.com 21 | DOMAIN-SUFFIX,godoc.org 22 | DOMAIN-SUFFIX,golang.org 23 | DOMAIN-SUFFIX,gstatic.com 24 | DOMAIN-SUFFIX,gv.com 25 | DOMAIN-SUFFIX,gwtproject.org 26 | DOMAIN-SUFFIX,itasoftware.com 27 | DOMAIN-SUFFIX,madewithcode.com 28 | DOMAIN-SUFFIX,material.io 29 | DOMAIN-SUFFIX,polymer-project.org 30 | DOMAIN-SUFFIX,admin.recaptcha.net 31 | DOMAIN-SUFFIX,recaptcha.net 32 | DOMAIN-SUFFIX,shattered.io 33 | DOMAIN-SUFFIX,synergyse.com 34 | DOMAIN-SUFFIX,tensorflow.org 35 | DOMAIN-SUFFIX,tfhub.dev 36 | DOMAIN-SUFFIX,tiltbrush.com 37 | DOMAIN-SUFFIX,waveprotocol.org 38 | DOMAIN-SUFFIX,waymo.com 39 | DOMAIN-SUFFIX,webmproject.org 40 | DOMAIN-SUFFIX,webrtc.org 41 | DOMAIN-SUFFIX,whatbrowser.org 42 | DOMAIN-SUFFIX,widevine.com 43 | DOMAIN-SUFFIX,x.company 44 | DOMAIN-SUFFIX,youtu.be 45 | DOMAIN-SUFFIX,yt.be 46 | DOMAIN-SUFFIX,ytimg.com 47 | # (DNS Cache Pollution Protection) 48 | DOMAIN-SUFFIX,ampproject.org 49 | DOMAIN-SUFFIX,appspot.com 50 | DOMAIN-SUFFIX,blogger.com 51 | DOMAIN-SUFFIX,getoutline.org 52 | DOMAIN-SUFFIX,gvt0.com 53 | DOMAIN-SUFFIX,gvt1.com 54 | DOMAIN-SUFFIX,gvt3.com 55 | DOMAIN-SUFFIX,xn--ngstr-lra8j.com 56 | DOMAIN-KEYWORD,google 57 | DOMAIN-KEYWORD,blogspot -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/HKMTMedia.list: -------------------------------------------------------------------------------- 1 | # (HKMTMedia) 2 | # > 愛奇藝台灣站 3 | USER-AGENT,QIYI* 4 | USER-AGENT,iQiYi* 5 | DOMAIN-KEYWORD,qiyi 6 | DOMAIN-SUFFIX,qy.net 7 | IP-CIDR,101.227.0.0/16,no-resolve 8 | IP-CIDR,101.224.0.0/13,no-resolve 9 | IP-CIDR,119.176.0.0/12,no-resolve 10 | # > bilibili 11 | USER-AGENT,bili* 12 | USER-AGENT,Bilibili* 13 | DOMAIN-SUFFIX,acg.tv 14 | DOMAIN-SUFFIX,acgvideo.com 15 | DOMAIN-SUFFIX,b23.tv 16 | DOMAIN-SUFFIX,biliapi.com 17 | DOMAIN-SUFFIX,biliapi.net 18 | DOMAIN-SUFFIX,bilibili.com 19 | DOMAIN-SUFFIX,biligame.com 20 | DOMAIN-SUFFIX,biligame.net 21 | DOMAIN-SUFFIX,bilivideo.com 22 | DOMAIN-SUFFIX,hdslb.com 23 | DOMAIN-SUFFIX,im9.com 24 | DOMAIN,upos-hz-mirrorakam.akamaized.net 25 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Hijacking.list: -------------------------------------------------------------------------------- 1 | # Internet Service Providers Hijacking 运营商劫持 2 | DOMAIN-SUFFIX,17gouwuba.com 3 | DOMAIN-SUFFIX,186078.com 4 | DOMAIN-SUFFIX,189zj.cn 5 | DOMAIN-SUFFIX,285680.com 6 | DOMAIN-SUFFIX,3721zh.com 7 | DOMAIN-SUFFIX,4336wang.cn 8 | DOMAIN-SUFFIX,51chumoping.com 9 | DOMAIN-SUFFIX,51mld.cn 10 | DOMAIN-SUFFIX,51mypc.cn 11 | DOMAIN-SUFFIX,58mingri.cn 12 | DOMAIN-SUFFIX,58mingtian.cn 13 | DOMAIN-SUFFIX,5vl58stm.com 14 | DOMAIN-SUFFIX,6d63d3.com 15 | DOMAIN-SUFFIX,7gg.cc 16 | DOMAIN-SUFFIX,91veg.com 17 | DOMAIN-SUFFIX,9s6q.cn 18 | DOMAIN-SUFFIX,adsame.com 19 | DOMAIN-SUFFIX,aiclk.com 20 | DOMAIN-SUFFIX,akuai.top 21 | DOMAIN-SUFFIX,atplay.cn 22 | DOMAIN-SUFFIX,baiwanchuangyi.com 23 | DOMAIN-SUFFIX,beerto.cn 24 | DOMAIN-SUFFIX,beilamusi.com 25 | DOMAIN-SUFFIX,benshiw.net 26 | DOMAIN-SUFFIX,bianxianmao.com 27 | DOMAIN-SUFFIX,bryonypie.com 28 | DOMAIN-SUFFIX,cishantao.com 29 | DOMAIN-SUFFIX,cszlks.com 30 | DOMAIN-SUFFIX,cudaojia.com 31 | DOMAIN-SUFFIX,dafapromo.com 32 | DOMAIN-SUFFIX,daitdai.com 33 | DOMAIN-SUFFIX,dsaeerf.com 34 | DOMAIN-SUFFIX,dugesheying.com 35 | DOMAIN-SUFFIX,dv8c1t.cn 36 | DOMAIN-SUFFIX,echatu.com 37 | DOMAIN-SUFFIX,erdoscs.com 38 | DOMAIN-SUFFIX,fan-yong.com 39 | DOMAIN-SUFFIX,feih.com.cn 40 | DOMAIN-SUFFIX,fjlqqc.com 41 | DOMAIN-SUFFIX,fkku194.com 42 | DOMAIN-SUFFIX,freedrive.cn 43 | DOMAIN-SUFFIX,gclick.cn 44 | DOMAIN-SUFFIX,goufanli100.com 45 | DOMAIN-SUFFIX,goupaoerdai.com 46 | DOMAIN-SUFFIX,gouwubang.com 47 | DOMAIN-SUFFIX,gzxnlk.com 48 | DOMAIN-SUFFIX,haoshengtoys.com 49 | DOMAIN-SUFFIX,hyunke.com 50 | DOMAIN-SUFFIX,ichaosheng.com 51 | DOMAIN-SUFFIX,ishop789.com 52 | DOMAIN-SUFFIX,jdkic.com 53 | DOMAIN-SUFFIX,jiubuhua.com 54 | DOMAIN-SUFFIX,jsncke.com 55 | DOMAIN-SUFFIX,junkucm.com 56 | DOMAIN-SUFFIX,jwg365.cn 57 | DOMAIN-SUFFIX,kawo77.com 58 | DOMAIN-SUFFIX,kualianyingxiao.cn 59 | DOMAIN-SUFFIX,kumihua.com 60 | DOMAIN-SUFFIX,ltheanine.cn 61 | DOMAIN-SUFFIX,maipinshangmao.com 62 | DOMAIN-SUFFIX,minisplat.cn 63 | DOMAIN-SUFFIX,mkitgfs.com 64 | DOMAIN-SUFFIX,mlnbike.com 65 | DOMAIN-SUFFIX,mobjump.com 66 | DOMAIN-SUFFIX,nbkbgd.cn 67 | DOMAIN-SUFFIX,newapi.com 68 | DOMAIN-SUFFIX,pinzhitmall.com 69 | DOMAIN-SUFFIX,poppyta.com 70 | DOMAIN-SUFFIX,qianchuanghr.com 71 | DOMAIN-SUFFIX,qichexin.com 72 | DOMAIN-SUFFIX,qinchugudao.com 73 | DOMAIN-SUFFIX,quanliyouxi.cn 74 | DOMAIN-SUFFIX,qutaobi.com 75 | DOMAIN-SUFFIX,ry51w.cn 76 | DOMAIN-SUFFIX,sg536.cn 77 | DOMAIN-SUFFIX,sifubo.cn 78 | DOMAIN-SUFFIX,sifuce.cn 79 | DOMAIN-SUFFIX,sifuda.cn 80 | DOMAIN-SUFFIX,sifufu.cn 81 | DOMAIN-SUFFIX,sifuge.cn 82 | DOMAIN-SUFFIX,sifugu.cn 83 | DOMAIN-SUFFIX,sifuhe.cn 84 | DOMAIN-SUFFIX,sifuhu.cn 85 | DOMAIN-SUFFIX,sifuji.cn 86 | DOMAIN-SUFFIX,sifuka.cn 87 | DOMAIN-SUFFIX,smgru.net 88 | DOMAIN-SUFFIX,taoggou.com 89 | DOMAIN-SUFFIX,tcxshop.com 90 | DOMAIN-SUFFIX,tjqonline.cn 91 | DOMAIN-SUFFIX,topitme.com 92 | DOMAIN-SUFFIX,tt3sm4.cn 93 | DOMAIN-SUFFIX,tuia.cn 94 | DOMAIN-SUFFIX,tuipenguin.com 95 | DOMAIN-SUFFIX,tuitiger.com 96 | DOMAIN-SUFFIX,websd8.com 97 | DOMAIN-SUFFIX,wsgblw.com 98 | DOMAIN-SUFFIX,wx16999.com 99 | DOMAIN-SUFFIX,xchmai.com 100 | DOMAIN-SUFFIX,xiaohuau.xyz 101 | DOMAIN-SUFFIX,ygyzx.cn 102 | DOMAIN-SUFFIX,yinmong.com 103 | DOMAIN-SUFFIX,yitaopt.com 104 | DOMAIN-SUFFIX,yjqiqi.com 105 | DOMAIN-SUFFIX,yukhj.com 106 | DOMAIN-SUFFIX,zhaozecheng.cn 107 | DOMAIN-SUFFIX,zhenxinet.com 108 | DOMAIN-SUFFIX,zlne800.com 109 | DOMAIN-SUFFIX,zunmi.cn 110 | DOMAIN-SUFFIX,zzd6.com 111 | IP-CIDR,39.107.15.115/32,no-resolve 112 | IP-CIDR,47.89.59.182/32,no-resolve 113 | IP-CIDR,103.49.209.27/32,no-resolve 114 | IP-CIDR,123.56.152.96/32,no-resolve 115 | # > ChinaTelecom 116 | IP-CIDR,61.160.200.223/32,no-resolve 117 | IP-CIDR,61.160.200.242/32,no-resolve 118 | IP-CIDR,61.160.200.252/32,no-resolve 119 | IP-CIDR,61.174.50.214/32,no-resolve 120 | IP-CIDR,111.175.220.163/32,no-resolve 121 | IP-CIDR,111.175.220.164/32,no-resolve 122 | IP-CIDR,122.229.8.47/32,no-resolve 123 | IP-CIDR,122.229.29.89/32,no-resolve 124 | IP-CIDR,124.232.160.178/32,no-resolve 125 | IP-CIDR,175.6.223.15/32,no-resolve 126 | IP-CIDR,183.59.53.237/32,no-resolve 127 | IP-CIDR,218.93.127.37/32,no-resolve 128 | IP-CIDR,221.228.17.152/32,no-resolve 129 | IP-CIDR,221.231.6.79/32,no-resolve 130 | IP-CIDR,222.186.61.91/32,no-resolve 131 | IP-CIDR,222.186.61.95/32,no-resolve 132 | IP-CIDR,222.186.61.96/32,no-resolve 133 | IP-CIDR,222.186.61.97/32,no-resolve 134 | # > ChinaUnicom 135 | IP-CIDR,106.75.231.48/32,no-resolve 136 | IP-CIDR,119.4.249.166/32,no-resolve 137 | IP-CIDR,220.196.52.141/32,no-resolve 138 | IP-CIDR,221.6.4.148/32,no-resolve 139 | # > ChinaMobile 140 | IP-CIDR,114.247.28.96/32,no-resolve 141 | IP-CIDR,221.179.131.72/32,no-resolve 142 | IP-CIDR,221.179.140.145/32,no-resolve 143 | # > Dr.Peng 144 | # IP-CIDR,10.72.25.0/24,no-resolve 145 | IP-CIDR,115.182.16.79/32,no-resolve 146 | IP-CIDR,118.144.88.126/32,no-resolve 147 | IP-CIDR,118.144.88.215/32,no-resolve 148 | IP-CIDR,118.144.88.216/32,no-resolve 149 | IP-CIDR,120.76.189.132/32,no-resolve 150 | IP-CIDR,124.14.21.147/32,no-resolve 151 | IP-CIDR,124.14.21.151/32,no-resolve 152 | IP-CIDR,180.166.52.24/32,no-resolve 153 | IP-CIDR,211.161.101.106/32,no-resolve 154 | IP-CIDR,220.115.251.25/32,no-resolve 155 | IP-CIDR,222.73.156.235/32,no-resolve 156 | 157 | # Malware 恶意网站 158 | # > 快压 159 | # https://zhuanlan.zhihu.com/p/39534279 160 | DOMAIN-SUFFIX,kuaizip.com 161 | # > MacKeeper 162 | # https://www.lizhi.io/blog/40002904 163 | DOMAIN-SUFFIX,mackeeper.com 164 | DOMAIN-SUFFIX,zryydi.com 165 | # > Adobe Flash China Special Edition 166 | # https://www.zhihu.com/question/281163698/answer/441388130 167 | DOMAIN-SUFFIX,flash.cn 168 | DOMAIN,geo2.adobe.com 169 | # > C&J Marketing 思杰马克丁软件 170 | # https://www.zhihu.com/question/46746200 171 | DOMAIN-SUFFIX,4009997658.com 172 | DOMAIN-SUFFIX,abbyychina.com 173 | DOMAIN-SUFFIX,bartender.cc 174 | DOMAIN-SUFFIX,betterzip.net 175 | DOMAIN-SUFFIX,betterzipcn.com 176 | DOMAIN-SUFFIX,beyondcompare.cc 177 | DOMAIN-SUFFIX,bingdianhuanyuan.cn 178 | DOMAIN-SUFFIX,chemdraw.com.cn 179 | DOMAIN-SUFFIX,cjmakeding.com 180 | DOMAIN-SUFFIX,cjmkt.com 181 | DOMAIN-SUFFIX,codesoftchina.com 182 | DOMAIN-SUFFIX,coreldrawchina.com 183 | DOMAIN-SUFFIX,crossoverchina.com 184 | DOMAIN-SUFFIX,dongmansoft.com 185 | DOMAIN-SUFFIX,earmasterchina.cn 186 | DOMAIN-SUFFIX,easyrecoverychina.com 187 | DOMAIN-SUFFIX,ediuschina.com 188 | DOMAIN-SUFFIX,flstudiochina.com 189 | DOMAIN-SUFFIX,formysql.com 190 | DOMAIN-SUFFIX,guitarpro.cc 191 | DOMAIN-SUFFIX,huishenghuiying.com.cn 192 | DOMAIN-SUFFIX,hypersnap.net 193 | DOMAIN-SUFFIX,iconworkshop.cn 194 | DOMAIN-SUFFIX,imindmap.cc 195 | DOMAIN-SUFFIX,jihehuaban.com.cn 196 | DOMAIN-SUFFIX,keyshot.cc 197 | DOMAIN-SUFFIX,kingdeecn.cn 198 | DOMAIN-SUFFIX,logoshejishi.com 199 | DOMAIN-SUFFIX,luping.net.cn 200 | DOMAIN-SUFFIX,mairuan.cn 201 | DOMAIN-SUFFIX,mairuan.com 202 | DOMAIN-SUFFIX,mairuan.com.cn 203 | DOMAIN-SUFFIX,mairuan.net 204 | DOMAIN-SUFFIX,mairuanwang.com 205 | DOMAIN-SUFFIX,makeding.com 206 | DOMAIN-SUFFIX,mathtype.cn 207 | DOMAIN-SUFFIX,mindmanager.cc 208 | DOMAIN-SUFFIX,mindmanager.cn 209 | DOMAIN-SUFFIX,mindmapper.cc 210 | DOMAIN-SUFFIX,mycleanmymac.com 211 | DOMAIN-SUFFIX,nicelabel.cc 212 | DOMAIN-SUFFIX,ntfsformac.cc 213 | DOMAIN-SUFFIX,ntfsformac.cn 214 | DOMAIN-SUFFIX,overturechina.com 215 | DOMAIN-SUFFIX,passwordrecovery.cn 216 | DOMAIN-SUFFIX,pdfexpert.cc 217 | DOMAIN-SUFFIX,photozoomchina.com 218 | DOMAIN-SUFFIX,shankejingling.com 219 | DOMAIN-SUFFIX,ultraiso.net 220 | DOMAIN-SUFFIX,vegaschina.cn 221 | DOMAIN-SUFFIX,xmindchina.net 222 | DOMAIN-SUFFIX,xshellcn.com 223 | DOMAIN-SUFFIX,yihuifu.cn 224 | DOMAIN-SUFFIX,yuanchengxiezuo.com 225 | DOMAIN-SUFFIX,zbrushcn.com 226 | DOMAIN-SUFFIX,zhzzx.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Mail.list: -------------------------------------------------------------------------------- 1 | # > Gmail 2 | DOMAIN,pop.gmail.com 3 | DOMAIN,imap.gmail.com 4 | DOMAIN,smtp.gmail.com 5 | # > Outlook 6 | DOMAIN,outlook.office365.com 7 | DOMAIN,smtp.office365.com 8 | DOMAIN,imap-mail.outlook.com 9 | DOMAIN,smtp-mail.outlook.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/AbemaTV.list: -------------------------------------------------------------------------------- 1 | # > AbemaTV 2 | USER-AGENT,AbemaTV* 3 | DOMAIN-SUFFIX,abema.io 4 | DOMAIN-SUFFIX,abema.tv 5 | DOMAIN-SUFFIX,ameba.jp 6 | DOMAIN-SUFFIX,hayabusa.io 7 | DOMAIN,abematv.akamaized.net 8 | DOMAIN,ds-linear-abematv.akamaized.net 9 | DOMAIN,ds-vod-abematv.akamaized.net 10 | DOMAIN,linear-abematv.akamaized.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/All4.list: -------------------------------------------------------------------------------- 1 | # > All4 2 | USER-AGENT,All4* 3 | DOMAIN-SUFFIX,c4assets.com 4 | DOMAIN-SUFFIX,channel4.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Amazon.list: -------------------------------------------------------------------------------- 1 | # > Amazon Prime Video 2 | USER-AGENT,InstantVideo.US* 3 | USER-AGENT,Prime%20Video* 4 | DOMAIN-SUFFIX,aiv-cdn.net 5 | DOMAIN-SUFFIX,aiv-delivery.net 6 | DOMAIN-SUFFIX,primevideo.com 7 | DOMAIN,avodmp4s3ww-a.akamaihd.net 8 | DOMAIN,d25xi40x97liuc.cloudfront.net 9 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 10 | DOMAIN,d22qjgkvxw22r6.cloudfront.net 11 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net 12 | DOMAIN-KEYWORD,avoddashs -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/BBC_iPlayer.list: -------------------------------------------------------------------------------- 1 | # > BBC iPlayer 2 | USER-AGENT,BBCiPlayer* 3 | DOMAIN-SUFFIX,bbc.co.uk 4 | DOMAIN-SUFFIX,bbci.co.uk 5 | DOMAIN-KEYWORD,bbcfmt 6 | DOMAIN-KEYWORD,uk-live -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Bahamut.list: -------------------------------------------------------------------------------- 1 | # > Bahamut 2 | USER-AGENT,Anime* 3 | DOMAIN-SUFFIX,bahamut.com.tw 4 | DOMAIN-SUFFIX,gamer.com.tw 5 | DOMAIN,gamer-cds.cdn.hinet.net 6 | DOMAIN,gamer2-cds.cdn.hinet.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/DAZN.list: -------------------------------------------------------------------------------- 1 | # > DAZN 2 | USER-AGENT,DAZN* 3 | DOMAIN-SUFFIX,dazn.com 4 | DOMAIN-SUFFIX,dazn-api.com 5 | DOMAIN,d151l6v8er5bdm.cloudfront.net 6 | DOMAIN-KEYWORD,voddazn -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Deezer.list: -------------------------------------------------------------------------------- 1 | # > Deezer 2 | USER-AGENT,Deezer* 3 | DOMAIN-SUFFIX,deezer.com 4 | DOMAIN-SUFFIX,dzcdn.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/DisneyPlus.list: -------------------------------------------------------------------------------- 1 | # > Disney+ 2 | USER-AGENT,Disney+* 3 | DOMAIN-SUFFIX,bamgrid.com 4 | DOMAIN-SUFFIX,disney-plus.net 5 | DOMAIN-SUFFIX,disneyplus.com 6 | DOMAIN-SUFFIX,dssott.com 7 | DOMAIN,cdn.registerdisney.go.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Fox.list: -------------------------------------------------------------------------------- 1 | # > Fox+ 2 | USER-AGENT,FOX%20NOW* 3 | DOMAIN-SUFFIX,fox.com 4 | DOMAIN-SUFFIX,foxdcg.com 5 | DOMAIN-SUFFIX,theplatform.com 6 | DOMAIN-SUFFIX,uplynk.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/HBO.list: -------------------------------------------------------------------------------- 1 | # > HBO NOW 2 | USER-AGENT,HBO%20NOW* 3 | DOMAIN-SUFFIX,hbo.com 4 | DOMAIN-SUFFIX,hbogo.com 5 | DOMAIN-SUFFIX,hbonow.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/HBO_GO_HKG.list: -------------------------------------------------------------------------------- 1 | # > HBO GO HKG 2 | USER-AGENT,HBO%20GO%20PROD%20HKG* 3 | DOMAIN-SUFFIX,hbogoasia.com 4 | DOMAIN-SUFFIX,hbogoasia.hk 5 | DOMAIN,bcbolthboa-a.akamaihd.net 6 | DOMAIN,players.brightcove.net 7 | DOMAIN,s3-ap-southeast-1.amazonaws.com 8 | DOMAIN,dai3fd1oh325y.cloudfront.net 9 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 10 | DOMAIN,hboasia1-i.akamaihd.net 11 | DOMAIN,hboasia2-i.akamaihd.net 12 | DOMAIN,hboasia3-i.akamaihd.net 13 | DOMAIN,hboasia4-i.akamaihd.net 14 | DOMAIN,hboasia5-i.akamaihd.net 15 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/HWTV.list: -------------------------------------------------------------------------------- 1 | # > 华文电视 2 | USER-AGENT,HWTVMobile* 3 | DOMAIN-SUFFIX,5itv.tv 4 | DOMAIN-SUFFIX,ocnttv.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Hulu.list: -------------------------------------------------------------------------------- 1 | # > Hulu 2 | DOMAIN-SUFFIX,hulu.com 3 | DOMAIN-SUFFIX,huluim.com 4 | DOMAIN-SUFFIX,hulustream.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Hulu_Japan.list: -------------------------------------------------------------------------------- 1 | # > Hulu(フールー) 2 | DOMAIN-SUFFIX,happyon.jp 3 | DOMAIN-SUFFIX,hulu.jp -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/ITV.list: -------------------------------------------------------------------------------- 1 | # > ITV 2 | USER-AGENT,ITV_Player* 3 | DOMAIN-SUFFIX,itv.com 4 | DOMAIN-SUFFIX,itvstatic.com 5 | DOMAIN,itvpnpmobile-a.akamaihd.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/JOOX.list: -------------------------------------------------------------------------------- 1 | # > JOOX 2 | USER-AGENT,WeMusic* 3 | USER-AGENT,JOOX* 4 | DOMAIN-SUFFIX,joox.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/KKBOX.list: -------------------------------------------------------------------------------- 1 | # > KKBOX 2 | DOMAIN-SUFFIX,kkbox.com 3 | DOMAIN-SUFFIX,kkbox.com.tw 4 | DOMAIN-SUFFIX,kfs.io -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/KKTV.list: -------------------------------------------------------------------------------- 1 | # > KKTV 2 | USER-AGENT,KKTV* 3 | USER-AGENT,com.kktv.ios.kktv* 4 | DOMAIN-SUFFIX,kktv.com.tw 5 | DOMAIN-SUFFIX,kktv.me 6 | DOMAIN,kktv-theater.kk.stream -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/LiTV.list: -------------------------------------------------------------------------------- 1 | # > LiTV 2 | DOMAIN-SUFFIX,litv.tv 3 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/LineTV.list: -------------------------------------------------------------------------------- 1 | # > LineTV 2 | USER-AGENT,LINE%20TV* 3 | DOMAIN-SUFFIX,linetv.tw 4 | DOMAIN,d3c7rimkq79yfu.cloudfront.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/My5.list: -------------------------------------------------------------------------------- 1 | # > My5 2 | USER-AGENT,My5* 3 | DOMAIN-SUFFIX,channel5.com 4 | DOMAIN-SUFFIX,my5.tv 5 | DOMAIN,d349g9zuie06uo.cloudfront.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Netflix.list: -------------------------------------------------------------------------------- 1 | # > Netflix 2 | USER-AGENT,Argo* 3 | DOMAIN-KEYWORD,netflix 4 | DOMAIN-SUFFIX,netflix.net 5 | DOMAIN-SUFFIX,nflxext.com 6 | DOMAIN-SUFFIX,nflximg.com 7 | DOMAIN-SUFFIX,nflximg.net 8 | DOMAIN-SUFFIX,nflxso.net 9 | DOMAIN-SUFFIX,nflxvideo.net 10 | DOMAIN-SUFFIX,netflixdnstest0.com 11 | DOMAIN-SUFFIX,netflixdnstest1.com 12 | DOMAIN-SUFFIX,netflixdnstest2.com 13 | DOMAIN-SUFFIX,netflixdnstest3.com 14 | DOMAIN-SUFFIX,netflixdnstest4.com 15 | DOMAIN-SUFFIX,netflixdnstest5.com 16 | DOMAIN-SUFFIX,netflixdnstest6.com 17 | DOMAIN-SUFFIX,netflixdnstest7.com 18 | DOMAIN-SUFFIX,netflixdnstest8.com 19 | DOMAIN-SUFFIX,netflixdnstest9.com 20 | IP-CIDR,23.246.0.0/18,no-resolve 21 | IP-CIDR,37.77.184.0/21,no-resolve 22 | IP-CIDR,45.57.0.0/17,no-resolve 23 | IP-CIDR,64.120.128.0/17,no-resolve 24 | IP-CIDR,66.197.128.0/17,no-resolve 25 | IP-CIDR,108.175.32.0/20,no-resolve 26 | IP-CIDR,192.173.64.0/18,no-resolve 27 | IP-CIDR,198.38.96.0/19,no-resolve 28 | IP-CIDR,198.45.48.0/20,no-resolve 29 | IP-CIDR,8.41.4.0/24,no-resolve 30 | IP-CIDR,69.53.224.0/19,no-resolve 31 | IP-CIDR,185.2.220.0/22,no-resolve 32 | IP-CIDR,185.9.188.0/22,no-resolve 33 | IP-CIDR,207.45.72.0/22,no-resolve 34 | IP-CIDR,208.75.76.0/22,no-resolve -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/PBS.list: -------------------------------------------------------------------------------- 1 | # > PBS 2 | USER-AGENT,PBS* 3 | DOMAIN-SUFFIX,pbs.org -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Pandora.list: -------------------------------------------------------------------------------- 1 | # > Pandora 2 | USER-AGENT,Pandora* 3 | DOMAIN-SUFFIX,pandora.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Pornhub.list: -------------------------------------------------------------------------------- 1 | # > Pornhub 2 | DOMAIN-SUFFIX,phncdn.com 3 | DOMAIN-SUFFIX,pornhub.com 4 | DOMAIN-SUFFIX,pornhubpremium.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/SoundCloud.list: -------------------------------------------------------------------------------- 1 | # > SoundCloud 2 | USER-AGENT,SoundCloud* 3 | DOMAIN-SUFFIX,p-cdn.us 4 | DOMAIN-SUFFIX,sndcdn.com 5 | DOMAIN-SUFFIX,soundcloud.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Spotify.list: -------------------------------------------------------------------------------- 1 | # > Spotify 2 | USER-AGENT,Spotify* 3 | DOMAIN-SUFFIX,pscdn.co 4 | DOMAIN-SUFFIX,scdn.co 5 | DOMAIN-SUFFIX,spotify.com 6 | DOMAIN-SUFFIX,spoti.fi 7 | DOMAIN-KEYWORD,spotify.com 8 | DOMAIN-KEYWORD,-spotify-com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/TIDAL.list: -------------------------------------------------------------------------------- 1 | # > TIDAL 2 | USER-AGENT,TIDAL*dia 3 | DOMAIN-SUFFIX,tidal.comdia -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/TaiWanGood.list: -------------------------------------------------------------------------------- 1 | # > 台湾好 2 | USER-AGENT,TaiwanGood* 3 | DOMAIN-SUFFIX,skyking.com.tw 4 | DOMAIN,hamifans.emome.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/TikTok.list: -------------------------------------------------------------------------------- 1 | # > TikTok 2 | USER-AGENT,TikTok* 3 | DOMAIN-SUFFIX,muscdn.com 4 | DOMAIN-SUFFIX,musical.ly 5 | DOMAIN-SUFFIX,tiktokv.com 6 | DOMAIN-SUFFIX,tiktokcdn.com 7 | DOMAIN-KEYWORD,-tiktokcdn-com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/Twitch.list: -------------------------------------------------------------------------------- 1 | # > Twitch 2 | DOMAIN-SUFFIX,twitch.tv 3 | DOMAIN-SUFFIX,twitchcdn.net 4 | DOMAIN-SUFFIX,ttvnw.net 5 | DOMAIN-SUFFIX,jtvnw.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/ViuTV.list: -------------------------------------------------------------------------------- 1 | # > Viu(TV) 2 | USER-AGENT,Viu* 3 | USER-AGENT,ViuTV* 4 | DOMAIN-SUFFIX,viu.com 5 | DOMAIN-SUFFIX,viu.tv 6 | DOMAIN,api.viu.now.com 7 | DOMAIN,d1k2us671qcoau.cloudfront.net 8 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 9 | DOMAIN,dfp6rglgjqszk.cloudfront.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/YouTube.list: -------------------------------------------------------------------------------- 1 | # > YouTube 2 | USER-AGENT,com.google.ios.youtube* 3 | USER-AGENT,YouTube* 4 | DOMAIN-KEYWORD,youtube 5 | DOMAIN-SUFFIX,youtu.be 6 | DOMAIN-SUFFIX,googlevideo.com 7 | DOMAIN-SUFFIX,ytimg.com 8 | DOMAIN-SUFFIX,ggpht.com 9 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/YouTubeMusic.list: -------------------------------------------------------------------------------- 1 | # > YouTubeMusic 2 | USER-AGENT,com.google.ios.youtubemusic* 3 | USER-AGENT,YouTubeMusic* -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/encoreTVB.list: -------------------------------------------------------------------------------- 1 | # > encoreTVB 2 | USER-AGENT,encoreTVB* 3 | DOMAIN-SUFFIX,encoretvb.com 4 | DOMAIN,edge.api.brightcove.com 5 | DOMAIN,bcbolt446c5271-a.akamaihd.net -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/myTV_SUPER.list: -------------------------------------------------------------------------------- 1 | # > myTV_SUPER 2 | USER-AGENT,mytv* 3 | DOMAIN-KEYWORD,mytvsuper 4 | DOMAIN-SUFFIX,tvb.com 5 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Media/niconico.list: -------------------------------------------------------------------------------- 1 | # > niconico 2 | USER-AGENT,Niconico* 3 | DOMAIN-SUFFIX,dmc.nico 4 | DOMAIN-SUFFIX,nicovideo.jp 5 | DOMAIN-SUFFIX,nimg.jp 6 | DOMAIN-SUFFIX,socdm.com -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/OneDrive.list: -------------------------------------------------------------------------------- 1 | # > OneDrive 2 | PROCESS-NAME,OneDrive 3 | PROCESS-NAME,OneDriveUpdater 4 | USER-AGENT,OneDrive* 5 | USER-AGENT,OneDriveiOSApp* -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/PayPal.list: -------------------------------------------------------------------------------- 1 | # > PayPal 2 | USER-AGENT,PayPal* 3 | DOMAIN-KEYWORD,paypal 4 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Speedtest.list: -------------------------------------------------------------------------------- 1 | # > Speedtest by Ookla 2 | USER-AGENT,SpeedTest* 3 | DOMAIN-KEYWORD,speedtest -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Telegram.list: -------------------------------------------------------------------------------- 1 | DOMAIN-SUFFIX,t.me 2 | DOMAIN-SUFFIX,tdesktop.com 3 | DOMAIN-SUFFIX,telegra.ph 4 | DOMAIN-SUFFIX,telegram.me 5 | DOMAIN-SUFFIX,telegram.org 6 | IP-CIDR,91.108.4.0/22,no-resolve 7 | IP-CIDR,91.108.8.0/22,no-resolve 8 | IP-CIDR,91.108.12.0/22,no-resolve 9 | IP-CIDR,91.108.16.0/22,no-resolve 10 | IP-CIDR,91.108.56.0/22,no-resolve 11 | IP-CIDR,91.108.56.0/23,no-resolve 12 | IP-CIDR,109.239.140.0/24,no-resolve 13 | IP-CIDR,149.154.160.0/20,no-resolve 14 | IP-CIDR,149.154.160.0/22,no-resolve 15 | IP-CIDR,149.154.164.0/22,no-resolve 16 | IP-CIDR,149.154.168.0/22,no-resolve 17 | IP-CIDR,149.154.172.0/22,no-resolve 18 | IP-CIDR6,2001:b28:f23d::/48,no-resolve 19 | IP-CIDR6,2001:b28:f23f::/48,no-resolve 20 | IP-CIDR6,2001:67c:4e8::/48,no-resolve 21 | -------------------------------------------------------------------------------- /rules/ConnersHua/Surge/Ruleset/Unbreak.list: -------------------------------------------------------------------------------- 1 | # Unbreak 2 | # > General 3 | USER-AGENT,coffeecorp* 4 | USER-AGENT,restaurant-mobile* 5 | DOMAIN,app.adjust.com 6 | # > Google 7 | DOMAIN-SUFFIX,googletraveladservices.com 8 | DOMAIN,dl.google.com 9 | DOMAIN,mtalk.google.com 10 | # > Tencent 11 | DOMAIN,livew.l.qq.com 12 | DOMAIN,vd.l.qq.com 13 | # > Strava 14 | DOMAIN,analytics.strava.com 15 | # > Umeng 16 | DOMAIN,msg.umeng.com 17 | DOMAIN,msg.umengcloud.com 18 | # > SMTP 19 | DOMAIN-KEYWORD,SMTP 20 | DOMAIN-KEYWORD,HELO 21 | DOMAIN-KEYWORD,Subject 22 | # > bt? 23 | DOMAIN-KEYWORD,find_node 24 | DOMAIN-KEYWORD,get_peers 25 | DOMAIN-KEYWORD,info_hash 26 | DOMAIN-KEYWORD,peer_id 27 | DOMAIN-KEYWORD,announce 28 | DOMAIN-KEYWORD,BitTorrent 29 | DOMAIN-KEYWORD,torrent 30 | -------------------------------------------------------------------------------- /rules/DIRECT.list: -------------------------------------------------------------------------------- 1 | DOMAIN-KEYWORD,XLLiveUD. 2 | DOMAIN-KEYWORD,Thunder. 3 | DOMAIN-KEYWORD,sandai. 4 | DOMAIN-KEYWORD,xunlei. 5 | DOMAIN-KEYWORD,so.c 6 | DOMAIN-KEYWORD,360.c 7 | DOMAIN-SUFFIX,shifen.com 8 | DOMAIN-SUFFIX,baidu.com 9 | DOMAIN-KEYWORD,dafahao. 10 | DOMAIN-KEYWORD,minghui. 11 | DOMAIN-KEYWORD,dongtaiwang. 12 | DOMAIN-KEYWORD,epochtimes. 13 | DOMAIN-KEYWORD,ntdtv. 14 | DOMAIN-KEYWORD,falundafa. 15 | DOMAIN-KEYWORD,wujieliulan. 16 | DOMAIN-SUFFIX,wish.ga 17 | DOMAIN-KEYWORD,guerrillamail. 18 | DOMAIN-KEYWORD,guerrillamailblock. 19 | DOMAIN-KEYWORD,sharklasers. 20 | DOMAIN-KEYWORD,grr. 21 | DOMAIN-KEYWORD,pokemail. 22 | DOMAIN-KEYWORD,spam4. 23 | DOMAIN-KEYWORD,bccto. 24 | DOMAIN-KEYWORD,chacuo. 25 | DOMAIN-KEYWORD,027168. 26 | DOMAIN-SUFFIX,router.asus.com 27 | -------------------------------------------------------------------------------- /rules/HKMTMedia.list: -------------------------------------------------------------------------------- 1 | # (HKMTMedia) 2 | # > 爱奇艺台湾站 3 | DOMAIN,cache.video.iqiyi.com 4 | DOMAIN-KEYWORD,qiyi 5 | DOMAIN-SUFFIX,qy.net 6 | IP-CIDR,101.227.0.0/16 7 | IP-CIDR,101.224.0.0/13 8 | IP-CIDR,119.176.0.0/12 9 | 10 | # > bilibili 11 | DOMAIN-KEYWORD,bilibili 12 | DOMAIN-SUFFIX,acg.tv 13 | DOMAIN-SUFFIX,acgvideo.com 14 | DOMAIN-SUFFIX,b23.tv 15 | DOMAIN-SUFFIX,biliapi.com 16 | DOMAIN-SUFFIX,biliapi.net 17 | DOMAIN-SUFFIX,bilibili.com 18 | DOMAIN-SUFFIX,biligame.com 19 | DOMAIN-SUFFIX,biligame.net 20 | DOMAIN-SUFFIX,bilivideo.com 21 | DOMAIN-SUFFIX,hdslb.com 22 | DOMAIN-SUFFIX,im9.com 23 | -------------------------------------------------------------------------------- /rules/LocalAreaNetwork.list: -------------------------------------------------------------------------------- 1 | DOMAIN-SUFFIX,local 2 | IP-CIDR,192.168.0.0/16,no-resolve 3 | IP-CIDR,10.0.0.0/8,no-resolve 4 | IP-CIDR,172.16.0.0/12,no-resolve 5 | IP-CIDR,127.0.0.0/8,no-resolve 6 | IP-CIDR,100.64.0.0/10,no-resolve 7 | IP-CIDR6,::1/128,no-resolve 8 | IP-CIDR6,fc00::/7,no-resolve 9 | IP-CIDR6,fe80::/10,no-resolve 10 | IP-CIDR6,fd00::/8,no-resolve 11 | -------------------------------------------------------------------------------- /rules/MSServices.list: -------------------------------------------------------------------------------- 1 | # Microsoft Services 2 | # optimized from https://gist.github.com/TTTPOB/ce93fb3b04ba2f21880b09427442d831 3 | # source: https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges 4 | 5 | DOMAIN-KEYWORD,1drv 6 | DOMAIN-KEYWORD,microsoft 7 | DOMAIN-SUFFIX,aadrm.com 8 | DOMAIN-SUFFIX,acompli.com 9 | DOMAIN-SUFFIX,acompli.net 10 | DOMAIN-SUFFIX,aka.ms 11 | DOMAIN-SUFFIX,akadns.net 12 | DOMAIN-SUFFIX,aspnetcdn.com 13 | DOMAIN-SUFFIX,assets-yammer.com 14 | DOMAIN-SUFFIX,azure.com 15 | DOMAIN-SUFFIX,azure.net 16 | DOMAIN-SUFFIX,azureedge.net 17 | DOMAIN-SUFFIX,azurerms.com 18 | DOMAIN-SUFFIX,bing.com 19 | DOMAIN-SUFFIX,cloudapp.net 20 | DOMAIN-SUFFIX,cloudappsecurity.com 21 | DOMAIN-SUFFIX,edgesuite.net 22 | DOMAIN-SUFFIX,gfx.ms 23 | DOMAIN-SUFFIX,hotmail.com 24 | DOMAIN-SUFFIX,live.com 25 | DOMAIN-SUFFIX,live.net 26 | DOMAIN-SUFFIX,lync.com 27 | DOMAIN-SUFFIX,msappproxy.net 28 | DOMAIN-SUFFIX,msauth.net 29 | DOMAIN-SUFFIX,msauthimages.net 30 | DOMAIN-SUFFIX,msecnd.net 31 | DOMAIN-SUFFIX,msedge.net 32 | DOMAIN-SUFFIX,msft.net 33 | DOMAIN-SUFFIX,msftauth.net 34 | DOMAIN-SUFFIX,msftauthimages.net 35 | DOMAIN-SUFFIX,msftidentity.com 36 | DOMAIN-SUFFIX,msidentity.com 37 | DOMAIN-SUFFIX,msn.com 38 | DOMAIN-SUFFIX,msocdn.com 39 | DOMAIN-SUFFIX,msocsp.com 40 | DOMAIN-SUFFIX,mstea.ms 41 | DOMAIN-SUFFIX,o365weve.com 42 | DOMAIN-SUFFIX,oaspapps.com 43 | DOMAIN-SUFFIX,office.com 44 | DOMAIN-SUFFIX,office.net 45 | DOMAIN-SUFFIX,office365.com 46 | DOMAIN-SUFFIX,officeppe.net 47 | DOMAIN-SUFFIX,omniroot.com 48 | DOMAIN-SUFFIX,onedrive.com 49 | DOMAIN-SUFFIX,onenote.com 50 | DOMAIN-SUFFIX,onenote.net 51 | DOMAIN-SUFFIX,onestore.ms 52 | DOMAIN-SUFFIX,outlook.com 53 | DOMAIN-SUFFIX,outlookmobile.com 54 | DOMAIN-SUFFIX,phonefactor.net 55 | DOMAIN-SUFFIX,public-trust.com 56 | DOMAIN-SUFFIX,sfbassets.com 57 | DOMAIN-SUFFIX,sfx.ms 58 | DOMAIN-SUFFIX,sharepoint.com 59 | DOMAIN-SUFFIX,sharepointonline.com 60 | DOMAIN-SUFFIX,skype.com 61 | DOMAIN-SUFFIX,skypeassets.com 62 | DOMAIN-SUFFIX,skypeforbusiness.com 63 | DOMAIN-SUFFIX,staffhub.ms 64 | DOMAIN-SUFFIX,svc.ms 65 | DOMAIN-SUFFIX,sway-cdn.com 66 | DOMAIN-SUFFIX,sway-extensions.com 67 | DOMAIN-SUFFIX,sway.com 68 | DOMAIN-SUFFIX,trafficmanager.net 69 | DOMAIN-SUFFIX,uservoice.com 70 | DOMAIN-SUFFIX,virtualearth.net 71 | DOMAIN-SUFFIX,visualstudio.com 72 | DOMAIN-SUFFIX,windows-ppe.net 73 | DOMAIN-SUFFIX,windows.com 74 | DOMAIN-SUFFIX,windows.net 75 | DOMAIN-SUFFIX,windowsazure.com 76 | DOMAIN-SUFFIX,windowsupdate.com 77 | DOMAIN-SUFFIX,wunderlist.com 78 | DOMAIN-SUFFIX,yammer.com 79 | DOMAIN-SUFFIX,yammerusercontent.com 80 | -------------------------------------------------------------------------------- /rules/NobyDa/Surge/Download.list: -------------------------------------------------------------------------------- 1 | # Mac Download 2 | PROCESS-NAME,aria2c 3 | PROCESS-NAME,fdm 4 | PROCESS-NAME,Folx 5 | PROCESS-NAME,NetTransport 6 | PROCESS-NAME,Thunder 7 | PROCESS-NAME,Transmission 8 | PROCESS-NAME,uTorrent 9 | PROCESS-NAME,WebTorrent 10 | PROCESS-NAME,WebTorrent Helper 11 | # bt 12 | DOMAIN-SUFFIX,smtp 13 | DOMAIN-KEYWORD,aria2 14 | URL-REGEX,(Subject|HELO|SMTP) 15 | URL-REGEX,(api|ps|sv|offnavi|newvector|ulog.imap|newloc)(.map|).(baidu|n.shifen).com 16 | URL-REGEX,(.+.|^)(360|so|qihoo|360safe|qhimg|360totalsecurity|yunpan).(cn|com) 17 | URL-REGEX,(.+.)?(torrent|announce.php?passkey=|tracker|BitTorrent|bt_key|ed2k|find_node|get_peers|info_hash|magnet:|peer_id=|xunlei)(..+)? 18 | # XunLei 19 | URL-REGEX,(.?)(xunlei|sandai|Thunder|XLLiveUD)(.) 20 | PROCESS-NAME,DownloadService 21 | # 360 22 | URL-REGEX,(.+\.|^)(360|so)\.(cn|com) 23 | # Tencent Weiyun 24 | PROCESS-NAME,Weiyun 25 | -------------------------------------------------------------------------------- /rules/PROXY.list: -------------------------------------------------------------------------------- 1 | DOMAIN-KEYWORD,yoyu. 2 | IP-CIDR,8.8.8.8/32,no-resolve 3 | IP-CIDR,8.8.4.4/32,no-resolve 4 | IP-CIDR,208.67.222.222/32,no-resolve 5 | IP-CIDR,208.67.220.220/32,no-resolve 6 | IP-CIDR,1.1.1.1/32,no-resolve 7 | IP-CIDR,1.0.0.1/32,no-resolve 8 | IP-CIDR,203.208.41.1/24,no-resolve 9 | IP-CIDR,203.208.39.1/24,no-resolve 10 | IP-CIDR,203.208.40.1/24,no-resolve 11 | IP-CIDR,203.208.41.1/24,no-resolve 12 | IP-CIDR,203.208.43.1/24,no-resolve 13 | IP-CIDR,203.208.50.1/24,no-resolve 14 | -------------------------------------------------------------------------------- /rules/yoyuNeteaseMusic.list: -------------------------------------------------------------------------------- 1 | USER-AGENT,%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90 2 | USER-AGENT,NeteaseMusic* 3 | #Domain规则 4 | DOMAIN-SUFFIX,163yun.com 5 | DOMAIN-SUFFIX,music.163.com 6 | DOMAIN-SUFFIX,music.126.net 7 | DOMAIN-SUFFIX,api.iplay.163.com 8 | DOMAIN-SUFFIX,apm.music.163.com 9 | DOMAIN-SUFFIX,apm3.music.163.com 10 | DOMAIN-SUFFIX,interface.music.163.com 11 | DOMAIN-SUFFIX,interface3.music.163.com 12 | DOMAIN-SUFFIX,mam.netease.com 13 | DOMAIN-SUFFIX,hz.netease.com 14 | #CIDR规则 15 | IP-CIDR,39.105.63.80/32 16 | IP-CIDR,45.254.48.1/32 17 | IP-CIDR,47.100.127.239/32 18 | IP-CIDR,59.111.21.14/31 19 | IP-CIDR,59.111.179.214/32 20 | IP-CIDR,59.111.181.38/32 21 | IP-CIDR,59.111.181.60/32 22 | IP-CIDR,59.111.160.195/32 23 | IP-CIDR,59.111.160.197/32 24 | IP-CIDR,59.111.181.35/32 25 | IP-CIDR,59.111.238.29/32 26 | IP-CIDR,101.71.154.241/32 27 | IP-CIDR,103.126.92.132/32 28 | IP-CIDR,103.126.92.133/32 29 | IP-CIDR,112.13.119.17/32 30 | IP-CIDR,112.13.122.1/32 31 | IP-CIDR,115.236.118.33/32 32 | IP-CIDR,115.236.121.1/32 33 | IP-CIDR,118.24.63.156/32 34 | IP-CIDR,193.112.159.225/32 35 | IP-CIDR,223.252.199.66/32 36 | IP-CIDR,223.252.199.67/32 37 | -------------------------------------------------------------------------------- /rustss.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin 3 | export PATH 4 | CONF="/etc/rustss/rustss-server.json" 5 | SYSTEMD="/etc/systemd/system/rustss.service" 6 | apt-get -y install nano wget 7 | cd ~/ 8 | wget --no-check-certificate -O rustss.tar.xz https://github.com/shadowsocks/shadowsocks-rust/releases/download/v1.12.0-alpha.9/shadowsocks-v1.12.0-alpha.9.x86_64-unknown-linux-musl.tar.xz 9 | tar -xvJf rustss.tar.xz 10 | rm -f rustss.tar.xz 11 | chmod +x ssserver 12 | chmod +x sslocal 13 | chmod +x ssmanager 14 | chmod +x ssurl 15 | mv -f ssserver /usr/local/bin/ 16 | mv -f sslocal /usr/local/bin/ 17 | mv -f ssmanager /usr/local/bin/ 18 | mv -f ssurl /usr/local/bin/ 19 | if [ -f ${CONF} ]; then 20 | echo "Found existing config..." 21 | else 22 | if [ -z ${PSK} ]; then 23 | PSK=$(tr -dc A-Za-z0-9 >${CONF} 35 | echo " \"server\": \"0.0.0.0\"," >>${CONF} 36 | echo " \"server_port\": $port," >>${CONF} 37 | echo " \"password\": \"$rustsspwd\"," >>${CONF} 38 | echo " \"timeout\": 60," >>${CONF} 39 | echo " \"mode\":\"tcp_and_udp\"," >>${CONF} 40 | echo " \"method\": \"aes-128-gcm\"" >>${CONF} 41 | echo "}" >>${CONF} 42 | fi 43 | if [ -f ${SYSTEMD} ]; then 44 | echo "Found existing service..." 45 | systemctl daemon-reload 46 | systemctl restart rustss 47 | else 48 | echo "Generating new service..." 49 | echo "[Unit]" >>${SYSTEMD} 50 | echo "Description=Rustss Proxy Service" >>${SYSTEMD} 51 | echo "After=network.target" >>${SYSTEMD} 52 | echo "" >>${SYSTEMD} 53 | echo "[Service]" >>${SYSTEMD} 54 | echo "Type=simple" >>${SYSTEMD} 55 | echo "LimitAS=infinity" >>${SYSTEMD} 56 | echo "LimitRSS=infinity" >>${SYSTEMD} 57 | echo "LimitCORE=infinity" >>${SYSTEMD} 58 | echo "LimitNOFILE=65535" >>${SYSTEMD} 59 | echo "ExecStart=/usr/local/bin/ssserver -c /etc/rustss/rustss-server.json -v" >>${SYSTEMD} 60 | echo "StandardOutput=file:/etc/rustss/rust.log" >>${SYSTEMD} 61 | echo "StandardError=file:/etc/rustss/rust.log" >>${SYSTEMD} 62 | echo "Restart=always" >>${SYSTEMD} 63 | echo "RestartSec=10" >>${SYSTEMD} 64 | echo "" >>${SYSTEMD} 65 | echo "[Install]" >>${SYSTEMD} 66 | echo "WantedBy=multi-user.target" >>${SYSTEMD} 67 | systemctl daemon-reload 68 | systemctl enable rustss 69 | systemctl start rustss 70 | ssurl -e /etc/rustss/rustss-server.json 71 | fi 72 | echo '##########################################################' 73 | echo '#修改配置:nano /etc/rustss/rustss-server.json' 74 | echo '#启动ss:systemctl restart rustss' 75 | echo '#获取url自行改ip:ssurl -e /etc/rustss/rustss-server.json' 76 | echo '##########################################################' 77 | -------------------------------------------------------------------------------- /sc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | apt-get update -y 3 | apt install -y python3-pip git python3 4 | 5 | 6 | # 安装路径 7 | Path="/root" 8 | 9 | # Python的绝对路径 10 | Pythonpath="/usr/bin/python3" 11 | 12 | if [ `command -v pip3` ];then 13 | echo 'pip3 已经安装' 14 | else 15 | echo -e "\033[31m Error:未安装pip3 请自行安装 \033[0m" 16 | exit 17 | fi 18 | #安装 19 | cd $Path 20 | git clone https://github.com/nameless3721/SSRClash.git 21 | cd $Path/SSRClash 22 | pip3 install requests flask-restful 23 | 24 | # 建立服务 25 | cat > /etc/systemd/system/SSRClash.service < ./config.json 27 | { 28 | "Admin": $Adminid, 29 | "//1": "管理员用户ID(数字ID)(可以先不设)", 30 | "Token": "$BotToken", 31 | "//2": "机器人Token", 32 | "Lang": "zh", 33 | "//3": "语言包名称", 34 | "manager8": 1, 35 | "manager7": 1, 36 | "manager6": 1, 37 | "//6": "以上三行可以是最多三个管理员或者bot测试者、开发者" 38 | } 39 | EOF 40 | # 建立服务 41 | cat > /etc/systemd/system/tgbot.service <