Guest User

Untitled

a guest
Jan 19th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # TFTP server on Fedora 29
  2.  
  3. First, install the packages:
  4.  
  5. sudo dnf install -y tftp tftp-server
  6.  
  7. The `tftp` itself will allow you to test your configuration by attempting a file transfer. The default directory for TFTP transfers is `/var/lib/tftpboot`.
  8.  
  9. e.g.
  10.  
  11. tftp 127.0.0.1
  12. get filenamne
  13.  
  14. Enable and start the TFTP server:
  15.  
  16. sudo systemctl enable tftp
  17. sudo systemctl start tftp
  18. sudo systemctl daemon-reload
  19.  
  20. Tell the firewall to allow TFTP traffic:
  21.  
  22. sudo firewall-cmd --permanent --add-service=tftp
  23. sudo firewall-cmd --reload
  24.  
  25. You should now be able to transfer files via TFTP.
Add Comment
Please, Sign In to add comment