-   Linux - Networking (
-   -   iptables mangle problem (

posixjunkie 04-23-2006 09:29 AM

iptables mangle problem
I'm trying to apply the fwmark to for route2.

iptables -A PREROUTING -i eth0 -t mangle -p tcp
-j MARK --set-mark 1
MARK: Only supports 32bit wide mark
iptables: Invalid argument
I tried --set-mark 0x1 and 0x01.
What am i doing wrong?

I'm running debian sarge, kernel 2.6.16.

posixjunkie 04-25-2006 10:17 AM

I fixed this one. It's a bug in the new kernel. It works fine with 2.6.8.

All times are GMT -5. The time now is 09:08 PM.