News: This forum is now permanently frozen.
Pages: [1]
Topic: Ban certain MAC addresses  (Read 2005 times)
« on: April 06, 2008, 12:49:55 »
ring.of.steel *
Posts: 1

Hi, is there any way to ban/blacklist certain mac addresses from a selected interface?

Thanks
« Reply #1 on: April 06, 2008, 22:24:06 »
ChainSaw
Guest

not that I know of.

CS...
« Reply #2 on: April 08, 2008, 00:55:05 »
egaille *
Posts: 6

There's maybe a way. Not the ultimate solution, but... This is the solution i know for dhcp users only... and naturally it only works for the LAN interface!

you need to use DHCP server, and its ability to affect a specific IP to a Mac-Adress.

1- Enable DHCP server.
2- Let the computer (you want to ban) get its dynamic IP.
3- In diagnostics > DHCP leases, locate the Mac Adress from the computer you want to ban.
4- Press the "+" aside, and give the targeted Mac-Adress a specific IP.
5- Got to Firewall Rules
6- Add a rule to block the IP you gave to the Mac-Adress.
7- You're done. It can't pass throught monowall anymore.

If the targeted Mac-Adress is not in dhcp, but has a fixed IP, then you can try to block this IP in the Firewall Rules, but it may change in times...

regards.
« Reply #3 on: July 22, 2008, 19:03:00 »
TBobes *
Posts: 5

There is actually a much easier way.  Just go into you monowall settings.  click on Captive Portal.  Set it up so there is no time out or anything like that.  Then just make a quick webpage to import that has no username or password box, then use a mac passthrough.  What happens is when a computer tries to access the network that isn't entered in through the mac pass through, they will autmatically be directed to the webpage you made, and they won't be able to access anything else.  When a computer that is allowed tries to access, they just instantly connect.  Hope this helps!!
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines