hey i need a solution to block inbound traffic to a firewall server from the inside network basing on the source MAC for windows OS, or linux in case their is something can run a linux app on windows
and please don't tell me their is other solution ,i know their is but i need this one.
is it possible?
P.S please let me know if i didn't explain it well.
block traffic basing on MAC
block traffic basing on MAC
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
Re: block traffic basing on MAC
hm, on a Linux system it's no problem to set up iptables rules for MAC filtering.
in this example you would allow access only from 2 MAC addresses and deny access from all others:
in this example you would allow access only from 2 MAC addresses and deny access from all others:
Code: Select all
iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j ACCEPT
iptables -A INPUT -m mac --mac-source 00:0F:AA:61:02:01 -j ACCEPT
iptables -A INPUT -j DROP