1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
| mixed-port: 7890 allow-lan: true bind-address: '*' mode: rule log-level: info external-controller: :9090 geodata-mode: true geox-url: geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat" geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat" mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb" geo-auto-update: true geo-update-interval: 120 profile: store-selected: true store-fake-ip: true tcp-concurrent: true global-client-fingerprint: iOS dns: enable: true ipv6: false default-nameserver: [223.5.5.5, 119.29.29.29] enhanced-mode: fake-ip fake-ip-range: 198.18.0.1/16 use-hosts: true nameserver: ['https://my.com/token'] proxies: - { name: '自建节点', type: ss, server: 127.0.0.1, port: 7777, cipher: aes-256-gcm, password: password0, udp: true } tunnels: - { network: [tcp, udp], address: 127.0.0.1:7777, target: ssip:20077, proxy: "手动选择"} proxy-providers: provider1: type: http path: ./provider1.yaml url: Clash的订阅地址 interval: 86400 health-check: enable: false url: https://www.gstatic.com/generate_204 interval: 300 provider2: type: http path: ./provider2.yaml url: Clash的订阅地址 interval: 86400 filter: "(?i)AA-中继-HK|AA-中继-JP|AA-V2ray-HK|AA-V2ray-JP" exclude-filter: "(?i)海外直连|打機神線" health-check: enable: false url: https://www.gstatic.com/generate_204 interval: 300 proxy-groups: - { name: PROXY, type: select, proxies: ["手动选择", "自建节点", DIRECT] } - { name: "手动选择", type: select, proxies: ["provider1", "provider2"] } - { name: "provider1", type: select, use: [provider1] } - { name: "provider2", type: select, use: [provider2] } rules: - GEOSITE,CN,DIRECT - GEOSITE,geolocation-!cn,PROXY - GEOIP,LAN,DIRECT - GEOIP,CN,DIRECT - MATCH,PROXY
|