public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: netfilter/iptables bug ?
Date: Wed, 2 Apr 2003 00:44:46 +0200	[thread overview]
Message-ID: <20030401224446.GA4349@werewolf.able.es> (raw)

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))

             reply	other threads:[~2003-04-01 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 22:44 J.A. Magallon [this message]
2003-04-01 22:51 ` netfilter/iptables bug ? Martin Josefsson
2003-04-01 22:53   ` J.A. Magallon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030401224446.GA4349@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox