Skip to content

NTP

1
2
3
4
5
6
7
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.