Linux Netfilter discussions
 help / color / mirror / Atom feed
* Ip_conntrack_ftp with PASSIVE FTP does not work
@ 2005-07-13  9:05 Chandra.Vempali
  2005-07-13  9:38 ` Jörg Harmuth
  0 siblings, 1 reply; 6+ messages in thread
From: Chandra.Vempali @ 2005-07-13  9:05 UTC (permalink / raw)
  To: netfilter

Hi all,

For me, ip_conntrack_ftp does not work for PASSIVE ftp.

In the firewall rules, I blocked everything and put the following rules,
iptables -A INPUT -p tcp --sport 21 -m state --state ESTABLISHED,NEW -j
ACCEPT 
iptables -A OUTPUT -p tcp --dport 21 -m state --state
NEW,ESTABLISHED,RELATED -j ACCEPT 
And when I try to ftp, the control channel goes through firwall, but
data channel fails to pass through.
Is there any thing else I should add to the firewall rules to allow ftp
data through firwall.
Any help will be highly appreciated.
Regards,
Chandra

*Disclaimer*
"This e-mail and any attachments are confidential and may contain trade
secrets or privileged or undisclosed information. They may also be
subject to copyright protection. Please do not copy, distribute or
forward this email to anyone unless authorised. If you are not a named
addressee, you must not use, disclose, retain or reproduce all or any
part of the information contained in this e-mail or any attachments. If
you have received this email by mistake please notify the sender
immediately by return email and destroy/delete all copies of the email."



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-14 15:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13  9:05 Ip_conntrack_ftp with PASSIVE FTP does not work Chandra.Vempali
2005-07-13  9:38 ` Jörg Harmuth
2005-07-13 10:14   ` Jan Engelhardt
2005-07-13 14:45     ` OUTPUT filtering (was: Re: Ip_conntrack_ftp ...) /dev/rob0
2005-07-14 12:20       ` OUTPUT filtering Amin Azez
2005-07-14 15:56         ` Jörg Harmuth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox