IGOS Nusantara dan Server TFTP

Dari IGNwiki
Langsung ke: navigasi, cari

Guide on TFTP Server Setup in Fedora 2010 February 15 tags: fedora, guide, how to, Linux, setup, TFTP, tutorial, wilt

This guide will help you understand the very basics of setting up a TFTP server. This was written using Fedora 12 and tested with SELinux disabled. I have not yet confirmed if SELinux needs to be disabled, but I have confirmed that the firewall needs to be configured to allow port 69 (TFTP port). Let’s get to it…

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

3.) Turn everything on and start the xinetd service chkconfig tftp on /sbin/chkconfig xinetd on /sbin/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