From 4822bda6d8c6888adf0e7528ad3b57b944bda085 Mon Sep 17 00:00:00 2001 From: Nite07 Date: Tue, 1 Oct 2024 12:50:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Modify=20README=20and=20template?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- templates/example.json | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b53d7eb..e013eee 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ ## 控制台命令 -- convert: 转换 -- server: 启动 Web UI -- version: 版本信息 - `sub2sing-box -h` 查看帮助 ## Api @@ -63,3 +59,7 @@ data 为 base64 URL 编码(将编码字符串中`/`替换为`_`,`+`替换为`- ## Docker `docker run -p 8080:8080 nite07/sub2sing-box` + +## 模板 + +默认模板(`./templates/example.json`) 是 `tun+fakeip` 配置,大家可以根据需求自行修改 diff --git a/templates/example.json b/templates/example.json index 258680d..14b0866 100644 --- a/templates/example.json +++ b/templates/example.json @@ -71,6 +71,7 @@ "inet6_address": "fdfe:dcba:9876::1/126", "auto_route": true, "strict_route": true, + "sniff": true, "inet4_route_exclude_address": ["100.64.0.0/10"], "inet6_route_exclude_address": ["fd7a:115c:a1e0::/48"] } @@ -145,6 +146,7 @@ }, { "rule_set": [ + "geoip-cn", "geosite-geolocation-cn", "geosite-cn", "geosite-category-games@cn", @@ -218,7 +220,7 @@ }, "experimental": { "cache_file": { - "enabled": false + "enabled": true }, "clash_api": { "default_mode": "Enhanced",