Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 01:42:12 -0800
From:      Scott Gasch <scott@mail.medsp.com>
To:        questions@freebsd.org
Subject:   PASV mode for server w/ NAT
Message-ID:  <20010206014211.A14693@www.medsp.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to setup an FTP server on a machine thats running natd and
ipfw but am having trouble servicing passive mode FTP clients.

Because with PASV mode the FTP server is supposed bind/listen on an
arbitrary port, return that port number to the client, and await the
client's connection inbound... and my packet filter is not in the
loop... the machine won't let the FTP client connect.  So the passive
mode clients just hang... active mode clients work fine.

Short of hacking the FTP server code (to have it adjust the packet
filter dynamically or to make it use only ports in a specific range
for passive mode listening) is there any way to accomplish this?

Thanks in advance,
Scott

-- 
Scott Gasch
scott@wannabe.guru.org


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?20010206014211.A14693>