Missing modules in kmod-ipsec4? (xfrm4_mode_tunnel)

According to this https://docs.strongswan.org/docs/5.9/install/kernelModules.html following modules are required to get the ipsec tunnel worked:

ah4
ah6
esp4
esp6
xfrm4_tunnel
xfrm6_tunnel
xfrm_user
ip_tunnel
tunnel
tunnel6
xfrm4_mode_tunnel
xfrm6_mode_tunnel

But I don't see xfrm4_mode_tunnel, which should be part of kmod-ipsec4 https://openwrt.org/packages/pkgdata/kmod-ipsec4.
So, are the files missing (in 22.03):

opkg files kmod-ipsec4
Package kmod-ipsec4 (5.10.138-1) is installed on root and has the following files:
/lib/modules/5.10.138/xfrm4_tunnel.ko
/lib/modules/5.10.138/ah4.ko
/lib/modules/5.10.138/ipcomp.ko
/etc/modules.d/32-ipsec4
/lib/modules/5.10.138/esp4.ko

???

SOLVED

xfrm_mode_tunnel is not necessarily needed to set up the tunnel (at least in 22.03).

Problem was

12[KNL] received netlink error: No such file or directory (2)
12[KNL] unable to add SAD entry with SPI .... (FAILED)

which was caused by no xfrm object in ip. Installing full-ip solved the problem. Described also here.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.