The Blog

INSTALL AND CONFIGURE TFTP SERVER ON LINUX OS

- 0 Comment. in IT Security

1. Install the following package
root@kali:-$ sudo apt-get install xinetd
root@kali:-$ sudo apt-get install tftp tftpd

2. Create and Configure the xinetd file
root@kali:-$ sudo nano /etc/xinetd.d/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /var/lib/tftpboot -s
disable = no
}

3. Configure the folder where to store the down
root@kali:-$ mkdir /var/lib/tftpboot
root@kali:-$ sudo chown -R nobody:nogroup /var/lib/tftpboot
root@kali:-$ groupadd nogroup
root@kali:-$ chmod -R 777 /var/lib/tftpboot

4. restart the service
root@kali:-$ sudo service xinetd restart

5. save a file
root@kali:-$ touch /var/lib/tftpboot/IOS_boot
root@kali:-$ chmod 777 /var/lib/tftpboot/IOS_boot

By Don Krys
IT Security Consultant
@ Techno|BOSS Intl.

Leave a Comment

Your email address will not be published.