I have a tftp server which listens on standard UDP port 69. I have added following rule to my iptables to block everything except UDP 69.
-A INPUT -i eth0 -s 192.168.1.0/24 -p udp -m udp --dport 69 -j ACCEPT
-A INPUT -j DROP
But with this rule the clients cannot access the tftp server. I have read that tftp is using higher port for the actual transfer (similar to ftp) and that I should use the ip_conntrack_tftp module.
# zcat /proc/config.gz | grep -i tftp
CONFIG_NF_CONNTRACK_TFTP=m
I have the module in my kernel, but what else do I need to do?