I an getting the error "iptables: No chain/target/match by that name" while executing the following command.
iptables -A INPUT -i eth0 -p tcp --dport 23 -j ACCEPT
I can see than INPUT chain is already added by dumping "iptables -L". If I execute "iptables -A INPUT -i eth0 -p tcp" it works but if I use --dport option its complaining. Can anyone please help me.