Subject: nat'ing to all but one address
To: None <netbsd-help@netbsd.org>
From: seph <seph@commerceflow.com>
List: netbsd-help
Date: 09/03/2002 13:30:36
I'm using a netbsd 1.5.2 box as a router/NAT box. My network looks
something like this:

  (internet cloud)
         |
         |
  [public address]
    cisco router
[private 192 address]
         |
         |
[private 192 address]
    netbsd box
[private 10 address]
         |
         |
internal net10 network


It's easy for me to nat the net10 addresses that go out the netbsd
box, my ipnat.conf looks something like:

   map fxp1 from 10.34.0.0/16 to any -> 0/32 proxy port ftp ftp/tcp
   map fxp1 from 10.34.0.0/16 to any -> 0/32 portmap tcp/udp auto
   map fxp1 from 10.34.0.0/16 to any -> 0/32

However, I'd like to not nat things going to the cisco's private 192
address. Is there a clean way to do this?

As I'm not subscribed to netbsd-help, please cc me on any
replies. thanks

seph