Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: NAT rule
Date: Wed, 16 Jul 2008 13:49:55 -0500	[thread overview]
Message-ID: <487E42D3.4080904@riverviewtech.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0807161924150.32031@fbirervta.pbzchgretzou.qr>

On 07/16/08 12:25, Jan Engelhardt wrote:
> Packets already destined for the tunnel (see first rule) are not 
> rerouted, because, well, it's POSTrouting.

By the time packets would make it to your rule, yes.  My concern is that 
the router / VPN setup will see one subnet on one ethernet interface and 
the same subnet on the other end of the tunnel.  At least that is the 
understanding that I got from the OP.  So my concern is not so much 
confusion on IPTables part so much as it is a simple routing (which 
interface gets used) seeing the same subnet in two different locations.

I guess I should ask, how well will the router handle having the same 
subnet addresses in two different (non connected) locations, one being 
the ethernet interface and the other being through the tunnel?




Grant. . . .

  reply	other threads:[~2008-07-16 18:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16 16:12 NAT rule Michael Crider
2008-07-16 16:54 ` Jan Engelhardt
2008-07-16 17:19   ` Grant Taylor
2008-07-16 17:25     ` Jan Engelhardt
2008-07-16 18:49       ` Grant Taylor [this message]
2008-07-16 17:18 ` Grant Taylor
2008-07-16 17:26   ` Grant Taylor
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 19:22 Michael Crider
2008-07-16 19:31 ` Grant Taylor

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=487E42D3.4080904@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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