You are not logged in.
Pages: 1
Hi
I need to launch a tftp server in my box. Anyone can provide me an explanation on how to do this.
Did some research, installed the tftp-hpa, but can't connect to localhost. Any advice?
Offline
TFTP is not FTP. What client did you use to connect to your server?
Offline
There are somethings that you need to do to make your tftp server work.
1. To allow others to connect to tftp server, add this line to /etc/hosts.allow file:
in.tftpd:ALL
2. By default, tftp server does not allow your to upload file, so you need to modify the /etc/rc.d/tftpd script so that it will allow you to upload file. It will look like this:
start)
stat_busy "Starting TFTPD"
[ -z "$PID" ] && /usr/sbin/in.tftpd -l -s -c /var/tftpboot
3. Change the /var/tftpboot attribute so it allows other to upload file:
#chmod 777 /var/tftpboot
You need to manage your server because it will open a hole to others to upload files to your servers. You can control it by using /etc/hosts.allow file or using iptables.
Cheers.
Offline
Pages: 1