From: "Indunil Jayasooriya" Date: Fri, 05 Oct 2007 07:28:56 +0000 Subject: Re: [LARTC] DNAT rule for vsftp (PASSIVE FTP) Message-Id: <7ed6b0aa0710050016i736b0a7cx5d49847096eb00fb@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============2047918699==" List-Id: References: <7ed6b0aa0710042251u6442fb85ma74e46aa9d3f81f9@mail.gmail.com> In-Reply-To: <7ed6b0aa0710042251u6442fb85ma74e46aa9d3f81f9@mail.gmail.com> To: lartc@vger.kernel.org --===============2047918699== Content-Type: multipart/alternative; boundary="----=_Part_37068_26451011.1191568616577" ------=_Part_37068_26451011.1191568616577 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/5/07, Grant Taylor wrote: > > On 10/5/2007 12:51 AM, Indunil Jayasooriya wrote: > > I want to run vsftp behind a firewall.(i.e DMZ zone) . It is runnig as > > passive ftp. > > Ok... > > > Then, How can I write DNAT rules. > > You don't want to write rules for each possible combination. > > > YOUR comments. > > Use the FTP helper module as it is meant to take care of this for you. > > What is FTP helper module? is it ip_nat_ftp ? ANYWAY, I have loaded below 2 modules. /sbin/modprobe -a ip_conntrack_ftp ip_nat_ftp YOUR COMMENTS. Grant. . . . > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > -- Thank you Indunil Jayasooriya ------=_Part_37068_26451011.1191568616577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 10/5/07, Grant Taylor <gtaylor@riverviewtech.net> wrote:
On 10/5/2007 12:51 AM, Indunil Jayasooriya wrote:
> I want to run vsftp behind a firewall.(i.e DMZ zone) . It is runnig as
> passive ftp.

Ok...

> Then, How can I write DNAT rules.

You don't want to write rules for each possible combination.

> YOUR comments.

Use the FTP helper module as it is meant to take care of this for you.

What is FTP helper module?
 
is it ip_nat_ftp ?

ANYWAY,  I have  loaded below  2 modules.

/sbin/modprobe -a ip_conntrack_ftp ip_nat_ftp  

YOUR COMMENTS.


Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc



--
Thank you
Indunil Jayasooriya
------=_Part_37068_26451011.1191568616577-- --===============2047918699== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============2047918699==--