[Swan] not able to establish tunnel with multiple subnets and IKEv2
paul at nohats.ca
Wed Jun 5 13:01:54 UTC 2019
On Wed, 5 Jun 2019, optimas primat wrote:
> I am trying to create site-to-site IPsec VPN with two subnets on each
> site using libreswan on linux gateways.
> conn siteA_ipsec
> conn siteB_ipsec
You should not use leftsourceip= when using multiple leftsubnets
> I get TS_UNACCEPTABLE error in pluto logs and tunnel gets established
> for only one subnet pair. When I change right=%any to
> right=172.16.88.88 in Site A's config, tunnel gets established
> successfully for all subnet pairs. As per requirement, I don't want to
> specify Site B's IP address at Site A, as it will be dynamic. Hence I
> used right=%any initially. But same config works with IKEv1.
Can you try without the sourceip= lines? If you still see an issue can
you then show some logs about what/why it is failing?
More information about the Swan