Linux Netfilter discussions
 help / color / mirror / Atom feed
From: George Alexandru Dragoi <waruiinu@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: ftp connection tracking on multiple ports
Date: Thu, 28 Oct 2004 13:21:45 +0300	[thread overview]
Message-ID: <3063e5041028032133151758@mail.gmail.com> (raw)
In-Reply-To: <1403218a0410280318a6ed55b@mail.gmail.com>

Make sure you accept the packets in the RELATED and ESTABLISHED state.


On Thu, 28 Oct 2004 12:18:24 +0200, Mohamed Eldesoky
<eldesoky.lists@gmail.com> wrote:
> Dear all,
> 
> I have a server that runs FTP on two ports, port 21 and port 45 (for
> strange reasons)
> Now, i want conntrack to track the connections of both ports and their
> data ports !!
> 
> I did that in my firewall script
> /sbin/modprobe ip_conntrack_ftp ports=21,45
> $IPTABLES -A linweb_chain -p tcp -m multiport --destination-port
> 80,21,45 -j ACCEPT
> 
> Is that all I need ??
> 
> --
> Mohamed Eldesoky
> www.eldesoky.net
> RHCE
> 
> 


-- 
Bla bla


  reply	other threads:[~2004-10-28 10:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 10:18 ftp connection tracking on multiple ports Mohamed Eldesoky
2004-10-28 10:21 ` George Alexandru Dragoi [this message]
2004-10-28 10:40   ` Mohamed Eldesoky
2004-10-28 12:41 ` Jason Opperisano
2004-10-31  7:34   ` Mohamed Eldesoky
  -- strict thread matches above, loose matches on Subject: below --
2004-10-28 10:40 Sneppe Filip
2004-10-28 11:10 ` Mohamed Eldesoky
2004-10-30 21:00   ` Jose Maria Lopez

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=3063e5041028032133151758@mail.gmail.com \
    --to=waruiinu@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox