DNAT for local connections
Mon, 29 Oct 2001 10:18:34 -0500
I don't know about a netfilter solution to this but I'd rather map the IP of
your internal hosts in /etc/hosts or DNS. This is a better solution to this
problem. Or turn off the requirement for reverse DNS loookups in wu-ftpd.
----- Original Message -----
Sent: Monday, October 29, 2001 9:32 AM
Subject: DNAT for local connections
> Hi to all,
> I'm new to the list and I have a problem with iptables.
> There's a way to do SNAT of packets directs from an host of an internal
> lan to the local services of a linux box used as firewall between the
> lan and internet ? (This is a problem because packets don't go throught
> the POSTROUTING chain)
> Es: an FTP request from a PC to wu-ftpd on the linux box SNATted to an
> IP of an interface of the linux box (this is for work around the
> problem of the reverse DNS lookup of PC's IP. This isn't DNS mapped on
> my net). Sorry for my (i hope understandable) english.
> Thanks to all
> Gilberto Carcano