For those wou could be interested in compiling the Kernel (
http://elinux.org/Rpi_kernel_compilation) with the good options for iptables (ipv4 ...), here is a working options selection (may be not the best one <- give your advices)
Code: Select all
Networking ---->
Networking options ---->
Network packet filtering framework (Netfilter)--->
Core Netfilter Configuration ---->
<*> Netfilter connection tracking support
<*> Netfilter Xtables support (required for ip_tables)
<*> "NFLOG" target support
<*> "conntrack" connection tracking match support
<*> "state" match support
IP: Netfilter Configuration --->
<*> IPv4 connection tracking support (required for NAT)
<*> IP tables support (required for filtering/masq/NAT)
<*> Packet Filtering
<*> REJECT target support
<*> Full NAT
<*> MASQUERADE target support
<*> Packet mangling
I compiled and tested iptables, including NAT MASQUERADE : It boots

and iptables seams to work fine.
My /proc/config.gz is in the "attachment" <- it includes iptables and bridge network options built-in the recompiled kernel (no module)
For the curious one, who like me 2 hours ago, don't no how long it takes to "make" the kernel (cross compiling) : it took less than 20 minutes from the beginning to the end on my 1,8 GHz Intel Core i7 (make -j 3) <- it's worth a try
Geting the sources (git clone) and finding the good options for the Kernel configuration took me definitely a longer part of the evening...
Hope this helps.