Community discussions

MikroTik App
 
usmans
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Sun Aug 29, 2010 11:54 pm

block client by mac address

Fri Jan 21, 2011 11:03 pm

how to block pppoe client by mac address?
if i use this rule it drops all clients
chain=forward action=drop src-mac-address=!00:1A:F2:EA:86:50
 
andrescamino
Member Candidate
Member Candidate
Posts: 198
Joined: Wed Aug 19, 2009 7:07 pm
Location: Guayaquil-Ecuador

Re: block client by mac address

Sat Jan 22, 2011 12:10 am

if i use this rule it drops all clients
chain=forward action=drop src-mac-address=!00:1A:F2:EA:86:50
Do you want to drop everysingle mac address that is not 00:1A:F2:EA:86:50 ?? which is what src-mac-address=!00:1A:F2:EA:86:50 means

Are you putting that rule in the filter tab of IP Firewall or bridge??

the filter tab in BRIDGE options?? there is a filter you can use layer2, you just have to add the physical interface as a port of the bridge and apply a filter rule to it...there is the src-mac-address option....
 
usmans
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Sun Aug 29, 2010 11:54 pm

Re: block client by mac address

Sat Jan 22, 2011 9:46 am

Do you want to drop everysingle mac address that is not 00:1A:F2:EA:86:50 ?? which is what src-mac-address=!00:1A:F2:EA:86:50 means

Are you putting that rule in the filter tab of IP Firewall or bridge??

the filter tab in BRIDGE options?? there is a filter you can use layer2, you just have to add the physical interface as a port of the bridge and apply a filter rule to it...there is the src-mac-address option....
00:1A:F2:EA:86:50 this is my client mac address which i want to block
chain=forward action=drop src-mac-address=!00:1A:F2:EA:86:50
i put this rule in firewall filter......
plzzz post pictures....
thanks in advance....
 
jtroybailey
Member Candidate
Member Candidate
Posts: 176
Joined: Thu Oct 07, 2010 10:24 am
Location: Brisbane, Australia

Re: block client by mac address

Sat Jan 22, 2011 10:25 am

having the ! means block everything but what is written after it. so by doing

chain=forward action=drop src-mac-address=!00:1A:F2:EA:86:50

you are blocking all the clients except the one with mac 00:1A:F2:EA:86:50

Who is online

Users browsing this forum: No registered users and 17 guests