diff --git a/config/appprofile.example.php b/config/appprofile.example.php index d8b96c7ba2..55e3485603 100644 --- a/config/appprofile.example.php +++ b/config/appprofile.example.php @@ -70,6 +70,10 @@ 'strategy' => 'prefer_ipv6', 'detour' => 'select', ], + [ + 'tag' => 'fakeip', + 'address' => 'fakeip', + ], [ 'tag' => 'block', 'address' => 'rcode://refused', @@ -81,19 +85,20 @@ 'server' => 'local', ], [ - 'clash_mode' => 'Global', + 'rule_set' => 'geosite-geolocation-!cn', 'server' => 'cloudflare', ], [ 'rule_set' => 'geosite-cn', - 'server' => 'local', - ], - [ - 'clash_mode' => 'Direct', - 'server' => 'local', + 'server' => 'fakeip', ], ], 'final' => 'cloudflare', + 'fakeip' => [ + 'enabled' => true, + 'inet4_range' => '198.18.0.0/15', + 'inet6_range' => 'fc00::/18', + ], 'disable_cache' => true, 'independent_cache' => true, ], @@ -149,11 +154,9 @@ 'action' => 'hijack-dns', ], [ - 'clash_mode' => 'Direct', - 'outbound' => 'direct', - ], - [ - 'clash_mode' => 'Global', + 'rule_set' => [ + 'geosite-geolocation-!cn', + ], 'outbound' => 'select', ], [ @@ -179,7 +182,7 @@ 'type' => 'remote', 'format' => 'binary', 'url' => 'https://' . $_ENV['jsdelivr_url'] . '/gh/SagerNet/sing-geoip@rule-set/geoip-cn.srs', - 'download_detour' => 'select', + 'download_detour' => 'auto', 'update_interval' => '1d', ], [ @@ -187,7 +190,15 @@ 'type' => 'remote', 'format' => 'binary', 'url' => 'https://' . $_ENV['jsdelivr_url'] . '/gh/SagerNet/sing-geosite@rule-set/geosite-cn.srs', - 'download_detour' => 'select', + 'download_detour' => 'auto', + 'update_interval' => '1d', + ], + [ + 'tag' => 'geosite-geolocation-!cn', + 'type' => 'remote', + 'format' => 'binary', + 'url' => 'https://' . $_ENV['jsdelivr_url'] . '/gh/SagerNet/sing-geosite@rule-set/geosite-geolocation-!cn.srs', + 'download_detour' => 'auto', 'update_interval' => '1d', ], ], @@ -201,9 +212,6 @@ 'cache_id' => '', 'path' => 'cache.db', ], - 'clash_api' => [ - 'external_controller' => '127.0.0.1:9090', - ], ], ];