We have been using for the past 3 months and image with an Ubuntu 16.04 rootfs with the kernel 4.9.67-+g1db9f06 from the Apalis-iMX6_LXDE-Image_2.8b1.64-20171229 base image.
It wasn’t until recently that we noticed that the module iptables is not configured in the kernel by default. From this question Iptables - iptables v1.6.0: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) - Toradex Community our understanding is that we will need to checkout the linux-toradex repo with the branch toradex_4.9-1.0.x-imx then make the modifications to arm/configs/apalis_imx6_defconfig, compile the kernel and replace in the flashed SD card the compiled zImage file.
Assuming this will work, wouldn’t we be losing our custom rootfs? If this is the case is there something we can do about it in order to use iptables while keeping the rootfs? We tried using a *.ko kernel object but it wasn’t loaded.
We appreciate any help/tip you can provide. Thanks as always for your time.