I recently compiled a gentoo-sources 2.4.20-r5 kernel, with all netfilter options compiled as modules. The network address translation part of my firewall/NAT script no longer works--specifically, when I enter the following iptables command: iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE I get the error message "iptables: invalid argument". The remainder of my firewall/NAT script works fine. The appropriate modules appear to be loaded. My script works fine with a kernel compiled from "vanilla-sources". I have also tried compiling all netfilter stuff directly into the kernel, same result. Reproducible: Always Steps to Reproduce: 1.Compile gentoo-sources 2.4.20-r5, netfilter options either as modules or compiled in. 2.Attempt to configure network address translation using netfilter nat table. 3. Actual Results: Unable to load network address translation rules into netfilter nat table. Expected Results: Network address translation should work as it does with a vanilla-sources kernel.
read the post package install for the ebuild. they were cleary displayed when emerging... i'll quote for you: "If iptables/netfilter behaves abnormally, such as 'Invalid Argument', you will need to re-emerge iptables to restore proper functionality." closing. Jay
Thank you for your response, and sorry for the trouble.