I got the answer on this within the last couple of weeks. It seems there is no way 
around opening up the port
range for both passive and active PORT cmds.

The map rule I think just gives you port 21 and 20 (data channel) functionality.

Paul

Damian Gerow wrote:

> (Time to revisit this thread, yet again.)
>
> I have an FTP server behind an ipf firewall that requires both active and
> passive mode, without opening up the whole gamut of ports >1024.  Is this
> possible?
>
> This is what I've got right now:
>
>     ipnat.rules:
>         map rl0 from any to 235.116.218.4/32 -> 192.168.0.1/32 proxy port ftp ftp/tcp
>
>     ipf.rules:
>         block in log on rl1 from any to any head 450
>           pass in quick on rl1 proto tcp from 172.16.1.0/24 to any flags S keep 
> state keep frags group 450
>           pass in quick on rl1 proto udp from 172.16.1.0/24 to any keep state keep 
> frags group 450
>           pass in quick on rl1 proto icmp from 172.16.1.0/24 to any keep state keep 
> frags group 450
>           pass in quick on rl1 proto gre from 172.16.1.0/24 to any keep state keep 
> frags group 450
>
> So I'm not really sure what else I would need...  Any pointers?

--
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive 
confidentiality or
privilege, and use is prohibited.


Reply via email to