All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: Setting NOTRACK on all tcp connections
Date: Wed, 01 Dec 2010 15:42:29 +0100	[thread overview]
Message-ID: <4CF65ED5.50808@plouf.fr.eu.org> (raw)
In-Reply-To: <4CF65D15.3060109@trego.co.il>

Hello,

Raviv a écrit :
> 
> I tried to setup a rule for notracking TCP connections as follows:
> 
> iptables -t raw -A  PREROUTING -p tcp -j NOTRACK
> 
> but stiil i can see a lot of tcp connections in /proc/net/nf_conntrack.

If these TCP connections are established by the host, you need to add
the same rule in the OUTPUT chain too. Also if you have IPv6 traffic you
need to add the same rules with ip6tables.

  reply	other threads:[~2010-12-01 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 14:35 Setting NOTRACK on all tcp connections Raviv
2010-12-01 14:42 ` Pascal Hambourg [this message]
2010-12-01 14:47   ` Jan Engelhardt

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=4CF65ED5.50808@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.