Subject: Re:
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: current-users
Date: 10/04/1999 18:02:52
On Mon, 4 Oct 1999 20:35:08 -0500 (EST)
      jonl <jonl@kudra.yubyub.net> wrote:

> ftp proxy working?
>
>I've got an i386 box running 1.4.1, GENERIC kernel.
>
>In my ipnat.conf, I've this:
>
>map fxp0 192.168.34.0/24 -> a.b.c.145/32 portmap tcp/udp 40000:60000
>map fxp0 192.168.34.0/24 -> a.b.c.145/32
># To make ftp work, using the internal ftp proxy, use:
>#
>map fxp0 192.168.34.0/24 -> a.b.c.145/32 proxy port ftp ftp/tcp


I think you need to put the ftp proxy statement first since the 
map 192->a.b will match first so it never sees your ftp proxy line.

That's my guess ?

Paul

>And that's it.  Of course, a.b.c.145 is an actual IP.
>
>Telnet, ping, etc... work, however, the FTP proxy doesn't.
>
>FTPing gives this:
>
>ftp> ls
>500 Illegal PORT command rejected
>425 Can't build data connection: Connection refused.
>ftp>
>
>Can anyone let me know where I've lead myself astray?