Skip to main content

tftp-server

(2018-01-12)

Problem

I need a tftp server on CentOS 7.

Solution

# yum -y install tftp-server xinetd
# systemctl start tftp-server
# vi /etc/xinetd.d/tftp

(edit disabled = no)

# systemctl start xinetd
# firewall-cmd --add-service=tftp

If you need this config to survive reboots:

# systemctl enable xinetd
# systemctl enable tftp
# firewall-cmd --add-service=tftp --permanent

If you need clients to upload via tftp:

# setsebool -P tftp_anon_write 1