All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Stephen.Clark@seclark.us
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: masquerade & ipsec
Date: Wed, 05 Jul 2006 17:34:45 +0200	[thread overview]
Message-ID: <44ABDC15.9050606@trash.net> (raw)
In-Reply-To: <44A6FDDE.8050805@seclark.us>

Stephen Clark wrote:
> Hello,
> 
> I am running kernel 2.6.16-1.2115_FC4 - I have network that looks like
> this:
>                                           
> FreeBSD                                           FC-4
> 10.0.128.0/17 <-> 10.0.254.254-65.162.x.x ipsec tunnel
> 24.x.x.x-192.168.2.1 <-> 192.168.2.0/24
> 
> Some change recently caused masquerading to happen on my FC-4 box before
> ipsec happens
> so my packets from my 192.168.2.0/24 network have the source address
> changed to my external interface address and don't get picked up by the
> SA. If I turn off masquerading
> then ipsec works again. I didn't use to have this problem.

You can use the policy match to exclude the packets that should
be handled by IPsec from masquerading. Or simple do it by
address.

  reply	other threads:[~2006-07-05 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-01 22:57 masquerade & ipsec Stephen Clark
2006-07-05 15:34 ` Patrick McHardy [this message]
     [not found]   ` <44ABE469.7000001@seclark.us>
2006-07-05 16:51     ` Patrick McHardy

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=44ABDC15.9050606@trash.net \
    --to=kaber@trash.net \
    --cc=Stephen.Clark@seclark.us \
    --cc=netfilter-devel@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 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.