Date: Tue, 3 Dec 2002 13:52:06 -0500 From: "Liquid" <liquid@liquidonline.ca> To: "'Alvaro Gil'" <alvaro@vrx.net> Cc: <questions@FreeBSD.ORG> Subject: RE: Is there any way to disable passive mode on ftpd? Message-ID: <000001c29afd$13e60400$6400a8c0@windows> In-Reply-To: <p0511170eba12901e83f4@[192.168.1.100]>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c29afd$13e60400$6400a8c0>