Linux Netfilter discussions
 help / color / mirror / Atom feed
From: varun_saa@vsnl.net
To: netfilter@lists.netfilter.org
Subject: IP + MAC filter -  wireless client
Date: Thu, 05 May 2005 10:58:53 +0500	[thread overview]
Message-ID: <cae754caa373.caa373cae754@vsnl.net> (raw)

Hello,
     My server is on Mandriva 10.1
eth0 is WAN with static IP connected to 512K DSL
eth1 is LAN - 192.168.0.0/24 and 192.168.21.0/24

I want to use IP + MAC filtering to allow/deny
clients acces to net as follows.

A FORWARD -i eth1 -o eth0 -s 192.168.0.5 \
-m mac --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT

How do you handle a client connected to the LAN
via wireless. In such a case there will be more
than one MAC address in the route.

Can you have multiple MAC in one rule or it is better
to have multiple rule for the same IP for each MAC.

Thanks in advance

Varun



             reply	other threads:[~2005-05-05  5:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05  5:58 varun_saa [this message]
2005-05-05  8:10 ` IP + MAC filter - wireless client Taylor, Grant
     [not found] <d2c267d2bde2.d2bde2d2c267@vsnl.net>
2005-05-05 16:24 ` Taylor, Grant

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=cae754caa373.caa373cae754@vsnl.net \
    --to=varun_saa@vsnl.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