Re: NetBSD Gateway with dynamic IP

Paul Newhouse <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
Manuel Bouyer <[email protected]> wrote:

>  On Thu, Feb 08, 2007 at 11:25:00AM -0300, daniel veiga wrote:
>  > Hello,

>  > 
>  > My ipnat.conf is
>  > map ex0 192.168.1.0/24 -> 0/32 portmap tcp/udp
>  > 40000:60000
>  > map ex0 192.168.1.0/24 -> 0/32
>  > i tried to put vr0 and does not work to.

I can barely get my ipnat running so I probably have this all wrong but,
my ipnat.conf looks more like:

  map vr0 192.168.1.3/32 -> 0.0.0.0/32 proxy  port ftp ftp/tcp
  map vr0 192.168.1.3/32 -> 0.0.0.0/32 portmap tcp/udp 40000:60000
  map vr0 192.168.1.3/32 -> 0.0.0.0/32

Presuming ipnat is running on the 192.168.1.1 machine and vr0 IS the
external interface.

It seems to work on 3.0.1 (and previously on 1.5A).

Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.