netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Can Netfilter "mark" be used with setkey spdadd?
@ 2010-06-16 16:21 Ajay Lele
  2010-06-16 18:21 ` Jan Engelhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Ajay Lele @ 2010-06-16 16:21 UTC (permalink / raw)
  To: netfilter

Had posted this question to ipsec-tools mailing lists but no reply..
so sending on Netfilter list in case someone has a clue. Thx

-------

Hi,

I am working on a VPN solution where packets entering Linux box are
manipulated using IPTables rules (SNAT, DNAT etc.). The nature of this
manipulation is such that packets destined for different sites end up
getting the same src/dst IP address when they reach the Netfilter
POSTROUTING chain. However a different "mark" is set using the
IPTables mark target by which packets destined for different sites can
be distinguished from one another. Is there a way I can use this mark
value while creating security policy using setkey spdadd so that
packets are sent over respective tunnels (tunnels are created
manually)

Thanks in advance

Regards
Ajay

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-17  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 16:21 Fwd: Can Netfilter "mark" be used with setkey spdadd? Ajay Lele
2010-06-16 18:21 ` Jan Engelhardt
2010-06-17  1:24   ` Ajay Lele
2010-06-17  7:36     ` Jan Engelhardt
2010-06-17  7:47       ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).