From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rob Sterenborg" Subject: RE: How make iptables script with NAT handle "active FTP"? Date: Wed, 1 Feb 2006 07:50:56 +0100 Message-ID: <002301c626fb$da310410$0101000a@sterenborg.info> References: <1138390474.4844.79.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1138390474.4844.79.camel@localhost.localdomain> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Netfilter > 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