Enable iptables module on linux kernel 3.19 running on altera cyclone V soc boar(BSP - yocto)

What I am trying to do is, enable iptables(nat) support on linux kernel
running on the altera cyclone V soc board.

iptables package comes in the source code but is not enabled in the
default kernel configuration.

After doing some research I figured out that adding the line:
IMAGE_INSTALL_append = " iptables"
in the conf/local.conf file and recompiling the kernel and file system,
the new image will have iptables module loaded.

But even after following all these steps I am not able to see the
iptables module loaded.

Are there any other changes that need to be made to the kernel source or
configuration.

I also tried changing the netfilter(iptables) config from menuconfig
under networking options I do not see any option to enable
netfilter(iptables).

Problem Resolved

Steps:

  1. bitbake -c menuconfig virtual/kernel

  2. Follow the steps in the following link:
    http://www.mad-hacking.net/documentation/linux/security/iptables/installation.xml

  3. Generate kernel image, root filesystem and device tree

  4. Load the kernel, filesystem and device tree and BOOT.

Thanks