From: Patrick McHardy <kaber@trash.net>
To: Dirk Morris <dmorris@metavize.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: -m physdev iptables: Invalid Argument
Date: Sat, 25 Oct 2003 02:40:50 +0200 [thread overview]
Message-ID: <3F99C692.90703@trash.net> (raw)
In-Reply-To: <3F99C340.2070202@metavize.com>
Dirk Morris wrote:
> I assume you mean "-m physdev"
>
> ~ # sudo /sbin/iptables -m physdev --physdev-in eth0 -t nat -A
> PREROUTING -p tcp --destination-port 7:7 -j REDIRECT --to-port
> 20257 iptables: Invalid
> argument
>
> Could you please just state the command you are using in a clear manner?
> (and a uname -a)
>
Yes I do. Just give the proper arguments to matches without òther
stuff in between (which means physdev arg to phydev match,
destination-port arg to tcp/udp protocol match, --to-port
arg to REDIRECT) and try again. If that doesn't work, try to find
out which of the matches doesn't work and if reordering
of matches+their arguments helps (I've seen matches only working
if they were last in command line).
Regards,
Patrick
next prev parent reply other threads:[~2003-10-25 0:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-24 18:13 -m physdev iptables: Invalid Argument Dirk Morris
2003-10-24 23:41 ` Patrick McHardy
2003-10-25 0:02 ` Dirk Morris
2003-10-25 0:12 ` Patrick McHardy
2003-10-25 0:26 ` Dirk Morris
2003-10-25 0:40 ` Patrick McHardy [this message]
2003-10-25 1:01 ` Dirk Morris
2003-10-25 9:21 ` Willy Tarreau
2003-10-25 9:38 ` Bart De Schuymer
2003-10-25 18:12 ` dmorris
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=3F99C692.90703@trash.net \
--to=kaber@trash.net \
--cc=dmorris@metavize.com \
--cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.