From 98e45aac7067f10690bac62f8a0f3d93836bd147 Mon Sep 17 00:00:00 2001 From: Petr Pomuran Date: Tue, 15 Oct 2024 10:52:06 +0300 Subject: [PATCH] update readme --- README.md | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/README.md b/README.md index 0f51245..02ae02d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,46 @@ ] } } +``` +## Пример использования Sing-Box +```json +{ + "route": { + "final": "direct", + "auto_detect_interface": true, + "rules": [ + { + "rule_set": [ + "refilter-domains", + "refilter-ips" + ], + "outbound": "proxy" + } + ], + "rule_set": [ + { + "tag": "refilter-domains", + "type": "remote", + "format": "binary", + "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs", + "download_detour": "direct" + }, + { + "tag": "refilter-ips", + "type": "remote", + "format": "binary", + "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs", + "download_detour": "direct" + } + ] + }, + "experimental": { + "cache_file": { + "enabled": true + } + } +} ``` Пример RoutingA для V2RayA: `default: direct` @@ -117,6 +156,47 @@ protocol bgp refilter { } } ``` +## Sing-box config example + +```json +{ + "route": { + "final": "direct", + "auto_detect_interface": true, + "rules": [ + { + "rule_set": [ + "refilter-domains", + "refilter-ips" + ], + "outbound": "proxy" + } + ], + "rule_set": [ + { + "tag": "refilter-domains", + "type": "remote", + "format": "binary", + "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs", + "download_detour": "direct" + }, + { + "tag": "refilter-ips", + "type": "remote", + "format": "binary", + "url": "https://github.com/1andrevich/Re-filter-lists/releases/latest/download/ruleset-domain-refilter_domains.srs", + "download_detour": "direct" + } + ] + }, + "experimental": { + "cache_file": { + "enabled": true + } + } +} +``` + RoutingA of V2RayA Example: `default: direct` `ip(geoip:refilter)->proxy`