All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Hills <chaz@chaz6.com>
To: netfilter@vger.kernel.org
Subject: Re: Problem with IPv6 tunnel
Date: Sun, 21 Jun 2009 15:44:37 +0200	[thread overview]
Message-ID: <h1ldg5$o38$1@ger.gmane.org> (raw)
In-Reply-To: <200906191218.03217.ben@differentialschokolade.org>

On 19/06/09 12:18, Benedikt Gollatz wrote:
>> I am not an iptables expert, but to me it seems the first MASQUERADE
>> rule matches all packets and the new one does not make any difference.
>> Can someone confirm that ?
>
> That's absolutely true. The rule from the FAQ is meant to replace your
> original rule, exempting proto-41 traffic from masquerading and thus
> connection tracking.

I believe the idea is that if you are terminating the tunnel on your 
router, then this rule should replace your default MASQUERADE rule so 
instead of

MASQUERADE  all  --  anywhere             anywhere
MASQUERADE !ipv6 --  anywhere             anywhere

you should have just:-

MASQUERADE !ipv6 --  anywhere             anywhere

This way the connection is not tracked unnecessarily.

Regards,

Chris Hills


  parent reply	other threads:[~2009-06-21 13:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19  8:31 Problem with IPv6 tunnel David Balažic
2009-06-19 10:18 ` Benedikt Gollatz
2009-06-19 12:03   ` David Balažic
2009-06-19 12:13     ` Benedikt Gollatz
2009-06-19 12:57       ` David Balažic
2009-06-19 13:08         ` Benedikt Gollatz
2009-06-19 13:37           ` David Balažic
2009-06-21 13:44   ` Chris Hills [this message]
2009-06-21 13:46     ` Chris Hills
2009-07-09 15:30   ` Pascal Hambourg
2009-06-19 10:18 ` Benedikt Gollatz
2009-07-09 11:48 ` David Balažic
2009-07-09 13:06   ` David Balažic
2009-07-09 14:51     ` Benedikt Gollatz
2009-07-09 15:34       ` Pascal Hambourg
2009-07-10 11:50         ` Benedikt Gollatz
2009-07-10 13:40           ` Pascal Hambourg
2009-07-10 15:00             ` David Balažic
2009-07-10 15:30               ` Pascal Hambourg
2009-07-10 22:31                 ` David Balažic

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='h1ldg5$o38$1@ger.gmane.org' \
    --to=chaz@chaz6.com \
    --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.