I use jftpgw with MS ftp servers behind nat and it works perfectly. It is a simple solution and does not require reconfiguration of the ftp server.
http://www.mcknight.de/jftpgw/ On 1/9/06, Can Erkin Acar <[EMAIL PROTECTED]> wrote: > On Mon, Jan 09, 2006 at 04:56:27PM +0100, MK wrote: > > Hello all > > > > I can't still solve my problem. I have LAN which is connected to the > > internet through OpenBSD's PF NAT. On OpenBSD gateway runs main ftp server > > which is accessible from internet and also from LAN. But one computer in my > > LAN is FTP server too and I need to make it accessible for internet users. > > > > I hoped that ftpsesame can help me, but I'm not able to make my > > configuration work. > > > > > > MS FTP server ( port 21, private IP ) ------ OpenBSD NAT ( FTP server, port > > 21 ) -------- internet ----- ( NATs ) ---- clients > > > > So what I did? As I mentioned above FTP server on OpenBSD works with > > ftpsesame perfectly. ftpsesame is listening on port 21 of external > > interface and all clients from internet can reach it even if they are > > behind NAT. > > ftpsesame does NOT listen on any port. It uses bpf to look at packets > on the wire, so it has no control over the data as you have found out. > Try pftpx instead, which already replaced ftp-proxy in -current and > use the reverse mode. > > Can > -- Fazla [EMAIL PROTECTED]