From: "Det Buaklee" <det@dss.go.th>
To: netfilter@lists.netfilter.org
Subject: RE: iptables: invalid arguement with kernel 2.6.5
Date: Tue, 4 May 2004 19:13:30 +0700 [thread overview]
Message-ID: <004d01c431d1$36b194b0$440997cb@GINA> (raw)
In-Reply-To: <200405041233.52018.Antony@Soft-Solutions.co.uk>
Thanks guys for pointing out, though I am still confused with the
different between -t nat and -t mangle (on the bridge, and I am not
doing NAT on my network what options should I use) .. I think am going
to read the man page more carefully..
DET
-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Antony Stone
Sent: Tuesday, May 04, 2004 6:34 PM
To: netfilter@lists.netfilter.org
Subject: Re: iptables: invalid arguement with kernel 2.6.5
On Tuesday 04 May 2004 12:00 pm, Det Buaklee wrote:
> /sbin/iptables -A PREROUTING -t mangle -i eth0 -p tcp --dport 80 -j
> REDIRECT --to-port 8080
>
> or
>
> /sbin/iptables -t mangle -A PREROUTING -m physdev --physdev-in eth0 -p
> tcp --dport 80 -j REDIRECT --to-port 8080
>
> and iptables just return
>
> iptables: invalid argument
REDIRECT should be done in the nat table, not the mangle table.
Antony.
--
Software development can be quick, high quality, or low cost.
The customer gets to pick any two out of three.
Please reply to the
list;
please don't
CC me.
next prev parent reply other threads:[~2004-05-04 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 11:00 iptables: invalid arguement with kernel 2.6.5 Det Buaklee
2004-05-04 11:31 ` Angel
2004-05-04 11:33 ` Antony Stone
2004-05-04 12:13 ` Det Buaklee [this message]
2004-05-04 11:43 ` Krystian
2004-05-04 11:58 ` Sven Schuster
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='004d01c431d1$36b194b0$440997cb@GINA' \
--to=det@dss.go.th \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox