Skip to content

Instantly share code, notes, and snippets.

@mastier
Created January 4, 2021 01:09
Show Gist options
  • Save mastier/5eec06ceebdf478a813a413586cc8b2f to your computer and use it in GitHub Desktop.
Save mastier/5eec06ceebdf478a813a413586cc8b2f to your computer and use it in GitHub Desktop.
# create damn simple TFTP dasemon
IFACE='ens0p25'
sudo dnsmasq -i $IFACE --dhcp-range=192.168.69.100,192.168.69.150 --enable-tftp --tftp-root=/home/$USER/tftdir -d -u $USER -p0 -K --log-dhcp --bootp-dynamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment