From: Mart Frauenlob <mart.frauenlob@chello.at>
To: netfilter@vger.kernel.org
Subject: Re: Disabling conntrack for local net
Date: Fri, 23 Oct 2009 07:09:58 +0200 [thread overview]
Message-ID: <4AE13AA6.5080509@chello.at> (raw)
In-Reply-To: <034DEBCAE934A74991E6E76B8DA72D14185DD509DA@HSSBS.holdstead.local>
Gary Smith wrote:
> We have several IP's NAT'd in from public interface. Even with that we noticed that 80% or so of the connection entries appear to be local to local traffic.
>
> We have the following subnets
>
> 10.40.16.0/24 (NAT'd public)
> 10.40.17.0/24 (internal data)
> 10.40.18.0/24 (internal data)
> 10.40.19.0/24 (internal data)
> 10.40.20.0/24 (NAT'd public)
>
> Public internface NAT's mostly to 10.40.16.0/24 IP's, and a couple on the 10.40.20.0/24 IP's. We have data/internal services on the 10.40.17.0/24 and 10.40.18.0/24. We see lots of connections from the 10.40.16.0/24 to the data/internal getting entered into the conntrack (as you would normally expect).
>
> So, is there any benefit of not conntracking these? Is so, how do I do that without breaking the NAT.
>
> I know I did this years ago, I just can't remember how.
>
Benefit = No resources used on connection tracking
-t raw -m -s x.x.x.x/zz -d y.y.y.y/zz -j NOTRACK
Regards
Mart
next prev parent reply other threads:[~2009-10-23 5:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 3:00 Disabling conntrack for local net Gary Smith
2009-10-23 5:09 ` Mart Frauenlob [this message]
2009-10-23 6:22 ` Mart Frauenlob
2009-10-23 16:26 ` Gary Smith
2009-11-16 23:32 ` Gary Smith
2009-11-17 10:03 ` Mart Frauenlob
2009-11-17 16:35 ` Gary Smith
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=4AE13AA6.5080509@chello.at \
--to=mart.frauenlob@chello.at \
--cc=netfilter@vger.kernel.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