ClausEriksen.net

Photos and random stuff from an old grumpy sysadmin :-)

IPv6 over IPv4 IPsec?

Now we have a nice IPsec tunnel between two sites we would like to get some IPv6 connectivity between the two sites as well.

This is _really_ easy to do.

All we have to do in order to achieve our goal is to attach the following to our ipsec.conf (this is on router1, router2 should have minor changes) + add ipv6 addresses to the inside interfaces on the routers

conn lan1-lan2-ipv6
 connaddrfamily=ipv6
 leftsourceip=2axx:xxxx:8::1
 leftsubnet=2axx:xxxx:8::/64
 rightsubnet=2axx:xxxx:9::/64
 rightsourceip=2axx:xxxx:9::2
 also=router1-router2

Don’t look too much on the addresses 😛

Next Post

Previous Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 ClausEriksen.net

Theme by Anders Norén