Subject: Re: IP Nat
To: NetBSD netbsd-help mailing list <netbsd-help@netbsd.org>
From: James l Vodanovich <jim@arrakis.com.au>
List: netbsd-help
Date: 06/21/1999 11:10:06
On Mon, 21 Jun 1999, you wrote:
> On Sun, Jun 20, 1999 at 11:50:45AM +1000, James l Vodanovich wrote:
> > The gateway is i386 1.3.3
> > 10.1.1.1 netmask 0xffff0000
> > 
> > My workstation is i386 1.4
> > 10.1.1.2 netmask 0xffff0000
> > 
> > ipnat.conf is
> > rdr ne2 10.1.1.2/32 port http ->   10.1.1.1 port http
> > map ppp0 10.1.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000
> > 
> You have it backward then. The rdr line should be:
> rdr ppp0 0.0.0.0/32 port http -> 10.1.1.2 port http.
> 
> This ask to redirect any packet received on the ppp0 interface for port
> http to the 10.1.1.2 machine, port http. This is what you want, rigth ?
> 

No I want to access services on my gateway machine from
my internal network, specifically ssh

--
---
Humor can deliver the truth in a more palatable form. 
----
James L Vodanovich			jim@arrakis.com.au 
Sydney Australia			ph 0412106903


Online resume at http://www.arrakis.com.au/vodan