From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik =?iso-8859-1?Q?Wikstr=F6m?= Subject: Re: MASQUERADE Date: Fri, 9 Jul 2004 12:35:13 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20040709103513.GA18894@itstud.chalmers.se> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1" To: netfilter@lists.netfilter.org On Fri, Jul 09, 2004 at 09:19:58AM +0530, Payal Rathod wrote: > Hi, > Is there any different way to do MASQUERADE in kernel 2.6.3-7 with > iptables v1.2.9? > I get, >=20 > # iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > iptables: Invalid argument >=20 > A quick look at the man page did not suggest anything. > Any ideas to what is missing? >=20 > With warm regards, > -Payal >=20 First of all I'd like to say that I'm in no way an expert but are you sure that you have the right stuff compiled in kernel or as modules? In 2.6.7 I had to select to compile MASQUERADE in the kernel, same thing with the mangle table if I remember correctly. -- Erik Wikstr=F6m