fbpx

Is mac filtering possible in MikroTik?

Currently MikroTik allows you to use the firewall option in the bridge, this will allow you to manage layer 2 protocol connections.

It is possible to perform MAC filtering on MikroTik devices. MAC (Media Access Control) address filtering is a network security technique that allows network administrators to specify which devices are allowed (or denied) access to the network based on their unique MAC address.

In the context of MikroTik RouterOS, the operating system that runs on MikroTik devices, there are several ways to implement MAC filtering, depending on the context of use (such as in Wi-Fi networks, Ethernet accesses, etc.).

For wireless networks:

  1. Access to the Wireless Interface: You can configure MAC filtering directly on the wireless interface to control access to a Wi-Fi network. This is done by creating an “Access List” or a “MAC Address List” where you specify the allowed or blocked MAC addresses.
  2. Using Bridge Filters: If devices are connected via a bridge, you can use Bridge Filters to allow or deny traffic based on MAC addresses.

For Ethernet networks:

  1. Using Switch Chip Features: For MikroTik devices that use a switch chip, you can use the features of the switch chip to implement MAC filtering on specific Ethernet ports.
  2. Filtering in the Firewall: You can also configure rules in the RouterOS firewall to filter traffic based on MAC addresses, which can apply to both wireless and Ethernet interfaces.

How to configure MAC filtering on a Wi-Fi network (Basic Example):

To add a MAC address to the access list and allow it to connect, you can use the following commands in the RouterOS terminal:

/interface wireless access-list add mac-address=XX:XX:XX:XX:XX:XX interface=all allow-signal-out-of-range=10s

Where XX:XX:XX:XX:XX:XX is the MAC address you want to allow. The option allow-signal-out-of-range=10s This is useful for devices that may not always be in range but that you don't want to block permanently.

To deny access to a specific MAC address, you simply configure the corresponding entry in the access list but without adding it to an allow list or explicitly specifying the deny.

It is important to note that MAC filtering can be a complementary security method, but should not be the only security method used, as MAC addresses can be spoofed by an attacker with the right knowledge and tools.

Combining MAC filtering with other security measures, such as WPA2/WPA3 encryption for Wi-Fi networks, can provide an additional layer of security.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011