GL-MT3600BE – Missing xfrm_user.ko prevents strongSwan IPsec from starting

I'm trying to run strongSwan 5.9.2 on my GL-MT3600BE (Linux kernel 5.4.281).

I successfully installed strongSwan and the previously missing kmod-ipsec6 package.

However, strongSwan fails to start with:

feature CUSTOM:libcharon in critical plugin 'charon'
has unmet dependency: CUSTOM:kernel-ipsec

Further investigation shows:

ip xfrm state list
Cannot open netlink socket: Protocol not supported

The kernel configuration contains:

CONFIG_XFRM=y
CONFIG_XFRM_USER=m

However, xfrm_user.ko is missing from /lib/modules/5.4.281/, and the available kmod-ipsec package does not contain it.

Could you please provide the matching xfrm_user.ko kernel module or an updated kmod-ipsec package built for the GL-MT3600BE firmware?

I need this module to establish an IKEv2/IPsec VPN connection to a LANCOM router.

Thank you!

Hi, thanks for your detailed report.

We checked a GL-MT3600BE running firmware 4.9.0 and confirmed that xfrm_user.ko is missing from the corresponding kmod-ipsec package. We’ll forward this issue to the relevant team for further investigation.
We’ll update you here once we have more information.

Hi, could you please try the attached package on your GL-MT3600BE running firmware 4.9.0?

  1. Download mt3600be-ipsec-fix-4.9.0.tar.gz and upload it to the router’s /tmp/ directory using WinSCP in SCP mode.
    mt3600be-ipsec-fix-4.9.0.tar.gz (72.3 KB)
  2. Extract and install the packages via SSH.
mkdir -p /tmp/mt3600be-ipsec-fix
tar -xzf /tmp/mt3600be-ipsec-fix-4.9.0.tar.gz -C /tmp/mt3600be-ipsec-fix
opkg install --force-reinstall /tmp/mt3600be-ipsec-fix/*.ipk
  1. Load the modules, check XFRM, and restart strongSwan.
modprobe xfrm_user
modprobe esp4
modprobe esp6
ip xfrm state list
/etc/init.d/ipsec restart
ipsec statusall

strongSwan should now start normally, and you can test your VPN connection. If you encounter any issues, please let us know which step failed and share the error messages.

Thank you for your patience and support.

Hi Charles
Thanks for the link. However, the file that is accessible under that link ist not named mt3600be-ipsec-fix-4.9.0-20261103.tar.gz but mt3600be_all_kmod_ipk.tar.gz. It contains dozens of ipk's way down the folder structure. Can you check that please?
Thanks
Peter

Nevertheless I found the correct package in the 826 packages and could install it. StrongSwan is working fine now. Thanks again
Peter

Hi Peter, sorry about the incorrect filename in our instructions; we’ve now corrected it.

We’re glad to hear that the issue is resolved and strongSwan is now working properly.
Thank you for your testing and support.