Ive installed 1.4rc2 and kernel 2.4.20 but no matter what i do when i compile i get the errror when i try the command iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE Invalid Argument
what does your machine show when you grep for these values ? root@rux0r net # grep CONFIG_IP_NF_NAT /usr/src/linux/.config CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y # CONFIG_IP_NF_NAT_LOCAL is not set # CONFIG_IP_NF_NAT_SNMP_BASIC is not set CONFIG_IP_NF_NAT_IRC=m CONFIG_IP_NF_NAT_FTP=m root@rux0r net # grep CONFIG_IP_NF_CONNTRACK /usr/src/linux/.config CONFIG_IP_NF_CONNTRACK=y root@rux0r net #
p3-667 root # grep CONFIG_IP_NF_NAT /usr/src/linux/.config CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y # CONFIG_IP_NF_NAT_LOCAL is not set # CONFIG_IP_NF_NAT_SNMP_BASIC is not set CONFIG_IP_NF_NAT_IRC=y CONFIG_IP_NF_NAT_FTP=y p3-667 root # grep CONFIG_IP_NF_CONNTRACK p3-667 root # grep CONFIG_IP_NF_CONNTRACK /usr/src/linux/.config CONFIG_IP_NF_CONNTRACK=y p3-667 root #
Created attachment 7492 [details] config file causing problems : iptables invalid argument please have a look to see what is wrong..... im trying iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
did you compile your kernel with this settings and boot with the new kernel ?
Yes...
do you use gentoo-sources ?
due to changes to the iptables core that caused the need to rebuild iptables against this kernel, I've dropped the tcp-window-tracking patch from the ebuild, remerging either iptables OR this kernel and should fix0r this.
got the same problem. didn't work with _all_ the iptables versions currently in portage .. i tried 1.2.8-r2 (from cvs attic) and it worked .. could/should this be added again to the tree ?
There is iptables-1.2.9 in portage stable. Can we close this bug?
no response after 5 months, closing bug.