Skip to content

Instantly share code, notes, and snippets.

@kylemanna
Created March 15, 2017 02:35
Show Gist options
  • Save kylemanna/05fc2a2614039771be5c42a9051d78e4 to your computer and use it in GitHub Desktop.
Save kylemanna/05fc2a2614039771be5c42a9051d78e4 to your computer and use it in GitHub Desktop.
Simple tftp server using dnsmasq
$ sudo dnsmasq -kd -p 0 -C /dev/null -u nobody --enable-tftp --tftp-root=/srv/ftp
@agentgoblin
Copy link

But when running it, I cannot upload nothing to tftp server, having dnsmasq-tftp: unsupported request from error

It's OK because dnsmasq not supported write request (WRQ). TFTP server in dnsmasq designed only for provide files (bootloaders, configurations, etc).

http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003558.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment