Re: iptables: invalid arguement with kernel 2.6.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Det,

On Tue, May 04, 2004 at 06:00:40PM +0700, Det Buaklee told us:
> 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

REDIRECT ist only valid in the nat table, not in mangle.


HTH

Sven

-- 
Linux zion 2.6.6-rc1 #1 Sat Apr 17 11:50:12 CEST 2004 i686 athlon i386 GNU/Linux
 13:57:45  up 13 days, 18:47,  1 user,  load average: 0.03, 0.04, 0.06

Attachment: pgp00865.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux