All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Det Buaklee" <det@dss.go.th>
To: netfilter@lists.netfilter.org
Subject: iptables: invalid arguement with kernel 2.6.5
Date: Tue, 4 May 2004 18:00:40 +0700	[thread overview]
Message-ID: <002e01c431c7$09cfe910$440997cb@GINA> (raw)

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Hi
 
I am very new in configuring iptables with bridge software. I want to do
a transparent proxy with iptables and squid and running a firewall
bridge on the squid box. I have upgraded my kernel to 2.6.5 (to get the
firewall-bridge) and I have already tried compiled iptables 1.2.9 with
the kernel src directory. My problem is when I tried something like 
 
/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
 
Any help or pointer to some documents would be much appreciated. 
 
Det Buaklee

[-- Attachment #2: Type: text/html, Size: 7981 bytes --]

             reply	other threads:[~2004-05-04 11:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04 11:00 Det Buaklee [this message]
2004-05-04 11:31 ` iptables: invalid arguement with kernel 2.6.5 Angel
2004-05-04 11:33 ` Antony Stone
2004-05-04 12:13   ` Det Buaklee
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='002e01c431c7$09cfe910$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 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.