iptables REDIRECT

Henrik Nordstrom hno@squid-cache.org
Thu, 25 Oct 2001 09:26:55 +0200


Nigel Kukard wrote:
> 
> Hi,
> 
> is there any equivelant to the ipchains REDIRECT <ip> <port> target?

The iptables REDIRECT target, or if you like the DNAT target.

> would it break anything if i were to use NAT to redirect packats to
> a specific host? or is there a better way?

Depends on the protocol and what you are up to doing. If you redirect to
another host you will loose the information on what was the original
destination.

Regards
Henrik Nordström