<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Well..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>TFTP is not nat friendly... If the port 1024-1029 
are blocked by any ISP or port 69 is not open... then tftp will not 
work.</FONT></DIV>
<DIV><FONT face=Arial size=2>however, with the nature of the message John is 
getting, seems like xinetd is refusing the connection to tftp server on 
OpenWrt</FONT></DIV>
<DIV><FONT face=Arial size=2>Add to hosts.allow tftp: ALL..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It should work </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Hitesh</FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=sean@ertw.com href="mailto:sean@ertw.com">Sean Walberg</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=asterisk@muug.mb.ca 
  href="mailto:asterisk@muug.mb.ca">Asterisk Open Source PBX SIG</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, May 18, 2006 7:41 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [*] OpenWrt problem with 
  tftp</DIV>
  <DIV><BR></DIV>xinetd uses tcp wrappers (/etc/hosts.{allow,deny}), plus any 
  statements in /etc/xinetd.d/tftp even though it's a UDP service...&nbsp; Are 
  you denying it somehow through there?<BR><BR>I'm pretty sure tftp is NAT 
  friendly.&nbsp; Since it's hitting syslog, my guess is the wrappers config. 
  <BR><BR>Sean<BR><BR>
  <DIV><SPAN class=gmail_quote>On 5/18/06, <B class=gmail_sendername>John 
  Lange</B> &lt;<A 
  href="mailto:john.lange@open-it.ca">john.lange@open-it.ca</A>&gt; 
wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
    believe that I'm having a problem with the OpenWRT and tftp.<BR><BR>I'm 
    trying to fetch a file outside of the OpenWRT firewall using tftp<BR>but on 
    the server side I see these messages:<BR><BR>in.tftpd[26104]: tftpd: 
    read(ack): Connection refused <BR><BR>The client just times out.<BR><BR>I 
    suspect its a nat issue with the OpenWRT perhaps related to the fact<BR>the 
    OpenWRT listens on a tftp port for uploads of firmware?<BR><BR>Or is tftp 
    generally tricky through nat? I can't see why it would be. <BR><BR>Is there 
    some kind of iptables parameter that needs to be added? Scant<BR>little 
    comes up on google for iptables, nat and tftp.<BR><BR>--<BR>John 
    Lange<BR>OpenIT ltd. <A href="http://www.Open-IT.ca">www.Open-IT.ca 
    </A>(204) 885 0872<BR>VoIP, Web services, Linux Consulting, Server 
    Co-Location<BR><BR>_______________________________________________<BR>Asterisk 
    mailing list<BR><A href="mailto:Asterisk@muug.mb.ca">Asterisk@muug.mb.ca</A> 
    <BR><A 
    href="http://www.muug.mb.ca/mailman/listinfo/asterisk">http://www.muug.mb.ca/mailman/listinfo/asterisk</A><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>Sean Walberg &lt;<A 
  href="mailto:sean@ertw.com">sean@ertw.com </A>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<A 
  href="http://ertw.com/">http://ertw.com/</A> 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Asterisk mailing 
  list<BR>Asterisk@muug.mb.ca<BR>http://www.muug.mb.ca/mailman/listinfo/asterisk<BR></BLOCKQUOTE></BODY></HTML>