Community discussions

MikroTik App
 
peeterlv
just joined
Topic Author
Posts: 4
Joined: Sat Jun 19, 2010 12:35 pm

Port forwarding with mac filter

Sat Jun 19, 2010 12:45 pm

hello. I would like to forward port 80 for example, but to deny from all mac address except in my list. I know how to forward port and in nat rules ==> advanced there is s source mac adress, but how can i enter there more than one?
 
peeterlv
just joined
Topic Author
Posts: 4
Joined: Sat Jun 19, 2010 12:35 pm

Re: Port forwarding with mac filter

Tue Jun 22, 2010 1:17 pm

is this possible?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Port forwarding with mac filter

Tue Jun 22, 2010 4:51 pm

You cannot enter more than one. You can jump into a chain that has one rule per MAC address with an action of drop. Any other packet will fall through to the bottom and return to the calling rule.
 
peeterlv
just joined
Topic Author
Posts: 4
Joined: Sat Jun 19, 2010 12:35 pm

Re: Port forwarding with mac filter

Tue Jun 22, 2010 5:07 pm

Thanks for your reply
will it be correct if i create new nat rule with the same dst and source ip and port for each mac address?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Port forwarding with mac filter

Tue Jun 22, 2010 5:30 pm

Sorry, I read that wrong - I thought you wanted to deny specific MAC addresses. Yes, you'll have to make one NAT rule per MAC address.
 
tricer
newbie
Posts: 48
Joined: Tue May 25, 2010 9:49 pm
Location: Maryland, USA

Re: Port forwarding with mac filter

Tue Jun 22, 2010 6:52 pm

also to use mac address based rules the devices all have to be on the same layer 2 network

Who is online

Users browsing this forum: boneitis, GoogleOther [Bot] and 16 guests