Score:0

TFTP Ubuntu 18.04

cn flag

I have set up tftp server but having trouble testing / accessing from remote platforms

Setup:

sudo apt update;
sudo apt install -y tftpd-hpa;
sudo ufw allow tftp;
put files in
/var/lib/tftpboot

testing from the remote machine times out (firewall disabled)

tftp 109.228.38.69
tftp> get test.txt
Transfer timed out.
tftp>quit

While testing locally however on the actual server:

tftp 127.0.0.1
tftp> get test.txt
Received 11 bytes in 0.0 seconds
tftp>quit
           

The server is hosted on Virtual Private Server with https://www.fasthosts.co.uk/

UFW status

69/udp (v6) ALLOW Anywhere (v6)

EDIT:

 sudo lsof -i:69 

returns

COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
in.tftpd 6874 root    4u  IPv4  90405      0t0  UDP *:tftp   
in.tftpd 6874 root    5u  IPv6  90406      0t0  UDP *:tftp  

cannot find much about in.tftp - is this a built in service ? Which is better to use and where are its files stored.

donkihott avatar
ar flag
Take a look at that answer, looks similar https://serverfault.com/a/599112
Datadimension avatar
cn flag
sorry that is not the same issue
Illishar avatar
in flag
Did you find an answer?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.