I have tried to install vsftpd and I added this line to my iptables:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
However, when I start iptables. I get the following error:
Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: mangle filter nat [ OK ] Unloading iptables modules: [ OK ] Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]
And there is only the above line in the
/etc/sysconfig/iptables file - what have I done wrong?