All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Welte <laforge@netfilter.org>
To: dimitri borjac <dimitri_borjac@hotmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: iptables and SPI...
Date: Fri, 31 Oct 2003 15:47:45 +0100	[thread overview]
Message-ID: <20031031144745.GG21066@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <Law10-F124Y6YHkidcD0000000d@hotmail.com>

[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]

On Wed, Oct 22, 2003 at 04:44:51PM +0000, dimitri borjac wrote:
> Hi!
> i sent this question to the user list but maybe you would have more precise 
> answers ...
> 
> I'd like to know if it's possible to use the current version of iptables in 
> order to NAT different VPN established between different NATted hosts and 1 
> remote gateway (the same gateway for all of them) ?  Such a NAT would be 
> made by watching both addresses, ports and SPIs...

I don't really understand what you want to achieve.  Please try to
explain this in more detail.

> In other words :  is it possible for iptables to go and check the SPI field
> in the ESP Header of the IPsec packet in ESP tunnel mode ?

are you talking about freeswan or the 2.6 kenel ipsec implementation?
Is your iptables running on one end of a tunnel or just enroute your ESP
tunnel?  Are you using UDP ESP encapsulation mode (nat-traversal)?

> Hope i make me clear enough :)

no, unfortunately not.  Or I'm too stupid, sorry.

> Dimo

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-10-31 14:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 16:44 iptables and SPI dimitri borjac
2003-10-31 14:47 ` Harald Welte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-31 18:07 dimitri borjac
2003-10-31 22:01 ` Henrik Nordstrom
2003-10-31 15:32 dimitri borjac
2003-10-31 17:41 ` Henrik Nordstrom
2003-11-02 15:06 ` Harald Welte
2003-10-22 13:26 dimitri borjac
2003-10-22 13:50 ` Julian Gomez

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=20031031144745.GG21066@sunbeam.de.gnumonks.org \
    --to=laforge@netfilter.org \
    --cc=dimitri_borjac@hotmail.com \
    --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.