Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Angel <a.alvarez@uah.es>
To: netfilter@lists.netfilter.org
Subject: Re: iptables: invalid arguement with kernel 2.6.5
Date: Tue, 4 May 2004 13:31:29 +0200	[thread overview]
Message-ID: <200405041331.29315.a.alvarez@uah.es> (raw)
In-Reply-To: <002e01c431c7$09cfe910$440997cb@GINA>

on the mangle table? 
i think it should be on the nat table?

El Martes, 4 de Mayo de 2004 13:00, Det Buaklee escribi칩:
> 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

-- 
--------------------------------------------------------
Angel J. Alvarez Miguel
Secci칩n de Sistemas, Servicio de Explotaci칩n
Servicios Informaticos, Universidad de Alcal치
Tfno: +34 91 885 47 04, Fax: +34 91 885 51 11
--------------------------------------------------------


  reply	other threads:[~2004-05-04 11:31 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 [this message]
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=200405041331.29315.a.alvarez@uah.es \
    --to=a.alvarez@uah.es \
    --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