Nerdy Drunk

Drunk on technology

User Tools

Site Tools


linux:tftp-server

TFTP Server

This is a quick, dirty, and highly insecure way of getting a writable TFTP server up and running.

# sudo yum -y install tftp tftp-server

# sudo cat /etc/xinetd.conf

enabled = tftp

# sudo cat /etc/xinetd.d/tftp

service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -c -s /var/lib/tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

# sudo chmod 777 /var/lib/tftpboot

# sudo service xinetd start

linux/tftp-server.txt · Last modified: 2022/07/21 10:41 by 127.0.0.1