Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Rob Sterenborg" <rob@sterenborg.info>
To: Netfilter <netfilter@lists.netfilter.org>
Subject: RE: How make iptables script with NAT handle "active FTP"?
Date: Wed, 1 Feb 2006 07:50:56 +0100	[thread overview]
Message-ID: <002301c626fb$da310410$0101000a@sterenborg.info> (raw)
In-Reply-To: <1138390474.4844.79.camel@localhost.localdomain>

> Active FTP seems to need to open new sockets.
> 
> This creates problems for NAT'ing firewalls.
> 
> What is easiest way to open the right ports
> 
> and do NAT'ing back to clients on 192.168.x.y IP addresses?

modprobe ip_conntrack_ftp
modprobe ip_nat_ftp

Use stateful forwarding.
http://iptables-tutorial.frozentux.net/iptables-tutorial.html


Gr,
Rob



  reply	other threads:[~2006-02-01  6:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 19:34 How make iptables script with NAT handle "active FTP"? Christian Seberino
2006-02-01  6:50 ` Rob Sterenborg [this message]
2006-02-01  9:43 ` Eric Leblond
2006-02-02 11:01   ` Fwd: " Carlos Pastorino

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='002301c626fb$da310410$0101000a@sterenborg.info' \
    --to=rob@sterenborg.info \
    --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