[Shorewall-users] iptables: Invalid argument

Kevin Smith
Wed, 10 Sep 2003 11:08:43 -0000

Have you tried Shorewall clear and iptables -F <chain> just to make sure
there are no rules that may be affecting it?




Message: 1
Date: Wed, 10 Sep 2003 01:11:25 -0700 (PDT)
From: Phil Tomson <ptkwt@aracnet.com>
Subject: Re: [Shorewall-users] iptables: Invalid argument
To: Shorewall Users Mailing List <shorewall-users@lists.shorewall.net>
Message-ID:
	<Pine.LNX.4.44.0309100107520.28842-100000@onyx.spiritone.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Wed, 10 Sep 2003, Joshua Banks wrote:

> Hard to say without any experience picking apart iptables data.
I''m
surprised no one has answered
> this yet. Phil it looks as though you''ve given all the correct
info. If
this isn''t working then I
> would uninstall this and reinstall. You have a setup similar to mine.
Really doesn''t get any
> easier than the way you have this setup. So a simple unistall reinstall is
a very simple work
> around for now. Thats if you need this working ASP.
>
> Wish I could''ve been more helpful. The only thing that I was
thinking is
that there was possibly
> some whitespace detected when you edited a file...Thats just a guess..
>
> JBanks


I just tried the uninstall-reinstall idea.  Problem still exists.

The offending iptables command is this (from the trace):
iptables -t nat -A ppp0_masq -s 255.255.255.255/32 -d 0.0.0.0/0 -j
MASQUERADE


The part that is the invalid argument is the ''-j MASQUERADE''.
If I issue
the command:

iptables -t nat -A ppp0_masq -s 255.255.255.255/32 -d 0.0.0.0/0

without the -j option there''s no complaint, so that''s how
I''m coming to
that conclusion...

Phil


------------------------------