On Wed, Jul 18, 2001 at 12:45:38PM +0300, Michael Ben-Gershon wrote: > I cannot get the --dport option to work with iptables > under RedHat 7.1. What should I be doing to get > it to work? I get an 'unrecognised option' error. You must specify a protocol that uses port (tcp/udp) by using the -p option: iptables -A FORWARD -p tcp --dport 22 -j ACCEPT regards, -- Sylvain.