I have a sun x1 running solaris 8 and ipfilter 3.4.25.

Interface dmfe0 is out to an ethernet that leads to the internet,
Interface dmfe1 is nat'd and in 1918 space.  (192.168.10.1/24)

ipfstat -li says:

block in on dmfe1 from any to any
pass in on dmfe1 proto tcp from any to any port = 53
pass in on dmfe1 proto udp from any to 0any port = 53

ipnat -l says:

map dmfe0 192.168.10.99/32  -> 0.0.0.0/32  portmap tcp/udp 15000:30000

With this configuration, dns packets do not get out from the nat'd box
to the outside world.  They seem to disappear between dmfe1 and dmfe0 (I
see them in a tcpdump).  If I add an entry to the filter:

pass in on dmfe1 from 192.168.10.99/32 to 0/32

everything works correctly.  However, I want all traffic but DNS
blocked.  (I'm specifically talking to a nameserver on the dmfe0
ethernet in this case but I want any nameserver to work).

I'm determining what is and isn't going out via tcpdumps on dmfe0 and
dmfe1.

any idea what I'm doing wrong?

thanks,
-Todd

Reply via email to