[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IPNAT and rdr setup



On Wed, Oct 13, 1999 at 09:50:24PM -0500, Jesse Trucks wrote:
> > You want to use 0.0.0.0/0 as your from address since you're redirecting
> > from everywhere [I assume].  You can also specify only to redirect when
> > coming from certain networks.  You probably want:
> > 
> > rdr xl0 0.0.0.0/0 port 23 -> 192.168.4.50/32 port 23
> 
> This works remotely (sort of) but not from localhost apparently. WHat did
> I miss there?

Traffic for localhost is not sent over the local ethernet but over the
loopback device instead. Do something like "telnet 10.0.0.100 23" instead
of "telnet localhost 23".

-- 
 -><- Use PGP -><- Key available with "finger karsten@hobbiton.org" -><-
                 !! Never trust unsigned keys !!

PGP signature