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