[luau] tftpd question

MonMotha monmotha at indy.rr.com
Thu Aug 29 12:50:01 PDT 2002


Warren Togami wrote:
...
> 
> However, why don't you use TCP wrappers and only allow access to the
> tftpd port from your local subnet?  I think iptables can do this too.
> 

TCP wrappers probably won't work (unless they can do UDP also).  TFTP is 
run on UDP/69.  IPtables, being a packet filter, can of course filter 
this.  Example:

iptables -A INPUT -p udp --dport 69 -s localnetwork -j ACCEPT
iptables -A INPUT -p udp --dport 69 -j REJECT

will allow TFTP from your local network, but then reject it from 
anywhere else.

--MonMotha




More information about the LUAU mailing list