Date: Mon, 14 Aug 2006 22:18:49 +0100 From: "Joao Barros" <joao.barros@gmail.com> To: "Ivan Levchenko" <levchenko.i@gmail.com> Cc: Gilberto Villani Brito <linux@giboia.org>, freebsd-questions@freebsd.org Subject: Re: ftp-proxy with pf Message-ID: <70e8236f0608141418u13a0c736l2de85012613dd115@mail.gmail.com> In-Reply-To: <e39dd5bb0608141227i61a53232gf4bbc1022f6565dd@mail.gmail.com> References: <e39dd5bb0608131235j774f24adnb96d7d8dd1414eca@mail.gmail.com> <6e6841490608141219u5ef60960n8731717da00b5785@mail.gmail.com> <e39dd5bb0608141227i61a53232gf4bbc1022f6565dd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/14/06, Ivan Levchenko <levchenko.i@gmail.com> wrote: > Hello Gilberto, > > No, that wouldn't work, there is no sense in adding a nat rule to the > internal interface. > > I just found out why it didn't work. All this time, I was using active > ftp on my ubuntu box. when i switched to passive, it all worked like a > charm. found it on some forum archive .. forgot the link. on linux the > env setting for passive ftp doesn't work.. .i never knew that.. you > have you add -p to the ftp command or start it using pftp.. > > On 8/14/06, Gilberto Villani Brito <linux@giboia.org> wrote: > > Try using this rule: > > nat on $int_if from any to any port 21 -> 127.0.0.1 port 8021 > > > > > > Gilberto > > > > > > 2006/8/13, Ivan Levchenko < levchenko.i@gmail.com>: > > > > > Hi everybody, > > > > having some troubles with ftp-proxy on my gateway at home: the darn > > thing gets me connected to an outside ftp server, but won't let me do > > anything else with it. > > > > the gateway computer is freebsd (it is running pf with nat to share > > and secure a pppoe connection); the client computer is running kubuntu > > 6.06. > > > > any help (the right keyword to google with will be nice too!!!) will be > > great! I'm happilly using pftpx with no problems :-) http://www.freshports.org/ftp/pftpx/ -- Joao Barros
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70e8236f0608141418u13a0c736l2de85012613dd115>