Subject: New IP filter code
To: None <tech-kern@NetBSD.ORG>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: tech-kern
Date: 03/31/1997 02:11:38
Has anyone verified that the new IP filter code can actually
do NAT?  I'm trying to set up NAT, but I simply cannot get
any addresses translated.  This could simply be my ignorance,
but I think I'm doing it right.

I have this NAT rule
    map tun0 192.168.1.2/32  -> 172.16.1.2/32
but when the packet shows up in the tunnel the source address
is still 192.168.1.2.

Oh, BTW, netinet/ip_fil.c does not compile as it stands, a `(void)'
cast needs to be removed to get it syntactically correct.

        -- Lennart