From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ming-Ching Tiew" Subject: Re: FTP connection without NAT Date: Thu, 10 Apr 2008 18:15:43 +0800 Message-ID: <017001c89af3$d5e934e0$8119fea9@MingChing> References: <008801c89aa8$8e306a60$8119fea9@MingChing> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: netfilter@vger.kernel.org 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 ? Regards.