From owner-freebsd-questions Tue Dec 3 10:51:52 2002 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 A100637B401 for ; Tue, 3 Dec 2002 10:51:50 -0800 (PST) Received: from mx4.magma.ca (mx4.magma.ca [206.191.0.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id E098343E9C for ; Tue, 3 Dec 2002 10:51:49 -0800 (PST) (envelope-from liquid@liquidonline.ca) Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx4.magma.ca (Magma's Mail Server) with ESMTP id gB3IpnpU003093; Tue, 3 Dec 2002 13:51:49 -0500 Received: from windows (montreal-hs-64-26-155-234.s-ip.magma.ca [64.26.155.234]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id gB3Ipmbq026393; Tue, 3 Dec 2002 13:51:48 -0500 (EST) From: "Liquid" To: "'Alvaro Gil'" Cc: Subject: RE: Is there any way to disable passive mode on ftpd? Date: Tue, 3 Dec 2002 13:52:06 -0500 Message-ID: <000001c29afd$13e60400$6400a8c0@windows> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-reply-to: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Now I don't know if that's a result of using a certain NAT setup vs another, but I'm using ipnat + ipfilter, and I had ftp forwarded to a windows box, and it worked fine for ftp, setting ports 10010-1030 for passive mode. I then decided to play with ncftpd on a linux box a while back, and it too worked, using the same ports and such. When the NAT does its "thing", if I'm to understand this correctly, the ftp will think that anything coming in is coming from the gateway anyway... so its ok if it's the LAN IP's.. or something like that. I'm going to read through the ipfilter whitepaper again and find exactly what was said there. (If you're using ipf already, you really must look at www.obfuscation.org/ipf ) > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd- > questions@FreeBSD.ORG] On Behalf Of Alvaro Gil > Sent: December 3, 2002 11:46 AM > To: questions@FreeBSD.ORG > Subject: RE: Is there any way to disable passive mode on ftpd? >=20 > >If that's not possible, I guess I need to know the same thing as > Alvaro > >here was asking... >=20 > The other problem is that when it goes into passive mode, the ip > changes form a global one to the local ip the machine is on! So it > really only works well on the local network.... > -- > ____________________________________________ > Alvaro Gil > http://www.AlvaroGil.com > '84 Volvo 242 Turbo (Silver) 15 psi > '97 Leopard Gecko (White, Yellow, Black) > NJIT Mechanical Engineering Student > ____________________________________________ >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message