I am using ipsec-tools 0.7.3, and I could successfully test
both transport mode (using IPv4 and IPv6) and
tunnel mode (using IPv4-in-IPv4 and IPv6-in-IPv6).

But can I use the tunnel mode with IPv6-in-IPv4?
I tried to configure the SPD entry with:

# IPv6 over IPv4 tunnel IN policy
spdadd 2002::/64 2001::/64 any -P in ipsec

And the package is encapsulated, encrypted and sent.

Arriving at the other end, the ESP package is dropped,
and so I can't communicate.


Matheus Batista Nascimento
Ciências da Computação
UFG - Universidade Federal de Goiás
Lattes: http://lattes.cnpq.br/2172000736895574