[Shorewall-users] iptables: Invalid argument

Joshua Banks
Wed, 10 Sep 2003 01:32:59 -0000

Hmmm, I''m totally curious now.. :p

-j, --jump target
This  specifies  the  target  of  the  rule; i.e., what to do if the packet
matches it.  The
target can be a user-defined chain(other than the one this rule is in), one of
the special builtin
targets which decide the fate of the packet immediately, or an extension  (see
EXTENSIONS
below). If this  option is omitted in a rule, then matching the rule will have
no effect on the
packet''s fate, but the counters on the rule will be incremented.

The above doesn''t really do anything for me. Again I don''t
know iptables this is why I have
Shorewall.. :) It does everything for me.. Heeee. He....


What version of iptables are you using: "iptables --version" from the
command line?

What was the specific command that you gave initially to get your trace info for
ppp. I will do
the same on my end and compare?

Thanks,
JBanks
--- Phil Tomson <ptkwt@aracnet.com> wrote:
>
>
> 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
>
> _______________________________________________
> Shorewall-users mailing list
> Post: Shorewall-users@lists.shorewall.net
> Subscribe/Unsubscribe:
http://lists.shorewall.net/mailman/listinfo/shorewall-users
> Support: http://www.shorewall.net/support.htm
> FAQ: http://www.shorewall.net/FAQ.htm

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software