I'm facing a problem while compiling iptables module for my 12.04 ubuntu with kernel v. 3.7.1.
The problem began with my system unable to show the list of rules for all chains in nat table
root:# iptables --table nat --list <br/> root:# iptables v1.4.12: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
I also can't find
/lib/modules/3.7.1/kernel/net/ipv4/netfilter folder, so It always returns error every time I execute
My next move is to compile all modules located in
/usr/src/linux-3.7/net/ipv4/netfilter using with:
# make M=net/ipv4/netfilter -j2
And after the compiling process finished, there are lots of
.ko files except
/usr/src/linux-3.7/net/ipv4/netfilter folder. I've set
IPv4 NAT as
M in the kernel configuration before the compilation started.
How can I get