Install the tftpd-hpa server
sudo apt install -y tftpd-hpa
(Optional) Install the tftp client
sudo apt install -y tftp
Edit the config file
sudo nano /etc/default/tftpd-hpa # /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_DIRECTORY="/home/tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="--secure -4 --create"
Create the tftp folder
sudo mkdir /home/tftp sudo chmod 777 /home/tftp sudo chown tftp /home/tftp
To Start / Restart the TFTP service
sudo systemctl start tftpd-hpa
Using the TFTP Client
tftp IP.ADD.RE.SS <verbose> put source-file <dest-file> get dest-file <source-file> quit