Visit Jeremy's Blog.
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 12-06-2008, 01:05 AM   #1
Registered: Mar 2008
Posts: 56

Rep: Reputation: 16
ERROR: iptables + imq not work

I just patched the kernel 2.6.18 with imq, and built the latest iptables 1.4.2. Then I:

modprobe imq
ip link set imq0 up
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j IMQ --todev 0

Error occures:
iptables v1.4.2: Unknown arg `(null)'
Try `iptables -h' or 'iptables --help' for more information.

BTW. before I rebuilt the iptables, the error was:
iptables v1.4.1.1: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.

I am using debian.

What the problem is? Can anyone help?


Last edited by duyuyang; 12-06-2008 at 01:08 AM.
Old 12-06-2008, 01:42 AM   #2
Registered: Mar 2008
Posts: 56

Original Poster
Rep: Reputation: 16
Sorry for the mess.
Problem is solved.
I did not patch the iptables for imq.



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
Patch iptables with imq support in Ubuntu nw504 Linux - Networking 0 03-21-2007 05:24 AM
Stumped on IMQ problem rlh989 Linux - Networking 0 08-05-2005 03:49 PM
what is IMQ interface? blackzone Linux - Networking 1 12-31-2004 07:15 AM
help with imq device and iptables debloxie Linux - Networking 2 03-28-2004 07:08 AM
pls help!!! iptables patch for IMQ device target debloxie Linux - Networking 0 03-03-2004 05:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration