Created
September 4, 2022 10:27
-
-
Save recall704/e838903df069e9f5d5488c1e5883f78d to your computer and use it in GitHub Desktop.
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
--- | |
mixed-port: 7890 | |
mode: rule | |
ipv6: false | |
log-level: info | |
allow-lan: false | |
external-controller: "127.0.0.1:9090" | |
secret: "" | |
tun: | |
enable: true | |
stack: gvisor | |
dns-hijack: | |
- "198.18.0.2:53" | |
auto-route: true | |
auto-detect-interface: true | |
dns: | |
enable: true | |
enhanced-mode: fake-ip | |
nameserver: | |
- 114.114.114.114 | |
- 223.5.5.5 | |
- 8.8.8.8 | |
fallback: [] | |
fake-ip-filter: | |
- dns.msftncsi.com | |
- www.msftncsi.com | |
- www.msftconnecttest.com | |
proxy-providers: | |
subscribe: | |
type: http | |
path: "./subscribe.yaml" | |
url: "https://aabbcc.com/link/ddeeff?clash=1" | |
interval: 0 | |
health-check: | |
enable: true | |
url: "http://cp.cloudflare.com" | |
interval: 300 | |
proxy-groups: | |
- name: DefaultProxy | |
type: select | |
use: | |
- subscribe | |
- name: URLTest | |
type: url-test | |
use: | |
- subscribe | |
url: "http://cp.cloudflare.com" | |
interval: 300 | |
- name: Fallback | |
type: fallback | |
use: | |
- subscribe | |
url: "http://cp.cloudflare.com" | |
interval: 300 | |
- name: Proxy | |
type: select | |
proxies: | |
- DefaultProxy | |
- URLTest | |
- Fallback | |
- name: Final | |
type: select | |
proxies: | |
- Proxy | |
- DIRECT | |
- URLTest | |
- Fallback | |
- name: China | |
type: select | |
proxies: | |
- DIRECT | |
- Proxy | |
- name: Reject | |
type: select | |
proxies: | |
- REJECT | |
- DIRECT | |
- Proxy | |
rules: | |
- "GEOSITE,category-ads-all,Reject" | |
- "GEOSITE,icloud@cn,China" | |
- "GEOSITE,apple@cn,China" | |
- "GEOSITE,apple-cn,China" | |
- "GEOSITE,microsoft@cn,China" | |
- "GEOSITE,facebook,Proxy" | |
- "GEOSITE,youtube,Proxy" | |
- "GEOSITE,geolocation-cn,China" | |
- "GEOSITE,geolocation-!cn,Proxy" | |
- "GEOIP,telegram,Proxy,no-resolve" | |
- "GEOIP,private,China,no-resolve" | |
- "GEOIP,cn,China" | |
- "MATCH,Final" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment