[CentOS] iptables question

Fri Sep 21 04:48:33 UTC 2007
umair shakil <umairshakeel at gmail.com>

Dear Salam,

Try to add following enteries in table.

/sbin/iptables -A INPUT -p tcp --dport 20 -j ACCEPT
/sbin/iptables -A INPUT -p udp --dport 20 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT

Then use iptables -L command to show the enteries.


Umair Shakil

On 9/20/07, Ray Leventhal <centos at swhi.net> wrote:
> Hi all,
> With SELinux in permissive mode and iptables running, I'm unable to
> retrieve directory listings with ftp.
> stop iptables, and all appears again.  This seems to be unrelated to
> passive/port modes for ftp client.
> If this is off topic, please let me know offlist and I'll take my
> question elsewhere.  Otherwise I'll repost with output of
> # iptables status
> TIA,
> ~Ray
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070921/24be056c/attachment-0004.html>