[ale] Iptables for port forwarding?

Ken Nagorski kenn at pcintelligent.com
Tue Jun 26 16:07:32 EDT 2001


Hi there,

This is how I do it.

#redirect web traffic to another machine
iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 
192.168.1.4

It works for me....

Thank you
Ken

On Wed, 27 Jun 2001, Howard Fore wrote:

> Hi,
> 
> I've been trying to figure out how to use IPtables to
> forward traffic from an old server to a new one while the
> DNS caches catch up. But All I seem to be doing is dropping
> the incoming connections. Here's the line I was trying for
> web traffic. I don't get an error when I issue the command,
> but subsequent web requests go into a black hole.
> 
> iptables -D -t nat -p tcp -d 216.22.214.138 --dport 80 -j
> DNAT --to 208.32.175.148:80
> 
> Ideas? Suggestions?
> 
> Thanks.
> 
> --
> Howard Fore, me at hofo.com
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

-- 
IMPORTANT: This email is intended for the use of the individual addressee(s)
named above and may contain information that is confidential, privileged
or unsuitable for overly sensitive persons with low self-esteem, no sense 
of humour or irrational religious beliefs. If you are not the intended 
recipient, any dissemination, distribution or copying of this email is not 
authorised (either explicitly or implicitly) and constitutes an irritating 
social faux pas. 

Unless the word absquatulation has been used in its correct context somewhere
other than in this warning, it does not have any legal or no grammatical use 
and may be ignored. No animals were harmed in the transmission of this email, 
although the kelpie next door is living on borrowed time, let me tell you. 
Those of you with an overwhelming fear of the unknown will be gratified to 
learn that there is no hidden message revealed by reading this warning
 backwards, so just ignore that Alert Notice from Microsoft. 

However, by pouring a complete circle of salt around yourself and your 
computer you can ensure that no harm befalls you and your pets. If you 
have received this email in error, please add some nutmeg and egg whites, 
whisk and place in a warm oven for 40 minutes. 

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list