Changing the desitnation (DNAT) locally
Al Sparks
data345 at yahoo.com
Fri Feb 6 19:33:09 UTC 2004
--- "Christopher K. Johnson" <ckjohnson at gwi.net> 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
More information about the fedora-list
mailing list