Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19003 - ip masquerade stopped working after update world
Summary: ip masquerade stopped working after update world
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-08 17:24 UTC by mats pettersson
Modified: 2003-04-10 01:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mats pettersson 2003-04-08 17:24:34 UTC
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"
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-09 01:34:10 UTC
emerge sync 
emerge -C iptables 
emerge iptables 
 
Let me know if the masq works after that. 
 
Jay 
Comment 2 mats pettersson 2003-04-09 04:57:04 UTC
yes it solved my problem. 
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-10 01:40:47 UTC
Glad to hear this fixed it. Bug closed.