Subject: Re: Configuring IPNat
To: James Webster <james3838@tsi-net.com>
From: Eric Fox <eric@fox.phoenix.az.us>
List: netbsd-help
Date: 07/27/1999 06:05:54
On Mon, 26 Jul 1999, James Webster wrote:
> I'm trying to map the following ports from my internal machine 10.0.0.1 to
> the internet through my IPNat gateway 10.0.0.5 (ne1 is local and ep0 is
> internet).
>
> Allow outbound TCP connection on port 47624.
> Allow inbound and outbound connections on TCP and UDP ports 2300-2400.
> Allow inbound and outbound connections on TCP and UDP ports 28800 - 28912
>
Hmmm ... I'm not really sure what you're trying to accomplish here. If
you're wanting to be able to, say, surf the internet, from your internal
machine (10.0.0.1)--or any internal machines for that matter, then
ipnat.conf should look something like this:
map ppp0 10.0.0.0/24 -> w.x.y.z/32 portmap tcp/udp 40000:60000
map ppp0 10.0.0.0/24 -> w.x.y.z/32
where w.x.y.z = the ip address of port ep0.
But from what you described, I'm not exactly sure that's what you're
really wanting to do.
/\---/\ Eric J Fox
/ o o \ http://fox.phoenix.az.us
\.\ /./ ---------------------------
\@/ "Of course it runs NetBSD."