Setting TFTP Server

For Ubuntu

  1. Install the TFTP Server

sudo apt update sudo apt install tftpd-hpa
  1. Configure the TFTP Server

sudo nano /etc/default/tftpd-hpa

TFTP_USERNAME="tftp" TFTP_DIRECTORY="/var/tftpboot" TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure"

Save and close the file.

  1. Create and Set Permissions for the TFTP Root Directory

sudo mkdir /var/tftpboot sudo chown tftp:tftp /var/tftpboot sudo chmod -R 775 /var/tftpboot
  1. Restart the TFTP Service

  1. Check the Status of the TFTP Service

For any distro using the docker

  1. Create and Set Permissions for the TFTP Root Directory if needed

  1. Run the tftp docker container:

For Windows

  1. Download and install tftpd64

  2. Select the network and directory with the files you need to transfer

image-20240513-101152.png

 

SolidRun Ltd.