Re: Changing the desitnation (DNAT) locally

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

 



--- "Christopher K. Johnson" <ckjohnson@xxxxxxx> wrote:
> Al Sparks wrote:
> 
> >So, is what I'm doing doable?  If so, how do I do it?
> >   === Al
> >  
> >
> First of all, you don't need to add a route to do it.
> Second the normal loopback address is 127.0.0.1, so you need to add 
> another loopback interface address of 127.0.0.5 if you expect to accept 
> a packet re-addressed by DNAT to 127.0.0.5.

Thanks for the help.  I'll give that a try.  Regarding the loopback, the default
route configuration for a fedora box includes
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  127.0.0.0       *               255.0.0.0       U     0      0        0 lo

That means that 127.0.0.5 should go through the "lo" interface.   I confirmed that
by 
    telnet 127.0.0.5 22
and got back the ssh prompt for that box.....

Again, I'll give your suggestions a try.  Thanks for responding.
   === Al




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux