Linux Netfilter discussions
 help / color / mirror / Atom feed
* question about esp and policy matching rule
@ 2010-07-19  3:29 Richard Knight
  2010-07-19 11:14 ` Sergei Zhirikov
  2010-07-19 11:44 ` Jan Engelhardt
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Knight @ 2010-07-19  3:29 UTC (permalink / raw)
  To: netfilter


Hello,

 I don't fully understand the two rules below.

Since each of the rules are get inserted at position 1 in the table the ESP
rule ends up below the policy matching rule, will the ESP rule ever be
checked?

# allow all ipsec traffic into and out
$IP6_TABLES -I INPUT  1 -i $EXIF -p esp -j ACCEPT
$IP6_TABLES -I OUTPUT 1 -o $EXIF -p esp -j ACCEPT
$IP6_TABLES -I INPUT  1 -i $EXIF -m policy --dir in  --pol ipsec  -j ACCEPT
$IP6_TABLES -I OUTPUT 1 -o $EXIF -m policy --dir out --pol ipsec  -j ACCEPT

I have an application which does not seem to operate through my ipsec
tunnel without both rules in place, I'm having trouble figuring out why.


Thank you in advance.

Jamie Knight (rjknight@us.ibm.com)
IBM Power Firmware Development
(512) 286-7017 (t/l 386-7017)
office 045/2A-01
IBM Austin, TX


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

end of thread, other threads:[~2010-07-21 13:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-19  3:29 question about esp and policy matching rule Richard Knight
2010-07-19 11:14 ` Sergei Zhirikov
2010-07-20 16:56   ` ratheesh k
2010-07-21 13:46     ` Sergei Zhirikov
2010-07-21 13:55       ` Jan Engelhardt
2010-07-19 11:44 ` Jan Engelhardt
2010-07-19 13:34   ` Richard Knight
2010-07-19 16:06     ` Jan Engelhardt

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