All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yans van Horn" <yans@majora.net>
To: lartc@vger.kernel.org
Subject: [LARTC] IMQ
Date: Mon, 24 Mar 2003 00:24:20 +0000	[thread overview]
Message-ID: <marc-lartc-104846555916104@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103416668719285@msgid-missing>

Hello

I have a server with a dsl connection on eth1 and local interface eth0.
Because of the NAT i cannot direct traffic to IMQ device in PREROUTING chain
but have to use INPUT and FORWARD. So i use rules.

iptables -t mangle -A INPUT -i eth1 -j IMQ --todev 0
iptables -t mangle -A FORWARD -i eth1 -j IMQ --todev 0

And now the strange thing: FORWARD traffic gets directed nicely to the IMQ,
but INPUT *doesn't* !

To be just sure i removed "FORWARD" line and left only the "INPUT" (other
mangle rules were removed)

Chain INPUT (policy ACCEPT 3511 packets, 2753307 bytes)
    pkts      bytes target     prot opt in     out     source
destination
     343   439847 IMQ        all  --  eth1   any     anywhere
anywhere           IMQ: todev 0

But when i check IMQ0 using ifconfig:

imq0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

i see there is no traffic going through this device!

Anyone knows how can it be possible ?

--
best regards,
Marcin 'Yans' Bazarnik
yans@majora.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-03-24  0:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 12:42 [LARTC] IMQ Arindam Haldar
2002-10-09 17:47 ` Tomasz Wrona
2002-10-10  3:57 ` Arindam Haldar
2002-10-10  4:40 ` Alexey Talikov
2002-10-10  6:33 ` Arindam Haldar
2002-11-26 10:02 ` Rimas
2002-11-26 12:22 ` Stef Coene
2002-12-02 17:30 ` Aaron Clausen
2002-12-02 18:14 ` Alexey Sheshka
2003-03-24  0:24 ` Yans van Horn [this message]
2003-03-25 10:12 ` David Watson
2005-07-27  6:36 ` Dariusz Dwornikowski
2005-07-27  7:47 ` Dariusz Dwornikowski
2005-07-27  8:49 ` Dariusz Dwornikowski
2005-07-27  9:37 ` Dariusz Dwornikowski
2005-07-27 11:07 ` Dariusz Dwornikowski
  -- strict thread matches above, loose matches on Subject: below --
2005-07-27  6:53 Andreas Unterkircher
2005-07-27  8:01 ` Andreas Unterkircher
2005-07-27  8:59 ` Andreas Unterkircher
2005-07-27  9:44 ` Andreas Unterkircher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104846555916104@msgid-missing \
    --to=yans@majora.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.