PDA

View Full Version : Blocking MAC Addresses


R Audano
April 6th, 2006, 12:45 PM
Hello,
I am currently running a gateway router on Ubuntu 5.10, and want to block MAC addresses by default and allow only selected ones. I tried static ip's but had no luck.

I am currently using firestarter.

I made an attempt to figure out firewall builder, but had no luck because of my in-ability to find current manuals.

Can anybody help me?

Thanks
Robert

nagilum
April 6th, 2006, 01:53 PM
AFAIK firestarter does not allow filtering based on MAC addresses. You can use iptables directly to match packets based on their MAC address (see the manpage for more information). There are also some good tutorials on the iptables homepage (http://www.netfilter.org).
MACs can be faked though, you better don't rely on this mechanism alone to protect your network.