aTFTP server and client installation and Configuration

atftp is Multi-threaded TFTP server implementing all options (option extension and multicast) as specified in RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349. Atftpd also supports multicast protocol known as mtftp, defined in the PXE specification. The server supports being started from inetd as well as in daemon mode using init scripts.

Installing atftpd Server in Debian

#apt-get install atftpd

This will starts installation and configuration of atftpd

First question is should the server be stared by inetd with the following screen. You need to select no and press enter


Next one is address range for multicast transfer leave the default value and select ok


now you can see the screen for ttl for multicast address leave the default value and press enter


Now it will ask for base directory by default it will be /tftpboot directory you need to create with 777 permissions


#mkdir /tftpboot

Change mode of the directory

#chmod 777 tftpboot

Security configuration for atftp

Some level of security can be gained using atftp libwrap support. Adding proper entry to /etc/hosts.allow and /etc/hosts.deny will restrict access to trusted hosts. Daemon name to use in these files is in.tftpd.

/etc/hosts.allow /etc/hosts.deny

in.tftpd : FQD or IP

atftp client installation

Advance Trivial file transfer protocol client,atftp is the user interface to the Internet ATFTP (Advanced Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified on the command line, in which case atftp uses host as the default host for future transfers.

# apt-get install atftp

That's it you are ready to transfer your files using tftp clients

Sponsored Link

Leave a comment

Your email address will not be published. Required fields are marked *