15[KNL] <con1|3> unable to add SAD entry with SPI c6651939: Invalid argument (22)
2022-01-04T13:30:35 Informational charon 00[NET] enabling UDP decapsulation for IPv4 on port 4500 failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set UDP_ENCAP: Protocol not available 2022-01-04T13:30:35 Informational charon 00[NET] installing IKE bypass policy failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set IPSEC_POLICY on socket: Protocol not available 2022-01-04T13:30:35 Informational charon 00[NET] installing IKE bypass policy failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set IPSEC_POLICY on socket: Protocol not available 2022-01-04T13:30:35 Informational charon 00[NET] enabling UDP decapsulation for IPv6 on port 4500 failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set UDP_ENCAP: Invalid argument 2022-01-04T13:30:35 Informational charon 00[NET] installing IKE bypass policy failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set IPSEC_POLICY on socket: Protocol not available 2022-01-04T13:30:35 Informational charon 00[NET] installing IKE bypass policy failed 2022-01-04T13:30:35 Informational charon 00[KNL] unable to set IPSEC_POLICY on socket: Protocol not available 2022-01-04T13:30:35 Informational charon 00[DMN] Starting IKE charon daemon (strongSwan 5.9.4, FreeBSD 13.0-STABLE, amd64)
You can add that in the Tunables section of System > Settings without manually editing files.
Thanks that was the issue…Seems like with the move from HardenedBSD to FreeBSD the module needs to be loaded explicitly now…?Will you create a PR or shall I?
I'd say its worth to start a discussion via github