Skip to content

Instantly share code, notes, and snippets.

@Cryolitia
Last active May 27, 2025 18:01
Show Gist options
  • Select an option

  • Save Cryolitia/3bbe8f5b659c2f26f545230a2dea93df to your computer and use it in GitHub Desktop.

Select an option

Save Cryolitia/3bbe8f5b659c2f26f545230a2dea93df to your computer and use it in GitHub Desktop.
clash-verge-rev lazycat config
// Define main function (script entry)
const newRules = [
// 自定义规则
"DOMAIN-SUFFIX,uniontech.com,DIRECT",
"DOMAIN-SUFFIX,deepin.com,DIRECT",
"DOMAIN-SUFFIX,deepin.org,DIRECT",
"DOMAIN-SUFFIX,heiyu.space,DIRECT",
"DOMAIN-SUFFIX,lazycat.cloud,DIRECT",
"DOMAIN-SUFFIX,lazycatmicroserver.com,DIRECT",
];
// 程序入口
function main(config) {
let oldRules = config.rules;
// 将新的规则添加到现有的规则中
config.rules = newRules.concat(oldRules);
// 返回修改后的配置
return config;
}
tun:
route-exclude-address:
- 6.6.6.6/32
- 2000::6666/128
- fc03:1136:3800::/40
- 10.0.0.0/8
sniffer:
enable: false
force-dns-mapping: true
parse-pure-ip: true
override-destination: false
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- Mijia Cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment