Setting up a TFTP Server on Fedora

This guide will help you understand the very basics of setting up a TFTP server. 
It assumes that SELinux is DISABLED.

1.) Install the tftp-server package

yum install -y tftp-server

2.) Enable TFTP by making the following change to the /etc/xinetd.d/tftp file

Find disable = yes, make it no

If you want to be able to add new files to your TFTP Server remotely, add –c to the end of the server_args parameter.

3.) Turn everything on and start the xinetd service

chkconfig tftp on
chkconfig xinetd on
service xinetd start

4.) Poke a hole in the firewall to allow TFTP access
CLI: Insert the following line before the “COMMIT” line of /etc/sysconfig/iptables and then restart the service with

service iptables restart


-A INPUT -m state --state NEW -m udp -p udp --dport 69 -j ACCEPT

GUI: System -> Administration -> Firewall, put a checkmark on TFTP, and finally click apply.

Additional Information:
The TFTP server root directory is set to /var/lib/tftpboot/ by default but can be changed in the /etc/xinetd.d/tftp file.

Proper permissions to allow the TFTP daemon to update the files located in the TFTP server root directory are 666:

chmod 666 /var/lib/tftpboot/bootpImage

Leave a Reply