I have the following set in my /proc : echo 1 > /proc/sys/net/ipv4/ip_forward but 'iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE' gives me the following error: iptables: Invalid argument My kernel config is as such: davidsmind# cat /proc/config |grep -i nat CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_NAT_IRC=y CONFIG_IP_NF_NAT_FTP=y davidsmind# cat /proc/config |grep -i masq CONFIG_IP_NF_TARGET_MASQUERADE=y Ok, so I have my kernel configured for MASQing. As an aside, forwarding works: iptables --append FORWARD --in-interface eth1 -j ACCEPT gives no error at all. Reproducible: Always Steps to Reproduce: 1. Compile Gentoo Sources 2. Try to use masqurading Expected Results: Masqing works with other kernel's I've tried.
re-emerge iptables pfeifer can you add the ewarn back into -r2+ ebuilds
Thank you.