iptables firewall/ftp problem

Steve Buehler steve at ibapp.com
Fri Jun 4 16:33:27 UTC 2004


JR.  Thanks.  Actually all I added was the:
-A INPUT -p tcp -j ACCEPT --dport 21 -m state --state NEW
and it worked fine after that.

Steve

At 10:32 AM 6/4/2004, you wrote:

>Steve do something like this:
>
>IPTABLES=/sbin/iptables
>MODPROBE=/sbin/modprobe
>
>$MODPROBE -v ip_conntrack_ftp
>
>$IPTABLES -A INPUT -p tcp -j ACCEPT --dport 21 -m state --state NEW
>
>$IPTABLES -A OUTPUT -p tcp -j ACCEPT --dport 21 -m state --state NEW
>$IPTABLES -A OUTPUT -p tcp -j ACCEPT --dport 20 -m state --state NEW





More information about the redhat-list mailing list