Writable tftp server

aptitude install tftpd-hpa
nano /etc/default/tftpd-hpa

# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
#TFTP_OPTIONS="--secure"
TFTP_OPTIONS="--secure --create"

chmod 777 /srv/tftp
service tftpd-hpa restart

test:

aptitude install tftp
touch file.ext
tftp 192.168.1.2
tftp> put file.ext

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.