From ce5668a4c69c0bea667aa0a9bf54de9cf8ddeb43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E6=8B=BE=E5=BF=86?= Date: Thu, 11 Jun 2026 22:29:22 +0800 Subject: [PATCH 1/4] Create index.en.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加英文版ntp说明 --- docs/config/ntp/index.en.md | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/config/ntp/index.en.md diff --git a/docs/config/ntp/index.en.md b/docs/config/ntp/index.en.md new file mode 100644 index 000000000..2f3414246 --- /dev/null +++ b/docs/config/ntp/index.en.md @@ -0,0 +1,39 @@ +# NTP + +```{.yaml linenums="1"} +ntp: + enable: true + write-to-system: true + server: time.apple.com + port: 123 + interval: 30 + # dialer-proxy: DIRECT + +``` +## enable + +Whether to enable the NTP service. + +## write-to-system + +Whether to sync to the system time. Requires root or administrator privileges to run. + +## server + +NTP server address. Defaults to `time.apple.com`. + +## port + +NTP server port. Defaults to `123`. + +## interval + +Time synchronization interval, in minutes. Defaults to `30`. + +## dialer-proxy + +Optional, defaults to `DIRECT`. + +!!! note +By default, NTP initiates direct connections to the target without passing through outbound or routing rules. You can use `dialer-proxy` to force specify a proxy. + From 036f143bbf2862b8dad95086211c80640904481c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E6=8B=BE=E5=BF=86?= Date: Thu, 11 Jun 2026 22:46:56 +0800 Subject: [PATCH 2/4] Update mkdocs.yml --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index 91bc6903d..6e1713a65 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -151,6 +151,7 @@ plugins: 规则集合内容: rule-providers configuration 子规则: sub-rule 流量隧道: tunnels + NTP:NTP 实验性配置: experimental - build: true default: false From 3afad0daf060a29324111b54d80bbcfec66d3522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E6=8B=BE=E5=BF=86?= Date: Thu, 11 Jun 2026 22:48:35 +0800 Subject: [PATCH 3/4] Update mkdocs.yml --- mkdocs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6e1713a65..91bc6903d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -151,7 +151,6 @@ plugins: 规则集合内容: rule-providers configuration 子规则: sub-rule 流量隧道: tunnels - NTP:NTP 实验性配置: experimental - build: true default: false From 77bee723662bf843513808f7ba9e38c008a2a077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E6=8B=BE=E5=BF=86?= Date: Thu, 11 Jun 2026 23:04:15 +0800 Subject: [PATCH 4/4] Update index.en.md --- docs/config/ntp/index.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/ntp/index.en.md b/docs/config/ntp/index.en.md index 2f3414246..df4e23862 100644 --- a/docs/config/ntp/index.en.md +++ b/docs/config/ntp/index.en.md @@ -35,5 +35,5 @@ Time synchronization interval, in minutes. Defaults to `30`. Optional, defaults to `DIRECT`. !!! note -By default, NTP initiates direct connections to the target without passing through outbound or routing rules. You can use `dialer-proxy` to force specify a proxy. + By default, NTP initiates direct connections to the target without passing through outbound or routing rules. You can use `dialer-proxy` to force specify a proxy.