diff --git a/docs/config/ntp/index.en.md b/docs/config/ntp/index.en.md new file mode 100644 index 000000000..df4e23862 --- /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. +