On Tue, May 25, 2004 at 09:20:06AM +0200, Derkjan de Haan wrote: > Hi, > > I recently installed FreeBSD 4.9 on my home firewall/server, and I'm using > the bundled ipfilter as firewall package of choice. However, I came across > a few oddities; maybe someone can shed some light on these ? > > 1) For active FTP to work, I noticed I have to specify the back-end > network, as well as the address of the server itself. I mean this most > elegant syntax > > map em1 0/0 -> 0/32 proxy port ftp ftp/tcp > > is supposed to work if I understood the FAQ correctly, but is does not. > This only works for FTP traffic originating from the firewall itself, but > not for hosts behind it. Instead I have to use this: > > map em1 <extip>/32 -> 0/32 proxy port ftp ftp/tcp > map em1 192.168.2.0/24 -> 0/32 proxy port ftp ftp/tcp
That is weird. I think map em1 0/0 -> 0/32 proxy port ftp ftp/tcp should have worked. What do you see with ipnat -lv when you try to ftp out? -Guido
