All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Nichols <rnicholsNOSPAM@comcast.net>
To: netfilter@lists.netfilter.org
Subject: Re: Can I use ip_conntrack_ftp on a server firewall ?
Date: Sun, 18 Dec 2005 01:59:26 -0600	[thread overview]
Message-ID: <do34su$1mj$1@sea.gmane.org> (raw)
In-Reply-To: <005901c6037d$c3709b10$0400a8c0@AMDADVENT>

Aaron Gray wrote:
>>> How do I create rules to allow FTP passive and active connections to 
>>> the server ?
>>>
>>> Do I use ip_conntrack_ftp or can I just create some rules that will 
>>> do the job ?
>>
>>
>> You need ip_conntrack_ftp.  To get that modules loaded automatically,
>> Just edit /etc/sysconfig/iptables and add "ip_conntrack_ftp" to the
>> "IPTABLES_MODULES=" line.
> 
> 
> Okay I have ip_conntrack_ftp loaded in /etc/sysconfig/iptables-config.
> 
> Still it must require some rules to use it.

Well, you obviously need to allow the initial incoming connection to
port 21.  Beyond that, all you should need are the usual rules to
allow all ESTABLISHED and RELATED traffic.  With the conntrack
module working, the ftp-data connection will be recognized as
RELATED.  Unless there NAT involved (requiring use of the ip_nat_ftp
module), it should "just work".

-- 
Bob Nichols         Yes, "NOSPAM" is really part of my email address.



  reply	other threads:[~2005-12-18  7:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 23:44 Can I use ip_conntrack_ftp on a server firewall ? Aaron Gray
2005-12-17  4:15 ` Robert Nichols
2005-12-18  2:50   ` Aaron Gray
2005-12-18  7:59     ` Robert Nichols [this message]
2005-12-18 17:43       ` Aaron Gray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='do34su$1mj$1@sea.gmane.org' \
    --to=rnicholsnospam@comcast.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.