LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables mangle problem (http://www.linuxquestions.org/questions/linux-networking-3/iptables-mangle-problem-438005/)

posixjunkie 04-23-2006 09:29 AM

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

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.
thanks

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 06:50 PM.