Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables and 2.5.* ipsec
@ 2003-05-14  9:53 Andreas Jellinghaus
  0 siblings, 0 replies; only message in thread
From: Andreas Jellinghaus @ 2003-05-14  9:53 UTC (permalink / raw)
  To: netfilter

Hi,

How does 2.5.* ipsec and netfilter interact?

I guess this way, but I'm not sure:
(encrypted) network card -> routing -> INPUT -> decrypt
(decrypted) ipsec -> routing -> INPUT/FORWARD 

A normal packet is processed this way:
ipsec -> routing -> INPUT/FORWARD 

The first is easy to see: proto 50 or 51 (or udp port 500 for ike).
But how can I see whether an unencrypted packet came in unencrypted
or came in encrypted via ipsec?

with freeswan I could match -i ipsec0, but with kernel 2.5.* there
is no ipsec0 device. What shall I use instead? fwmark?

Thanks for your help.

Regards, Andreas



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-14  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-14  9:53 iptables and 2.5.* ipsec Andreas Jellinghaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox