Linux Netfilter discussions
 help / color / mirror / Atom feed
* z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above.
@ 2002-10-22 19:20 Juliano Dapper
  2002-10-22 22:32 ` Cedric Blancher
  0 siblings, 1 reply; 3+ messages in thread
From: Juliano Dapper @ 2002-10-22 19:20 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 930 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above.
  2002-10-22 19:20 z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above Juliano Dapper
@ 2002-10-22 22:32 ` Cedric Blancher
  2002-10-23 14:14   ` z-newnat16 - Implementation of the new nat API for kernel2.4.19-pre4 " Martijn Lievaart
  0 siblings, 1 reply; 3+ messages in thread
From: Cedric Blancher @ 2002-10-22 22:32 UTC (permalink / raw)
  To: Juliano Dapper; +Cc: netfilter

Le mar 22/10/2002 à 21:20, Juliano Dapper a écrit :
> 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               destination         
    0     0 MASQUERADE  all  --  any    eth0    anywhere             anywhere

Is iptable_nat.o module loaded (if built as module) ?
  
-- 
Cédric Blancher  <blancher@cartel-securite.fr>
Consultant en sécurité des systèmes et réseaux  - Cartel Sécurité
Tél: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE  FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: z-newnat16 - Implementation of the new nat API for  kernel2.4.19-pre4 and above.
  2002-10-22 22:32 ` Cedric Blancher
@ 2002-10-23 14:14   ` Martijn Lievaart
  0 siblings, 0 replies; 3+ messages in thread
From: Martijn Lievaart @ 2002-10-23 14:14 UTC (permalink / raw)
  To: Juliano Dapper, netfilter

Cedric Blancher zei:

> Le mar 22/10/2002 à 21:20, Juliano Dapper a écrit :
>> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-23 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 19:20 z-newnat16 - Implementation of the new nat API for kernel 2.4.19-pre4 and above Juliano Dapper
2002-10-22 22:32 ` Cedric Blancher
2002-10-23 14:14   ` z-newnat16 - Implementation of the new nat API for kernel2.4.19-pre4 " Martijn Lievaart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox