IpSec not working when two WAN interfaces are active

ipsec

#1

Hi,

IPSec not working when two WAN interfaces are up ( vyos has eth2 10.189.109.25 & eth3 65.123.252.23 ). I have established IPsec tunnel on eth3. when tried to ping from server side I can see Ipsec is not working intermittently. Below screenshot shows marked red ipsec server sending ESP packets on eth3. But while replaying ESP packets are going from eth2 (With eth3’s source address !!!).

But the tunnel is active with the server.