From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Juliano Dapper" Subject: z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above. Date: Tue, 22 Oct 2002 17:20:57 -0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <000a01c27a00$26e18de0$3200a8c0@dualcon.com.br> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C279EF.625557A0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C279EF.625557A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I Have problems after compile kernel 2.4.19 with patch-o-matic20020825, = option z-newnat16. After compile and restart my linux box, i try insert basic rule: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE and result is: ARGUMENT INVALID My iptables is version 1.2.7a and kernel 2.4.19. Tkz. ------=_NextPart_000_0007_01C279EF.625557A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I Have problems after compile kernel = 2.4.19 with=20 patch-o-matic20020825, option z-newnat16.
After compile and restart my linux box, = i try=20 insert basic rule:
iptables -t nat -A POSTROUTING -o eth0 = -j=20 MASQUERADE and result is:
ARGUMENT INVALID
My iptables is version 1.2.7a and = kernel=20 2.4.19.
 
Tkz.
 
------=_NextPart_000_0007_01C279EF.625557A0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cedric Blancher Subject: Re: z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above. Date: 23 Oct 2002 00:32:28 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1035325948.10494.24.camel@elendil> References: <000a01c27a00$26e18de0$3200a8c0@dualcon.com.br> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <000a01c27a00$26e18de0$3200a8c0@dualcon.com.br> 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: Juliano Dapper Cc: netfilter@lists.netfilter.org Le mar 22/10/2002 =E0 21:20, Juliano Dapper a =E9crit : > I Have problems after compile kernel 2.4.19 with patch-o-matic20020825,= option z-newnat16. > After compile and restart my linux box, i try insert basic rule: > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE and result is: > ARGUMENT INVALID > My iptables is version 1.2.7a and kernel 2.4.19. Works fine on my box with z-newnat16 too : cbr@elendil:~$ sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE cbr@elendil:~$ sudo iptables -t nat -L POSTROUTING -v Chain POSTROUTING (policy ACCEPT 240 packets, 17859 bytes) pkts bytes target prot opt in out source desti= nation =20 0 0 MASQUERADE all -- any eth0 anywhere anyw= here Is iptable_nat.o module loaded (if built as module) ? =20 --=20 C=E9dric Blancher Consultant en s=E9curit=E9 des syst=E8mes et r=E9seaux - Cartel S=E9curi= t=E9 T=E9l: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99 PGP KeyID:157E98EE FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martijn Lievaart" Subject: Re: z-newnat16 - Implementation of the new nat API for kernel2.4.19-pre4 and above. Date: Wed, 23 Oct 2002 16:14:15 +0200 (CEST) Sender: netfilter-admin@lists.netfilter.org Message-ID: <11127.212.136.9.239.1035382455.squirrel@webmail.xs4all.nl> References: <000a01c27a00$26e18de0$3200a8c0@dualcon.com.br> <1035325948.10494.24.camel@elendil> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1035325948.10494.24.camel@elendil> 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: Juliano Dapper , netfilter@lists.netfilter.org Cedric Blancher zei: > Le mar 22/10/2002 =E0 21:20, Juliano Dapper a =E9crit : >> I Have problems after compile kernel 2.4.19 with patch-o-matic20020825= , >> option z-newnat16. >> After compile and restart my linux box, i try insert basic rule: >> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE and result is: >> ARGUMENT INVALID >> My iptables is version 1.2.7a and kernel 2.4.19. > I had the same problem. Turned out I did not compile the userspace tools against this new kernel. Doing so solved the problem. HTH, Martijn Lievaart