@@ -336,10 +336,10 @@ flowchart TB
336
336
}
337
337
```
338
338
339
- === ":material-dns: DNS rules (1.9.0+)"
339
+ === ":material-dns: DNS rules (Enhanced, but slower) (1.9.0+)"
340
+
341
+ === ":material-shield-off: With DNS leaks"
340
342
341
- === ":material-shield-off: With DNS Leaks"
342
-
343
343
```json
344
344
{
345
345
"dns": {
@@ -376,7 +376,17 @@ flowchart TB
376
376
"server": "google"
377
377
},
378
378
{
379
- "rule_set": "geoip-cn",
379
+ "type": "logical",
380
+ "mode": "and",
381
+ "rules": [
382
+ {
383
+ "rule_set": "geosite-geolocation-!cn",
384
+ "invert": true
385
+ },
386
+ {
387
+ "rule_set": "geoip-cn"
388
+ }
389
+ ],
380
390
"server": "local"
381
391
}
382
392
]
@@ -389,6 +399,12 @@ flowchart TB
389
399
"format": "binary",
390
400
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
391
401
},
402
+ {
403
+ "type": "remote",
404
+ "tag": "geosite-geolocation-!cn",
405
+ "format": "binary",
406
+ "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
407
+ },
392
408
{
393
409
"type": "remote",
394
410
"tag": "geoip-cn",
@@ -398,14 +414,18 @@ flowchart TB
398
414
]
399
415
},
400
416
"experimental": {
417
+ "cache_file": {
418
+ "enabled": true,
419
+ "store_rdrc": true
420
+ },
401
421
"clash_api": {
402
- "default_mode": "Leak "
422
+ "default_mode": "Enhanced "
403
423
}
404
424
}
405
425
}
406
426
```
407
427
408
- === ":material-security: Without DNS Leaks (1.9.0-alpha.2+)"
428
+ === ":material-security: Without DNS leaks, but slower (1.9.0-alpha.2+)"
409
429
410
430
```json
411
431
{
@@ -439,7 +459,17 @@ flowchart TB
439
459
"server": "local"
440
460
},
441
461
{
442
- "rule_set": "geoip-cn",
462
+ "type": "logical",
463
+ "mode": "and",
464
+ "rules": [
465
+ {
466
+ "rule_set": "geosite-geolocation-!cn",
467
+ "invert": true
468
+ },
469
+ {
470
+ "rule_set": "geoip-cn"
471
+ }
472
+ ],
443
473
"server": "google",
444
474
"client_subnet": "114.114.114.114" // Any China client IP address
445
475
}
@@ -453,13 +483,28 @@ flowchart TB
453
483
"format": "binary",
454
484
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
455
485
},
486
+ {
487
+ "type": "remote",
488
+ "tag": "geosite-geolocation-!cn",
489
+ "format": "binary",
490
+ "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
491
+ },
456
492
{
457
493
"type": "remote",
458
494
"tag": "geoip-cn",
459
495
"format": "binary",
460
496
"url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs"
461
497
}
462
498
]
499
+ },
500
+ "experimental": {
501
+ "cache_file": {
502
+ "enabled": true,
503
+ "store_rdrc": true
504
+ },
505
+ "clash_api": {
506
+ "default_mode": "Enhanced"
507
+ }
463
508
}
464
509
}
465
510
```
0 commit comments