summaryrefslogtreecommitdiff
path: root/docs/system/ntp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/system/ntp.rst')
-rw-r--r--docs/system/ntp.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/system/ntp.rst b/docs/system/ntp.rst
new file mode 100644
index 00000000..ed2a0ecb
--- /dev/null
+++ b/docs/system/ntp.rst
@@ -0,0 +1,19 @@
+.. _ntp:
+
+NTP
+===
+
+there are 3 default NTP server set. You are able to change them.
+
+.. code-block:: sh
+
+ set system ntp server 0.pool.ntp.org
+ set system ntp server 1.pool.ntp.org
+ set system ntp server 2.pool.ntp.org
+
+To set up VyOS as an NTP responder, you must specify the listen address and optionally the permitted clients.
+
+.. code-block:: sh
+
+ set system ntp listen-address 192.168.199.1
+ set system ntp allow-clients address 192.168.199.0/24