From owner-freebsd-questions@FreeBSD.ORG Tue Aug 15 14:48:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFCA616A4DD for ; Tue, 15 Aug 2006 14:48:10 +0000 (UTC) (envelope-from levchenko.i@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2818A43D53 for ; Tue, 15 Aug 2006 14:48:08 +0000 (GMT) (envelope-from levchenko.i@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so414884uge for ; Tue, 15 Aug 2006 07:48:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ArwcRha6N/32QMt51c2kb4Ht966560Mo97QeQYiEqfoMVuZ3B54WkWA+eHHdyPKLhz6bYsQpxF5qlf4Tb6PnMC+0RoPrTQouXrgAVqSm2pdJDut3SEs4dHjVBEFqTuU90SQ1s2PZJJXaKcQkiwhWK5v5QP+XvqUYQM2M0P9k0ac= Received: by 10.67.93.7 with SMTP id v7mr9320650ugl; Tue, 15 Aug 2006 07:48:08 -0700 (PDT) Received: by 10.66.239.8 with HTTP; Tue, 15 Aug 2006 07:48:07 -0700 (PDT) Message-ID: Date: Tue, 15 Aug 2006 17:48:07 +0300 From: "Ivan Levchenko" To: "Joao Barros" , freebsd-questions@freebsd.org In-Reply-To: <70e8236f0608141418u13a0c736l2de85012613dd115@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6e6841490608141219u5ef60960n8731717da00b5785@mail.gmail.com> <70e8236f0608141418u13a0c736l2de85012613dd115@mail.gmail.com> Cc: Subject: Re: ftp-proxy with pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 14:48:11 -0000 COOOL! I will definately look into this when i get home.. nice, thanks! On 8/15/06, Joao Barros wrote: > On 8/14/06, Ivan Levchenko 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 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 > -- Best Regards, Ivan Levchenko levchenko.i@gmail.com