Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-23-2006, 10:29 AM   #1
Registered: Jan 2004
Location: NJ
Posts: 33

Rep: Reputation: 15
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.
Old 04-25-2006, 11:17 AM   #2
Registered: Jan 2004
Location: NJ
Posts: 33

Original Poster
Rep: Reputation: 15
I fixed this one. It's a bug in the new kernel. It works fine with 2.6.8.


iptables, mark

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 09:20 PM
LXer: Spam Filters Mangle Christmas Cards LXer Syndicated Linux News 0 12-09-2005 09:46 PM
Filtering in iptables mangle? MarleyGPN Linux - Networking 1 07-08-2005 02:54 PM
iptables problem shailesh_jain Linux - Security 2 05-25-2004 08:42 AM
iptables problem? poulaum Linux - Networking 12 02-27-2003 04:57 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration