All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krystian <optimusprime@o2.pl>
To: Det Buaklee <det@dss.go.th>
Cc: netfilter@lists.netfilter.org
Subject: Re: iptables: invalid arguement with kernel 2.6.5
Date: Tue, 04 May 2004 13:43:35 +0200	[thread overview]
Message-ID: <409781E7.5060301@o2.pl> (raw)
In-Reply-To: <002e01c431c7$09cfe910$440997cb@GINA>

Det Buaklee wrote:

> 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
>
bad table "mangle". try using diffrent for example nat.


  parent reply	other threads:[~2004-05-04 11:43 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
2004-05-04 11:43 ` Krystian [this message]
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=409781E7.5060301@o2.pl \
    --to=optimusprime@o2.pl \
    --cc=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.