On Sat, 22 Jul 2023, Heting Wang wrote:

    "ISAKMP_v2_IKE_SA_INIT message received on 172.31.2.1:500 but no suitable
    connection found with IKEv2 policy"r

I collected more information using plutodebug=tmi

Jul 22 22:57:17.604493: | *received 604 bytes from XXXXXXXXXX:500 on eth1 
172.31.
2.1:500 using UDP

It does not change my answer. For some reason your connection is loaded
before you had the IP or route in please for left=%defaultroute to pick
it up. You can set left=172.31.2.1 to work around that if it is a static
IP.

Paul
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to