lkml.org 
[lkml]   [2003]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnetfilter/iptables bug ?
Hi all...

I'm trying to do NAT from a internal eth1 to external eth0 (connected
with a cable modem). Every doc I read says I should do:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

But I just keep getting:

iptables: Invalid argument

Kernel: 2.4.21-pre6 + -pre5-aa. iptables 1.2.7a.
Modules loaded:

ipt_state 1080 0 (unused)
iptable_mangle 2776 0 (autoclean) (unused)
ipt_MASQUERADE 2296 0 (autoclean)
iptable_nat 22136 0 (autoclean) [ipt_MASQUERADE]
ip_conntrack 26848 2 (autoclean) [ipt_state ipt_MASQUERADE iptable_nat]

Is anybody aware of any obscure bug ? What does fail ?
I have read reports, for example, of this same command working on
RH 7.2 and faling the same way on 7.3 (I use Mandrake 9.1).

Any idea would be appreciated. TIA.

--
J.A. Magallon <jamagallon@able.es> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.1 (Bamboo) for i586
Linux 2.4.21-pre6-jam1 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.027 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site