You have to emerge iptables again !!!
----- Original Message ----- From: "Chris Bare" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 8:03 PM Subject: [gentoo-user] 2.4.22 kernel and masq problem > I just built the 2.4.22-gentoo-r2 kernel and am now having a problem with IP > masquerading. It worked fine under 2.4.20-gentoo-r9, so I copied the .config > from that version, ran make oldconfig, then make menuconfig and checked > things. > Now, when I'm running the 2.4.22 kernel I get an error on the following > iptables command: > > # iptables -t nat -A POSTROUTING -o eth1 -s 10.0.0.0/8 -j MASQUERADE > iptables: Invalid argument > > If I leave off the -j MASQUERADE, I don't get the error. > I show the following modules loaded (others deleted for brevity): > > ipt_MASQUERADE 1560 0 (autoclean) > iptable_nat 19832 5 [ip_nat_tftp ip_nat_irc ip_nat_amanda ipt_MASQUERADE ip_nat_ftp] > ip_tables 12832 8 [ipt_MASQUERADE ipt_LOG ipt_multiport ipt_state iptable_filter iptable_nat] > ip_conntrack 22216 6 [ip_nat_tftp ip_nat_irc ip_nat_amanda ip_conntrack_tftp ip_conntrack_irc ip_conntrack_amanda ipt_MASQUERADE ipt_state ip_nat_ftp ip > > Has anyone else had a problem with masquerading and 2.4.22? > Any suggestions of what to look for? > > -- > Chris Bare > [EMAIL PROTECTED] > > -- > [EMAIL PROTECTED] mailing list > > > -- [EMAIL PROTECTED] mailing list