after emerge rsync; emerge --update world; on 030406 recompiled latest kernel 2.4.20-gentoo-r2 with iptables support and apropriate iptables modules including ipt_MASQUERADE rebooted and my nat routing stopped working investigated this some more and i get the following when i try to insert this simple MASQUERADE rule bash# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE it gives the following error code: iptables: Invalid argument current loaded modules root@ninja ninja # lsmod .... ipt_MASQUERADE 1144 0 iptable_nat 14104 0 [ipt_MASQUERADE] ip_conntrack 17888 1 [ipt_MASQUERADE iptable_nat] ip_tables 10976 4 [ipt_MASQUERADE iptable_nat] 3c59x 24720 1 eepro100 17780 1 mii 2096 0 [eepro100] root@ninja ninja # Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.linux.no" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif imlib jpeg kde libg++ mikmod mmx mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql gpm tcpd pam libwww ssl perl python motif X gtk -qt -gnome -alsa -opengl -opengl-update" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
emerge sync emerge -C iptables emerge iptables Let me know if the masq works after that. Jay
yes it solved my problem.
Glad to hear this fixed it. Bug closed.