Iptables errors

I keep getting the error messages when trying to execute my iptables script. Here is where the error occurs...

/sbin/iptables -A OUTPUT -o eth0 -s $server_ips -p tcp -m state --state NEW --sport $UNPRIVPORTS --dport 22 -j ACCEPT

I get the following errors...

line 563: ACCEPT: command not found
Unknown arg `-j'

I am on RH 9, using the iptables version that came with it.

 

 

 

 

Top