Installation configuration for the Linux TFTP server

Source: Internet
Author: User

{Related Information}
Os:kali


Here is still relatively old TFTP and TFTPD, recommended that we use TFTP-HPA and TFTPD-HPA, increase the version of the words in the security or to do a promotion.
For example, the TFTPD I use now cannot support other machines uploading to the server.

{Related Steps}
1. Install the Package
sudo install tftpd tftp xinetd
2. Setting up the configuration file
Set up a configuration file tftp under/etc/xinetd.d/
sudo nano/etc/xinetd.d/tftp
Add the following content
service tftp{    = dgram    = udp    wait = Yes    = root    =/usr/sbin/in. tftpd    =-s/var/tftpboot    = no        2= IPv4    }    

3. Set up TFTP service file directory
In the above configuration there is Server_args =-s/var/tftpboot, where/var/tftpboot this directory is the location of the download file
sudo mkdir -p/var/sudochmod777 /var/tftpboot-r

4. Restart the TFTP service
sudo /etc/init.d/xinetd Restart
5. Verify that the restart is successful
Grep
See the following information to indicate a successful restart of UDP 0 0 *:tftp *:* 6, test
$ touch/var/tftpboot/ctest
$ cd ~
127.0. 0.1
Tftp> Get CTest
Tftp> Q
$ ls
See if the current directory has ctest if there is a representation, everything is successful.

Installation configuration for the Linux TFTP server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.