Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2004 07:34:12 -0500
From:      Dan Pelleg <daniel+bsd@pelleg.org>
To:        Hiren <hnpatel@autostyle.co.za>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: running ftpd in a jail
Message-ID:  <u2su12xwfuj.fsf@pelleg.org>
In-Reply-To: <1074159047.2398.3.camel@fbtab.h3p.co.za> (Hiren's message of "Thu, 15 Jan 2004 11:30:47 %2B0200")
References:  <1074159047.2398.3.camel@fbtab.h3p.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiren <hnpatel@autostyle.co.za> writes:

> greetings 
>
> i am setting up a ftp server.
> since i prefer setting all services within jails, i thought i would
> setup ftpd within a jail.
> i was basically NATing the required ports to the jails.
> i realized that ftpd in passive mode was almost impossible to NAT since
> it uses a wide range of ports.
> i then resorted to NATing ports 20 and 21 and using active mode for my
> server.
> i wanted to know which mode is more secure and how would i go about
> setting up ftpd within a jail in passive mode.
>
> i would appreciate advice and comments
>

You can use the punch_fw keyword to natd(8) for that.

-- 

  Dan Pelleg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2su12xwfuj.fsf>