All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Ming-Ching Tiew <mingching.tiew@redtone.com>
Cc: netfilter@vger.kernel.org
Subject: Re: FTP connection without NAT
Date: Thu, 10 Apr 2008 23:39:42 +0200	[thread overview]
Message-ID: <47FE891E.3030400@rtij.nl> (raw)
In-Reply-To: <017001c89af3$d5e934e0$8119fea9@MingChing>

Ming-Ching Tiew wrote:
> Jan Engelhardt wrote:
>   
>> On Thursday 2008-04-10 03:16, Ming-Ching Tiew wrote:
>>     
>>> 1. FORWARD rule policy is DROP.
>>> 2. Inside can ACCEPT NEW connection to go to outside.
>>> 3. ACCEPT established or related connections.
>>> 4. FORWARD tcp port 21 from outside to the
>>>    inside FTP server is ACCEPT.
>>>
>>> Will the connection tracking modules help in allowing
>>> passive FTP session to get through to the FTP server ?
>>>       
>> Make sure nf_conntrack_ftp is loaded so that RELATED can do its job.
>>     
>
> Is it necessary to specify the ftp port if it is not port 21 ?
>   

Sadly, yes.

M4


      reply	other threads:[~2008-04-10 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10  1:16 FTP connection without NAT Ming-Ching Tiew
2008-04-10  5:45 ` Jan Engelhardt
2008-04-10 10:15   ` Ming-Ching Tiew
2008-04-10 21:39     ` Martijn Lievaart [this message]

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=47FE891E.3030400@rtij.nl \
    --to=m@rtij.nl \
    --cc=mingching.tiew@redtone.com \
    --cc=netfilter@vger.kernel.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.