github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/configuration/ntp/index.md (about) 1 # NTP 2 3 Built-in NTP client service. 4 5 If enabled, it will provide time for protocols like TLS/Shadowsocks/VMess, which is useful for environments where time 6 synchronization is not possible. 7 8 ### Structure 9 10 ```json 11 { 12 "ntp": { 13 "enabled": false, 14 "server": "time.apple.com", 15 "server_port": 123, 16 "interval": "30m", 17 18 ... // Dial Fields 19 } 20 } 21 22 ``` 23 24 ### Fields 25 26 #### enabled 27 28 Enable NTP service. 29 30 #### server 31 32 ==Required== 33 34 NTP server address. 35 36 #### server_port 37 38 NTP server port. 39 40 123 is used by default. 41 42 #### interval 43 44 Time synchronization interval. 45 46 30 minutes is used by default. 47 48 ### Dial Fields 49 50 See [Dial Fields](/configuration/shared/dial) for details.