Subject: NAT Rules/PnP Modem
To: None <netbsd-help@netbsd.org>
From: Joseph R. Rach <nomad@UDel.Edu>
List: netbsd-help
Date: 01/01/1999 19:46:36
Hello,

    I'm trying to configure a NetBSD box to do PPP dialup and IP
    Masquerading. I haven't gotten it to work, and I'm not sure I
    understand the configuration for ipnat. I've looked at the
    manual pages and the examples in /usr/share/examples/ipf.

    Internally, I have three nodes using 192.1.1.x (mask 0xffffff00).
    One node is configured and working for PPP dialup. I only get
    one IP address to use. Should my rules look like:

    # Assume IP given is 128.175.143.20
    map ppp0 192.1.1.0/24 -> 128.175.143.20/32 portmap tcp/udp 2000:40000
    map ppp0 192.1.1.0/24 -> 128.175.143.20/32

    Or something completly different?

    Thanks in advance for any pointers and advice,
    Joe


    PS- Whats the current status for PnP stuff? A device I have is
    displayed on boot, but satands that its not configured. Do I need
    to build a new kernel? If so, how I define the device?
--