Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/config/ntp/index.en.md
Original file line number Diff line number Diff line change
@@ -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.