[ale] Iptables for port forwarding?
Howard Fore
me at hofo.com
Wed Jun 27 22:47:35 EDT 2001
Hmm. This doesn't seem to work for me. After I issue this
command (with my IP of course), all the HTTP requests never
come back. Is there something else I have to do other than
this one command? I know iptables is activated in the
kernel.
Hwrd
On Tue, 26 Jun 2001 16:07:32 -0400 (EDT)
Ken Nagorski <kenn at pcintelligent.com> wrote:
> 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