cat > /tmp/config.yaml << 'EOF' mode: rule log-level: info external-controller: 127.0.0.1:9090 secret: "" # DNS 配置 dns: enabled: true listen: 0.0.0.0:53 nameserver: - 114.114.114.114 # 中国电信 - 223.5.5.5 # 阿里 DNS - 8.8.8.8 # Google DNS,作为备用 # 当解析结果是中国 IP 时,视为直连 fallback-filter: geoip: true ipcidr: - 240.0.0.0/4 # 保留 IPv4 地址 proxies: - name: "直连占位节点" type: ss server: 127.0.0.1 port: 10000 cipher: aes-128-gcm password: "placeholder" proxy-groups: - name: "Proxy" type: select proxies: - "直连占位节点" rules: - MATCH,DIRECT EOF