From: Marek Kierdelewicz <marek@piasta.pl>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: netfilter@vger.kernel.org
Subject: Re: using iptables with tun/tap interfaces? no rule sees tun/tap interface traffic
Date: Sun, 29 Aug 2010 14:21:46 +0200 [thread overview]
Message-ID: <20100829142146.5c8119ed@catus> (raw)
In-Reply-To: <4C7A4972.4020304@wpkg.org>
Hi,
>Using 2.6.35 kernel.
>Should I use ebtables for this? iptables seem more flexible here.
Iptables should work great. Try matching interface with
physdev-in/physdev-out instead of -i/-o as described here:
http://bwachter.lart.info/linux/bridges.html
If it doesn't help try using ip address matching rules to narrow down
the problem and see if you get any hits.
I hope you're using kernel bridge for bridging. I don't think you'll be
able to filter traffic bridged with userspace tools like vde.
Best regards,
Marek
next prev parent reply other threads:[~2010-08-29 12:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 11:03 using iptables with tun/tap interfaces? no rule sees tun/tap interface traffic Tomasz Chmielewski
2010-08-29 11:15 ` Marek Kierdelewicz
2010-08-29 11:50 ` Tomasz Chmielewski
2010-08-29 12:21 ` Marek Kierdelewicz [this message]
2010-08-29 12:38 ` Tomasz Chmielewski
2010-08-29 15:01 ` Pascal Hambourg
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=20100829142146.5c8119ed@catus \
--to=marek@piasta.pl \
--cc=mangoo@wpkg.org \
--cc=netfilter@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.