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/20/1999 11:50:45
On Sun, 20 Jun 1999, you wrote:
> On Fri, Jun 18, 1999 at 04:38:13PM +1000, James l Vodanovich wrote:
> > 
> > How do I access services on a machine running NAt  
> > from a machine that has it's address translated.
> > 
> > I tried 
> > 
> > rdr ne2 10.1.1.2/32 port http ->   10.1.1.1 port http
> > 
> > 
> > plus several other lines I though seemed likely.
> 
> Well, should work. My http/www/mail server is acceeded this way for now waiting
> for DNS update. Could you provide more details about your config ?
> 


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

I've tried the rdr line either side of the map line.

Thanks in advance



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


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