summaryrefslogtreecommitdiff
path: root/docs/system/ntp.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-09-23 22:14:37 +0200
committerRobert Göhler <github@ghlr.de>2019-09-23 22:14:37 +0200
commita96acf62c2977bbf7234363cbdf4f6b1d4b9362a (patch)
tree15d0cfe69f7acee4e3a92707bf8eedd88caa6f52 /docs/system/ntp.rst
parentd66729b987219e46e2f5d7617e7573e5b9f23f54 (diff)
downloadvyos-documentation-a96acf62c2977bbf7234363cbdf4f6b1d4b9362a.tar.gz
vyos-documentation-a96acf62c2977bbf7234363cbdf4f6b1d4b9362a.zip
add system NTP section
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