Open bpersicsmortoff opened 3 months ago
Unfortunately that's a bit of a misleading error message, as just before it is the actual error and issue:
pluto[6586]: failed to add IKEv1 connection: global ikev1-policy does not allow IKEv1 connections
I think I should add something in the code to somehow detect if ikev1-policy is enabled or not, and exit with a more user friendly error message.
RHEL 9 at some point in its lifecycle has disabled IPsec IKEv1 in the libreswan package they ship, see the fix in the README.md file on how to enable IKEv1 :
I would also recommend removing the blacklisting of L2TP kernel modules, also see the README.md file:
From the logs, it seems, that the configured connection is not proper:
RHEL 9.4, NetworkManager-l2tp 1.20.16-1.el9 from epel.