Skip to contentSkip to conversation

ipsec on kernel 2.6.0-test9

LARTC Marco Berizzi 1 participant 1 message Nov 19, 2003

lore
Share & tools
lore
#0 lore raw

Hello everybody.

I'm playing with ipsec on linux 2.6.0-test9 + ipsec-tools-0.2.2 I have a question.

I would like to implement a simple esp-tunnel with ipcomp. I have written this:

#!/usr/local/sbin/setkey -f
flush;
spdflush;
spdadd 10.1.2.0/24 10.1.1.0/24 any -P in ipsec
esp/tunnel/172.16.1.247-172.16.1.226/require;
spdadd 10.1.1.0/24 10.1.2.0/24 any -P out ipsec
esp/tunnel/172.16.1.226-172.16.1.247/require;

This configuration establishes an ESP tunnel. How can I enable IPcomp?
PS: I'm using racoon for key management.

TIA.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/