Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Francesco Ciocchetti <primero@fastwebnet.it>
To: bend chen <boy2eye@263.net>
Cc: netfilter <netfilter@lists.netfilter.org>
Subject: Re: -m physdev
Date: Mon, 27 Jun 2005 11:46:12 +0200	[thread overview]
Message-ID: <42BFCAE4.9030001@fastwebnet.it> (raw)
In-Reply-To: <20050627091107.1F80F300E2@smtp.263.net>

bend chen wrote:

> hi,Francesco Ciocchetti
>
> thanks your help.
>
> i used -m physdev in my BRIDGE.
> but,did I must used -m physdev in FORWARD tables ?
>
> Can I use like these :
>
> iptables -A INPUT -m physdev --physdev-in eth0 -p tcp --dport 22 -j ACCEPT
> iptables -A OUTPUT -m physdev --physdev-out eth1 -p icmp -j DROP
>
>
>
> Thans


Sure that you can do it ... if you enabled Support for Netfilter on
Bridge devices in your kernel.

You can use physdev-in, physdev-out as you wuold use '-i' and '-o' .

Bye
P.


  reply	other threads:[~2005-06-27  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27  9:14 Re: -m physdev bend chen
2005-06-27  9:46 ` Francesco Ciocchetti [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-06-26  9:22 bend chen
2005-06-27  5:47 ` Francesco Ciocchetti

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=42BFCAE4.9030001@fastwebnet.it \
    --to=primero@fastwebnet.it \
    --cc=boy2eye@263.net \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox