Skip to content

Instantly share code, notes, and snippets.

@zimjin
Created March 22, 2025 12:28
Show Gist options
  • Select an option

  • Save zimjin/8c0ec805a2d0fa4f28cc9e517a59ae6b to your computer and use it in GitHub Desktop.

Select an option

Save zimjin/8c0ec805a2d0fa4f28cc9e517a59ae6b to your computer and use it in GitHub Desktop.
Clash Verge proxy configration
mixed-port: 7896
allow-lan: false
mode: rule
log-level: info
external-controller: '127.0.0.1:9097'
unified-delay: true
profile:
store-selected: true
tun:
mtu: 1500
dns:
enable: true
use-system-hosts: false
listen: '127.0.0.1:5335'
default-nameserver: [180.76.76.76, 182.254.118.118, 8.8.8.8, 180.184.2.2]
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter: ['*.lan', 'stun.*.*.*', 'stun.*.*', time.windows.com, time.nist.gov, time.apple.com, time.asia.apple.com, '*.ntp.org.cn', '*.openwrt.pool.ntp.org', time1.cloud.tencent.com, time.ustc.edu.cn, pool.ntp.org, ntp.ubuntu.com, ntp.aliyun.com, ntp1.aliyun.com, ntp2.aliyun.com, ntp3.aliyun.com, ntp4.aliyun.com, ntp5.aliyun.com, ntp6.aliyun.com, ntp7.aliyun.com, time1.aliyun.com, time2.aliyun.com, time3.aliyun.com, time4.aliyun.com, time5.aliyun.com, time6.aliyun.com, time7.aliyun.com, '*.time.edu.cn', time1.apple.com, time2.apple.com, time3.apple.com, time4.apple.com, time5.apple.com, time6.apple.com, time7.apple.com, time1.google.com, time2.google.com, time3.google.com, time4.google.com, music.163.com, '*.music.163.com', '*.126.net', musicapi.taihe.com, music.taihe.com, songsearch.kugou.com, trackercdn.kugou.com, '*.kuwo.cn', api-jooxtt.sanook.com, api.joox.com, joox.com, y.qq.com, '*.y.qq.com', streamoc.music.tc.qq.com, mobileoc.music.tc.qq.com, isure.stream.qqmusic.qq.com, dl.stream.qqmusic.qq.com, aqqmusic.tc.qq.com, amobile.music.tc.qq.com, '*.xiami.com', '*.music.migu.cn', music.migu.cn, '*.msftconnecttest.com', '*.msftncsi.com', localhost.ptlogin2.qq.com, '*.*.*.srv.nintendo.net', '*.*.stun.playstation.net', 'xbox.*.*.microsoft.com', '*.ipv6.microsoft.com', '*.*.xboxlive.com', speedtest.cros.wr.pvp.net]
nameserver: [180.76.76.76, 119.29.29.29, 180.184.1.1, 223.5.5.5, 8.8.8.8, 'https://223.6.6.6/dns-query#h3=true', 'https://223.5.5.5/dns-query', 'https://cloudflare-dns.com/dns-query', 'https://doh.pub/dns-query']
fallback: ['https://000000.dns.nextdns.io/dns-query#h3=true', 'https://101.101.101.101/dns-query', 'https://208.67.220.220/dns-query', 'tls://8.8.4.4', 'tls://1.0.0.1:853', 'https://cloudflare-dns.com/dns-query', 'https://dns.google/dns-query']
fallback-filter: { geoip: true, ipcidr: [240.0.0.0/4, 0.0.0.0/32, 127.0.0.1/32], domain: [+.google.com, +.facebook.com, +.twitter.com, +.youtube.com, +.xn--ngstr-lra8j.com, +.google.cn, +.googleapis.cn, +.googleapis.com, +.gvt1.com] }
proxies:
- { name: MyProxy, type: http, server: [exampleproxy.com], port: 443, username: [User Name], password: [You Password],tls: true, skip-cert-verify: false}
proxy-groups:
- { name: MyProxyGroup, type: select, proxies: [MyProxy], url: 'https://www.google.com/', interval: 300}
rules:
- 'DOMAIN,kbjc.top,DIRECT'
- 'DOMAIN-SUFFIX,services.googleapis.cn,MyProxyGroup'
- 'DOMAIN-SUFFIX,xn--ngstr-lra8j.com,MyProxyGroup'
- 'DOMAIN-SUFFIX,vercel.app,MyProxyGroup'
- 'DOMAIN-SUFFIX,openai.com,MyProxyGroup'
- 'DOMAIN-SUFFIX,sentry.io,MyProxyGroup'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment