This seems like a very simple question. But I don't see anything much about it on the web. The command comes from the RHEL documentation itself, so I would expect that it works... and yet it fails. Any insight?
Command:
/sbin/iptables -A INPUT -m state --state NEW -m tcp -p udp --dport 25150 -j ACCEPT
Output:
iptables: Invalid argument. Run `dmesg' for more information.
dmesg log:
[ 1719.334534] x_tables: ip_tables: tcp match: only valid for protocol 6