> dnsmasq -d --enable-tftp --tftp-port-range=1069,1069 No way, because in this case it should also listen on 1069 port.
- kvaps On Mon, Dec 30, 2019 at 9:11 PM Geert Stappers <stapp...@stappers.nl> wrote: > On Mon, Dec 30, 2019 at 06:36:49PM +0100, kvaps wrote: > > On Mon, Dec 30, 2019 at 2:42 PM john doe <johndoe65...@mail.com> wrote: > > > Dec 30 2019, kvaps wrote: > > > > ... > > > Isn't the below flag what you want from (1): > > > > > > "--tftp-port-range=<start>,<end> > > > A TFTP server listens on a well-known port (69) for connection > > > initiation, but it also uses a dynamically-allocated port for each > > > connection. Normally these are allocated by the OS, but this option > > > specifies a range of ports for use by TFTP transfers. This can be > useful > > > when TFTP has to traverse a firewall. The start of the range cannot be > > > lower than 1025 unless dnsmasq is running as root. The number of > > > concurrent TFTP connections is limited by the size of the port range." > > > > > > > > > 1) http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html > > > > > > > Unfortunately it isn't working correctly, if I run dnsmasq with static > port > > range: > > > > dnsmasq -d --enable-tftp --tftp-port-range=69,69 > > > > It reports an error: > > > > dnsmasq-tftp: unable to get free port for TFTP > > > > when I try to download any file from it > > - kvaps > > > dnsmasq -d --enable-tftp --tftp-port-range=1069,1069 > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss