Skip to content

Instantly share code, notes, and snippets.

@Chever-John
Created April 30, 2025 09:45
Show Gist options
  • Select an option

  • Save Chever-John/8bd2cfa560886b91577c1f8cfda4b711 to your computer and use it in GitHub Desktop.

Select an option

Save Chever-John/8bd2cfa560886b91577c1f8cfda4b711 to your computer and use it in GitHub Desktop.
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 127.0.0.1, localhost, *.local
internet-test-url = http://connectivitycheck.platform.hicloud.com/generate_204
proxy-test-url = http://latency-test.skk.moe/endpoint
proxy-test-udp = www.apple.com@64.6.64.6
bypass-system = true
# iOS
bypass-tun = 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8, 17.0.0.0/8
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
# macOS
exclude-simple-hostnames = true
read-etc-hosts = true
encrypted-dns-server = quic://223.5.5.5, quic://223.6.6.6, https://1.12.12.12/dns-query, https://120.53.53.53/dns-query
# 控制不带点的域名(如 localhost、DEVICE-A114514 这类 mDNS 名)是否绕过 Surge Proxy、直接使用 Surge VIF 虚拟网卡处理。
external-controller-access = sijtuw-mesgo8-sUhfic@0.0.0.0:6170
# 控制是否让 Surge for Mac 读取 /etc/hosts 文件并在 Surge DNS 中模拟该行为。
test-timeout = 5
proxy-restricted-to-lan = false
dns-server = system
[Rule]
DOMAIN-SUFFIX,brew.sh,"♻️ 自动选择"
DOMAIN-SUFFIX,ghcr.io,"♻️ 自动选择"
DOMAIN-SUFFIX,ocbc.com,"🇸🇬 狮城节点" // Added for: internet.ocbc.com:443
DOMAIN-SUFFIX,paypal.com,"🇭🇰 香港节点" // Added for: api-m.paypal.com:443
DOMAIN-SUFFIX,devv.ai,"♻️ 自动选择"
DOMAIN-SUFFIX,garmin.com,"♻️ 自动选择"
DOMAIN-SUFFIX,payoneer.com,"🇭🇰 香港节点" // Added for: myaccount.payoneer.com:443
DOMAIN-SUFFIX,steampowered.com,"♻️ 自动选择" // Added for: store.steampowered.com:443
# 广告拦截
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
# 其它域名拦截
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-no-drop.conf,REJECT-NO-DROP,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-drop.conf,REJECT-DROP,extended-matching
# 测速网站及其测速点域名
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/speedtest.conf,"♻️ 自动选择",extended-matching
# 静态 CDN 域名
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,"♻️ 自动选择",extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/cdn.conf,"♻️ 自动选择",extended-matching
# Telegram
RULE-SET,https://ruleset.skk.moe/List/non_ip/telegram.conf,"📲 电报消息",extended-matching
# Telegram IP 规则
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,"📲 电报消息"
PROCESS-NAME,Telegram,REJECT-DROP
# Apple & Microsoft 国内 CDN 域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_cdn.conf,DIRECT
RULE-SET,https://ruleset.skk.moe/List/non_ip/microsoft_cdn.conf,DIRECT
# 软件、游戏和驱动的下载和更新域名
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/download.conf,DIRECT,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/download.conf,DIRECT,extended-matching
# Apple CN 域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_cn.conf,DIRECT
# 排除了 Apple 和 Microsoft 服务域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_services.conf,"♻️ 自动选择",extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/microsoft.conf,"♻️ 自动选择",extended-matching
# AIGC 类服务域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,"♻️ 自动选择",extended-matching
# 常见海外域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/global.conf,"♻️ 自动选择",extended-matching
# 网易云音乐的域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/neteasemusic.conf,DIRECT,extended-matching
# 国内常见域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/domestic.conf,DIRECT,extended-matching
# 国内 IP 段
RULE-SET,https://ruleset.skk.moe/List/ip/domestic.conf,DIRECT
RULE-SET,https://ruleset.skk.moe/List/ip/china_ip.conf,DIRECT
# 内网域名
RULE-SET,https://ruleset.skk.moe/List/non_ip/lan.conf,DIRECT
# 广告拦截 IP
RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP
# 流媒体域名
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_hk.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_jp.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_us.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_tw.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_kr.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_eu.conf,[替换你的策略名],extended-matching
# RULE-SET,https://ruleset.skk.moe/List/non_ip/stream.conf,[替换你的策略名],extended-matching
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list,"🎯 全球直连","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list,"🎯 全球直连","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list,"🍃 应用净化","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleFCM.list,"📢 谷歌FCM","update-interval=86400"
DOMAIN-SUFFIX,xn--ngstr-lra8j.com,"📢 谷歌🇨🇳Play下载"
DOMAIN-SUFFIX,services.googleapis.cn,"📢 谷歌🇨🇳Play服务"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCNProxyIP.list,"📢 谷歌🇨🇳Play服务","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCN.list,"📢 谷歌🇨🇳","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/YouTube.list,"📹 油管视频","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Google.list,"📢 谷歌","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Bing.list,"Ⓜ️ 微软Bing","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/OneDrive.list,"Ⓜ️ 微软云盘","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Microsoft.list,"Ⓜ️ 微软服务","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Apple.list,"🍎 苹果服务","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/OpenAi.list,"💬 OpenAi","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/NetEaseMusic.list,"🎶 网易音乐","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Epic.list,"🎮 游戏平台","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Origin.list,"🎮 游戏平台","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Sony.list,"🎮 游戏平台","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Steam.list,"🎮 游戏平台","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Nintendo.list,"🎮 游戏平台","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Netflix.list,"🎥 奈飞视频","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bahamut.list,"📺 巴哈姆特","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/BilibiliHMT.list,"📺 哔哩哔哩","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/Bilibili.list,"📺 哔哩哔哩","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list,"🌏 国内媒体","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list,"🌍 国外媒体","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list,"🚀 节点选择","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list,"🎯 全球直连","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list,"🎯 全球直连","update-interval=86400"
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Download.list,"🎯 全球直连","update-interval=86400"
GEOIP,CN,"🎯 全球直连"
FINAL,🐟 漏网之鱼
[SSID Setting]
SSID:IlllIllllllIIIIIllll dns-server="192.168.31.53", encrypted-dns-server="off"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment