diff --git a/package/gluon-mesh-vpn-core/Makefile b/package/gluon-mesh-vpn-core/Makefile
index 3679e2bcbf0cfc4c23144577bd5d7df332cf814a..9525f1103719e8ab3e0ca6c741fab65b17e0817b 100644
--- a/package/gluon-mesh-vpn-core/Makefile
+++ b/package/gluon-mesh-vpn-core/Makefile
@@ -6,7 +6,7 @@ include ../gluon.mk
 
 define Package/gluon-mesh-vpn-core
   TITLE:=Basic support for connecting meshes via VPN tunnels
-  DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables +iptables-mod-extra +simple-tc
+  DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables-legacy +iptables-mod-extra +simple-tc
   USERID:=:gluon-mesh-vpn=800
 endef
 
diff --git a/targets/generic b/targets/generic
index 21b617d3b60d2093da5e9a4621aa2ff69b85b521..7c652eb9487be922c65942c249c1e6fbaeacdaca 100644
--- a/targets/generic
+++ b/targets/generic
@@ -46,6 +46,9 @@ try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256)
 
 config('KERNEL_IP_MROUTE', false)
 config('KERNEL_IPV6_MROUTE', false)
+config('KERNEL_IPV6_SEG6_LWTUNNEL', false)
+config('SECCOMP', false)
+config('KERNEL_SECCOMP', false)
 
 config('COLLECT_KERNEL_DEBUG', true)
 
@@ -70,8 +73,10 @@ config('GLUON_MINIFY', istrue(env.GLUON_MINIFY))
 packages {
 	'-ca-bundle',
 	'-kmod-ipt-offload',
+	'-kmod-nft-offload',
 	'-libustream-wolfssl',
 	'-libwolfssl',
+	'-nftables',
 	'-odhcpd-ipv6only',
 	'-ppp',
 	'-ppp-mod-pppoe',