Last active
May 27, 2025 18:01
-
-
Save Cryolitia/3bbe8f5b659c2f26f545230a2dea93df to your computer and use it in GitHub Desktop.
clash-verge-rev lazycat config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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