This is an old revision of the document!
TFTP Server
Used version
- Ubuntu 10.04 x86 in vmware player
Installation
user@ubuntu:~$ sudo apt-get install xinetd tftpd tftp
Configuration
To cofigure TFTP the file /etc/xinetd.d/tftp must be created and filled with the following content. This configuration uses the directory /tftpboot.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
}
<note>
The directory requires at least the access authorisation “dr-xr-xr-x”.
</note>
<note> After the configuration was changed the server should be restarted:
user@ubuntu:~$ sudo service xinetd restart
</note>
Firewall & port forwarding
TFTP uses port 69 UDP. This port must be opened. How to configure port forwarding on a Windows-XP host system is described here: Port Forwarding.