# apt install tftpd-hpa cifs-utils <- Server
# mkdir /mnt/tftp
# chown tftp:tftp /mnt/tftp
# mount.cifs //Path/to/file /mnt/tftp/ -o rw,dir_mode=0777,file_mode=0777,uid=<108>,gid=<114>,username=<USER>,password=<PASS>,domain=domain.com
Nota: Utilizando o dir_mode e file_mode = 0777 não ha necessidade de usar oo uid e gid. Os valores uid=<108>,gid=<114> são os códigos criados para o usuário e grupo tftp após a instalação
# mount.cifs //Path/to/file /mnt/tftp/ -o rw,guest <- ver se funciona
# vi /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/mnt/tftp" <- Caminho do armazenamento
TFTP_ADDRESS="<IP_Server>:69" <- :69
TFTP_OPTIONS="-4 --secure --create -vvv"
# systemctl restart tftpd-hpa.service
Em outro computador instale o client
# apt install tftp <- Client
# tftp <IP_Server>
tftp> get/put file/diretorio
Definir a porta do serviço liberada
# ufw allow tftp <- Utiliza porta 69 udp