Subject: RE: gateway setup [1.6.2 / i386]
To: Conrad T. Pino <NetBSD-Current@Pino.com>
From: None <mark@theswamp.org>
List: netbsd-help
Date: 06/03/2004 22:16:50
> > __ mygate  
> > 24.xx.208.45  
>  
> Take note this IP address *not* available for NAT mapping!!! 
 
Ok, these IP addresses are going to kill me!!  
 
> This netmask doesn't agree with "ipnat.conf" netmask: 
>  
> 	255.255.255.255 != /24 
> 	255.255.255.255 == /32 
>  
> I think you want: 
>  
> 	/24 == 255.255.255.0 
 
That I understand, I think that was a typo on my part. 
 
> I don't think the above will work since this maps to these addresses: 
>  
> 	24.xx.208.45 
> 	24.xx.208.46 
>  
> and top one is the public default gateway.  Try: 
>  
> 	map rtk0 192.168.131.0/24 -> 24.xx.208.46/32 proxy port ftp ftp/tcp  
> 	map rtk0 192.168.131.0/24 -> 24.xx.208.46/32 portmap tcp/udp auto  
> 	map rtk0 192.168.131.0/24 -> 24.xx.208.46/32 
>  
 
Many thanks Conrad, i'll give a go.