Hello All, Thank you for previous help with a simple ipf setup.
This time around I have some misunderstandings that need cleaning up. If I have an ipnat.conf as: map ne0 10.10.1.0/24 -> a.b.c.d/32 portmap tcp/udp 40000:60000 Then any request from the LAN to, for example, access the ip q.w.e.r port 80 will be seen by ipfilter as: request from a.b.c.d -> q.w.e.r port 80 Yes? (the source ip is translated to the external interface (ne0) ip) If there is a request from the firewall, it will use the ne0 interface so ipf will see: request from a.b.c.d -> q.w.e.r port 80 Yes? So really they are the same for ipf, no? A request from the firewall and a request from the LAN, after NAT has worked it's magic... I want to allow the firewall to access port 80. I want to block the LAN from accessing port 80 (use the firewall's cache on port 3128 instead, which DOES need access to port 80). How can I accomplish this through ipnat and ipf? Any help would be GREATLY appreciated. I read in /usr/share/examples/ipf and the FAQ and the HOW-TO but still don't understand how to do this simple thing. Ideally would be allow NAT for the network for only a handful of port numbers (25,110,21) and for the rest drop NAT so the packets wouldn't go anywhere (except requests TO the firewall IP (10.10.1.99) so it can access the cache and DNS server). Any ideas? Thanks, Amadeus -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
