[Shorewall-users] iptables: Invalid argument

Phil Tomson
Wed, 10 Sep 2003 01:13:34 -0000

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