From: Ramin Dousti <ramin@cannon.eng.us.uu.net>
To: Alistair Tonner <Alistair@nerdnet.ca>
Cc: Michael <freeware@adsl-209-204-165-151.sonic.net>,
Ramin Dousti <ramin@cannon.eng.us.uu.net>,
netfilter@lists.netfilter.org
Subject: Re: netfilter resets TCP conversation that was DNATed from the local machine to another
Date: Tue, 1 Jul 2003 10:34:20 -0400 [thread overview]
Message-ID: <20030701143420.GA32195@cannon.eng.us.uu.net> (raw)
In-Reply-To: <200307010200.00067.Alistair@nerdnet.ca>
On Tue, Jul 01, 2003 at 02:00:00AM -0400, Alistair Tonner wrote:
> On June 30, 2003 04:07 pm, Michael wrote:
>
> >
> > That's Squid looking up my domain. (Why twice? I don't know.) The OUTPUT
> > chain in the nat table is
> >
> > Chain OUTPUT (policy ACCEPT)
> > target prot opt in out source destination
> > DNAT tcp -- * * 0.0.0.0/0 1.2.3.5 multiport dports 80,443
> > to:192.168.0.8 DNAT tcp -- * * 0.0.0.0/0 1.2.3.6 multiport
> > dports 80,443 to:192.168.0.9
> >
> >
>
> Please read this page
>
> http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-3.html
>
> Why are you DNATting in OUTPUT?
Good catch. I guess he's doing this because squid is bound to the public
IP's. However, this is not necessary and for older iptables versions there
was a problem with natting in the OUTPUT chain...
Ramin
> --
>
> Alistair Tonner
> nerdnet.ca
> Senior Systems Analyst - RSS
>
> Any sufficiently advanced technology will have the appearance of magic.
> Lets get magical!
next prev parent reply other threads:[~2003-07-01 14:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-28 3:50 netfilter resets TCP conversation that was DNATed from the local machine to another Michael
2003-06-29 21:55 ` Arnt Karlsen
2003-06-30 2:01 ` Ramin Dousti
2003-06-30 2:22 ` Michael
2003-06-30 5:12 ` Alistair Tonner
2003-06-30 14:29 ` Ramin Dousti
2003-06-30 14:44 ` Ray Leach
2003-06-30 14:52 ` Ramin Dousti
2003-06-30 20:07 ` Michael
2003-07-01 6:00 ` Alistair Tonner
2003-07-01 14:34 ` Ramin Dousti [this message]
2003-07-01 16:24 ` Michael
[not found] ` <200307020206.13952.Alistair@nerdnet.ca>
2003-07-02 21:39 ` Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030701143420.GA32195@cannon.eng.us.uu.net \
--to=ramin@cannon.eng.us.uu.net \
--cc=Alistair@nerdnet.ca \
--cc=freeware@adsl-209-204-165-151.sonic.net \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox