Community discussions

MikroTik App
 
raktim
Member Candidate
Member Candidate
Topic Author
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

MAC address block for pppoe clients

Sat Jul 11, 2009 2:35 pm

i want to block MAC address for pppoe clients. i m using V3.13.

// chain=forward action=drop src-mac-address=00:21:27:C6:3B:8C Not working...


Any idea???

thnxs,
raktim
 
galaxynet
Long time Member
Long time Member
Posts: 646
Joined: Fri Dec 17, 2004 2:52 pm
Contact:

Re: MAC address block for pppoe clients

Mon Jul 13, 2009 4:55 pm

raktim -

First - upgrade to ROS 3.24, and be sure to upgrade the firmware as well after the ROS upgrade.

Second, try dropping them in the pre-routing chain instead of the forward chain.


R/
 
raktim
Member Candidate
Member Candidate
Topic Author
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: MAC address block for pppoe clients

Wed Jul 15, 2009 1:28 pm

1. how can i sure that firmware is upgraded??? & what is the way to upgrade the firmware in x86 machine???

2. There is no prerouting option in filter rules. Do i need mark the connection first in Mangle???

thnxs,
raktim
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: MAC address block for pppoe clients

Wed Jul 15, 2009 2:26 pm

there's no RouterBOARD firmware on x86 =)

if you want completely block PPPoE client of your router - do it in 'input' chain, not 'forward'
 
raktim
Member Candidate
Member Candidate
Topic Author
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: MAC address block for pppoe clients

Wed Jul 22, 2009 3:30 pm

mac-block.JPG
Not working, still logged in from this MAC.

Flags: X - disabled, I - invalid, D - dynamic
0 ;;; test
chain=input action=drop src-mac-address=00:21:27:C6:3B:8C
You do not have the required permissions to view the files attached to this post.
Last edited by raktim on Wed Jul 22, 2009 3:53 pm, edited 2 times in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: MAC address block for pppoe clients

Wed Jul 22, 2009 3:33 pm

pppoe is layer2, ip firewall can block only layer3.

To block layer2 traffic you can use bridge filters.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: MAC address block for pppoe clients

Wed Jul 22, 2009 5:02 pm

oops... really =)

Who is online

Users browsing this forum: Bing [Bot], johnson73, kehrlein, MatoZ and 94 guests