7 device-id: "dev://utun1989"
11 listen: 127.0.0.1:53553
12 # udp: 127.0.0.1:53553
13 # tcp: 127.0.0.1:53553
14 # dot: 127.0.0.1:53554
15 # doh: 127.0.0.1:53555
17 # ipv6: false # when the false, response to AAAA questions will be empty
19 # These nameservers are used to resolve the DNS nameserver hostnames below.
20 # Specify IP addresses only
24 enhanced-mode: fake-ip
25 fake-ip-range: 198.18.0.2/16 # Fake IP addresses pool CIDR
26 # use-hosts: true # lookup hosts and return IP record
28 # Hostnames in this list will not be resolved with fake IPs
29 # i.e. questions to these domain names will always be answered with their
33 # - localhost.ptlogin2.qq.com
35 # Supports UDP, TCP, DoT, DoH. You can specify the port to connect to.
36 # All DNS questions are sent directly to the nameserver, without proxies
37 # involved. Clash answers the DNS question with the first result gathered.
39 - 114.114.114.114 # default value
40 - 1.1.1.1 # default value
41 - tls://1.1.1.1:853 # DNS over TLS
42 - https://1.1.1.1/dns-query # DNS over HTTPS
43 # - dhcp://en0 # dns from dhcp
48 external-controller: 127.0.0.1:9090
52 ignore-resolve-fail: true
82 url: "http://www.gstatic.com/generate_204"
85 - name: "fallback-auto"
91 url: "http://www.gstatic.com/generate_204"
94 - name: "load-balance"
100 strategy: round-robin
101 url: "http://www.gstatic.com/generate_204"
121 uuid: b831381d-6324-4d53-ad4f-8cda48b30811
125 skip-cert-verify: true
130 uuid: b831381d-6324-4d53-ad4f-8cda48b30811
134 skip-cert-verify: true
137 path: /api/v3/download.getFile
145 uuid: 23ad6b10-8d1a-40f7-8ad0-e3e35cd38297
149 skip-cert-verify: true
156 uuid: b831381d-6324-4d53-ad4f-8cda48b30811
160 skip-cert-verify: true
168 server: tw-1.ac.laowanxiang.com
170 uuid: 46dd0dd3-2cc0-3f55-907c-d94e54877687
176 path: /api/v3/download.getFile
178 Host: 5607b9d187e655736f563fee87d7283994721.laowanxiang.com
192 # sni: example.com # aka server name
196 skip-cert-verify: true
205 url: http://www.gstatic.com/generate_204
211 path: ./rule-set.yaml
216 - DOMAIN,ipinfo.io,relay
217 - RULE-SET,file-provider,trojan
219 - DOMAIN-SUFFIX,facebook.com,REJECT
220 - DOMAIN-KEYWORD,google,select
221 - DOMAIN,google.com,select
222 - SRC-IP-CIDR,192.168.1.1/24,DIRECT
225 - SRC-PORT,7777,DIRECT