Subject: Re: NAT and http
To: None <arto.huusko@pp.qnet.fi, netbsd-help@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
List: netbsd-help
Date: 11/11/1998 04:20:17
In article <yam7616.30.138774000@smtp.qnet.fi> you wrote:
> anyway, I can't get http working over NAT and once again I have no idea
> why it does not work. I suspected my portmap config (tcp/udp 10000:40000)
> and tried different values (those from ipnat(5) man page and
> /usr/share/examples/ipf/BASIC.NAT) but none of them worked.

Here's what works for me:

miyu% cat ipf.conf
pass in from any to any
pass out from any to any
miyu% cat ipnat.conf 
map ppp0 10.0.0.0/8 -> 0/32 portmap tcp/udp 40000:60000
map ppp0 10.0.0.0/8 -> 0/32


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>