Subject: RE: How to redirect through ipnat?
To: None <netbsd-help@netbsd.org>
From: Melnikov Denis <denis.melnikov@regent.ru>
List: netbsd-help
Date: 12/13/2005 18:15:46
> Do you have ipf rules?

No.

> Do you have ip forwarding on? (test your GATEWAY option)

Yes.
net.inet.ip.forwarding=1

> Regards,
> Onno
> 
> 
> On 12/13/05, Melnikov Denis <denis.melnikov@regent.ru> wrote:
> > > Only try this rule:
> > >
> > > rdr fxp0 100.100.200.200/32 port 3389 -> 10.0.0.2 port 3389 tcp
> > >
> > > The other rdr's are abiguous.
> >
> > rdr fxp0 100.100.200.200/32 port 80 -> 10.0.0.2 port 80 tcp
> >
> > Not working! (I want to set up HTTP access before.)
> > `ipnat -l` shows:
> > >>>>>>>>>>>>>>>>
> > List of active MAP/Redirect filters:
> > rdr fxp0 100.100.200.200/32 port 80 -> 10.0.0.2 port 80 tcp
> >
> > List of active sessions:
> > RDR 10.0.0.2       80    <- -> 100.100.200.200   80  
> [100.100.200.201 1166]
> > <<<<<<<<<<<<<<<<
> >
> > But no record appears in Apache's access.log at 10.0.0.2.