summaryrefslogtreecommitdiff
path: root/docs/services/tftp.rst
diff options
context:
space:
mode:
authorYuriy Andamasov <andamasov@gmail.com>2019-01-20 16:17:30 +0100
committerGitHub <noreply@github.com>2019-01-20 16:17:30 +0100
commit612ab4def61755afc369c8e226588b15db0bc751 (patch)
tree8356346a5b7a4b51339a4975f10da3f4b9123ef9 /docs/services/tftp.rst
parentce02006259e45ea9b0ab5f30ac3f1639d2338505 (diff)
parent1ac4afa392eb4c077507cf3866ebc1b8b3cb1793 (diff)
downloadvyos-documentation-612ab4def61755afc369c8e226588b15db0bc751.tar.gz
vyos-documentation-612ab4def61755afc369c8e226588b15db0bc751.zip
Merge pull request #7 from kmpm/festures/split-services
services in own folder
Diffstat (limited to 'docs/services/tftp.rst')
-rw-r--r--docs/services/tftp.rst42
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/services/tftp.rst b/docs/services/tftp.rst
new file mode 100644
index 00000000..96b33a65
--- /dev/null
+++ b/docs/services/tftp.rst
@@ -0,0 +1,42 @@
+TFTP
+----
+
+Trivial File Transfer Protocol (TFTP_) is a simple lockstep File Transfer
+Protocol which allows a client to get a file from or put a file onto a remote
+host. One of its primary uses is in the early stages of nodes booting from a
+local area network. TFTP has been used for this application because it is very
+simple to implement.
+
+Example
+^^^^^^^
+
+.. code-block:: sh
+
+ # If you want to enable uploads, else TFTP server will act as read-only (optional)
+ set service tftp-server allow-upload
+
+ # Directory for TFTP server content
+ set service tftp-server directory '/config/tftpboot'
+
+ # On which addresses we want to listen for incoming TFTP connections? (mandatory)
+ set service tftp-server listen-address '2001:db8:ffee::1'
+ set service tftp-server listen-address '10.10.1.1'
+
+.. note:: Choose your ``directory`` location carefully or you will loose the
+ content on image upgrades. Any directory under ``/config`` is save at this
+ will be migrated.
+
+.. note:: Configuring a listen-address is essential for the service to work.
+
+The resulting configuration will look like:
+
+.. code-block:: sh
+
+ vyos@vyos# show service
+ tftp-server {
+ allow-upload
+ directory /config/tftpboot
+ listen-address 2001:db8:ffee::1
+ listen-address 10.10.1.1
+ }
+