All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rob Sterenborg (lists)" <lists@sterenborg.info>
To: Anand Raj Manickam <anandrm@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nat ftp helper bypass
Date: Tue, 08 Oct 2013 09:36:04 +0200	[thread overview]
Message-ID: <5253B5E4.1050103@sterenborg.info> (raw)
In-Reply-To: <CAEyr1FSRd7d2_kcPEY7DP4JfAdDaYj5TogeVj+90LrVVxqP-6w@mail.gmail.com>

On 10/08/2013 07:46 AM, Anand Raj Manickam wrote:
> Is there a way to bypass nat ftp helper for a few connections and
> allow the rest of the FTP connections to NAT with the FTP helper
> module ?
> The need is to NAT the FTP control and data connections without
> conntrack-helpers .

See man iptables, specifically the raw table:

raw:
     This  table  is  used  mainly for configuring exemptions from 
connection tracking in combination with the NOTRACK target.  It 
registers at the netfilter hooks with higher priority and is thus called 
before ip_conntrack, or any other IP tables.  It provides the following 
built-in chains: PREROUTING (for packets arriving via any network 
interface) OUTPUT (for packets generated by local processes)


--
Rob


  reply	other threads:[~2013-10-08  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08  5:46 nat ftp helper bypass Anand Raj Manickam
2013-10-08  7:36 ` Rob Sterenborg (lists) [this message]
2013-10-08  7:42   ` Anand Raj Manickam
2013-10-08  8:17     ` Tom van Leeuwen
2013-10-08  8:34       ` Anand Raj Manickam
2013-10-08 13:43     ` Rob Sterenborg (lists)

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=5253B5E4.1050103@sterenborg.info \
    --to=lists@sterenborg.info \
    --cc=anandrm@gmail.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.