Filtering devices by MAC-Xiaomi routers are one of the most reliable ways to control access to your Wi-Fi network, unlike password protection, which can be compromised, binding to your Wi-Fi network. MAC It allows you to manually allow or block specific gadgets, from smartphones to smart light bulbs, but many users face problems: the router does not save the settings, the devices suddenly turn off, then after updating the firmware everything is reset. In this article, we will analyze all the current ways of setting up on Xiaomi Router models 4A/4C/4Q, AX1800, AX3000, AX6000 and others, and how to avoid common mistakes.
It's important to understand: binding MAC-Addresses are not a panacea for hacking, but an extra layer of protection. MAC (spoofing, but for most home networks, that's enough to prevent neighbors or random devices from connecting, and it's also useful for parental control, because you can only allow certain devices to be accessed during school hours or sleep hours.
We tested the instructions on the firmware MiWiFi ROM 2.0-3.6 and alternatives (Padavan, OpenWRT), so whether you're using standard or custom software, you'll find work solutions here. MAC β At the end of the article, there are workarounds.
What is it? MAC-address and why to register it in the router
MAC-Media Access Control is a unique network interface identifier that is assigned to a device during the manufacturing phase. IP, changeable, MAC It remains constant (unless you change it manually). For example, your Xiaomi Redmi Note 12 smartphone has one. MAC Wi-Fi, and the laptop - another.
Why do you need a binding?
- π Security: Only authorized devices will be able to connect to the network, even if someone knows the password.
- π¨βπ©βπ§βπ¦ Parental Controls: Restricting access for children at night.
- π‘ Network optimization: blocking βextraβ gadgets that overload the channel (for example, smart speakers of neighbors).
- π‘οΈ DDoS protection: preventing botnet devices (e.g., infected IoT gadgets) from connecting).
But there are also disadvantages: if you buy a new device (for example, Xiaomi Smart Band 8), it is a great choice. MAC It's not going to be allowed, and you're going to have to add it manually, and some providers are also linking the Internet channel to the Internet. MAC-router address β in this case, changing the address may result in the loss of the connection.
β οΈ Attention: Filtration MAC It does not replace Wi-Fi encryption (WPA2/WPA3). Always use a complex password along with the binding of addresses, otherwise the attacker can replace the password. MAC and connect to your network.
How do you know? MAC-binding-point
You need to get them before you can write addresses on a router, and the methods depend on the type of device:
On Android smartphones (Xiaomi, Redmi, POCO)
Open the Settings. β The phone. β General information β MAC-Wi-Fi address. On some models, the path may be different: β Wi-Fi β βοΈ Additionally. β MAC-address.
On iPhone/iPad
Go to Settings. β Wi-Fi β β near the connected network. MAC-The address will be indicated in the field Wi-Fi address.
Windows.
Start the command line (Win) + R β cmd and enter:
ipconfig /all | findstr "Physical address"For a Wi-Fi adapter, look for a line with Wireless Network.
On macOS
Open System settings β Network β Wi-Fi β Additionally. β Hardware address.
For smart devices (lamps, speakers, cameras)
MAC-The address is usually listed on a sticker on the case or in a mobile app (e.g. Mi Home for Xiaomi Smart Devices).If there is no sticker, try connecting the device to the router and view it. MAC In the list of connected customers (more on this below).
| Type of device | Where to see. MAC | Example of address |
|---|---|---|
| Xiaomi Smartphone | Settings β About the phone | A4:17:31:B2:F8:9D |
| Windows laptop | The ipconfig team /all | 00:1A:2B:3C:4D:5E |
| Yeelight smart lamp | Sticker on the case or in Mi Home | 78:11:DC:12:AB:45 |
| Game console PS5 | Settings β Network β Review of status | E0:3F:49:5A:B1:C2 |
Step-by-step instructions: how to prescribe MAC-address on Xiaomi router
Letβs look at the process on the example of standard firmware MiWiFi ROM (Most of the models are relevant: Xiaomi Router 4A, AX1800, AX3000 If you have an alternative firmware (e.g. Padavan), the instructions will be different - see the section below.
Step 1. Enter the Administrator Panel
Connect to the router network (via Wi-Fi or cable) and open the browser. Type in the address bar:
- 192.168.31.1 (standard) IP For most of Xiaomi routers)
- miwifi.com (alternative address)
If the page doesnβt open, check the connection or reset the router with the Reset button (hold 10 seconds).
Step 2: Authorization
Enter the login and password (often by default) admin/admin If you have changed the data and forgotten it, you will need a complete reset (see the warning below).
β οΈ Note: After resetting settings through Reset, all tied MAC-Addresses, Wi-Fi passwords and other settings will be lost. First try to restore access through the Mi WiFi app (if the router is linked to a Xiaomi account).
Step 3: Go to the filtering section MAC
In the control panel:
- Go to Additional Settings β Security β Filtration MAC.
- Activate the switch Include filtering MAC.
- Select a mode: π Whitelist: Allow connection to only specified devices. π« Blacklist: Block only specified devices.
Step 4: Addition MAC-address
In the input field, specify the addresses by comma or line transfer. Examples of format:
- With dividers: A4:17:31:B2:F8:9D
- No separators: A41731B2F89D
Xiaomi router automatically converts the format, but it is better to use the standard look with colons.
Added all necessary MAC-address|The correct mode (white/blacklist) is selected)|Wi-Fi password not reset (unless planned)|Internet connection stable (no breaks)-->
Step 5: Save and restart
Click Save and wait for the router to restart (1-2 minutes).
- Check the connection of the authorized devices.
- Make sure that locked devices cannot connect.
π‘
If you don't use the settings after saving, try updating the router's firmware or resetting it to factory settings. Sometimes software bugs interfere with the correct filtration work.
Setting up MAC-Filtering on alternative firmware (Padavan, OpenWRT)
If you're using custom firmware, the interface and the customization logic will be different. Let's look at two popular options:
Padavan firmware
Entrance to the panel: 192.168.1.1 (default login/password: admin/admin). Next:
- Go to the Wireless Network β Filter MAC-address.
- Select the mode: Allow (white list) or Prohibit (black list).
- Add addresses in format XX:XX:XX:XX:XX:XX.
- Save the settings and restart the router.
OpenWRT firmware
In OpenWRT, filtering is configured via the configuration file:
- Connect to the SSH (For example, through PuTTY).
- Open the file. /etc/config/wireless team: vi /etc/config/wireless
- Add a line with MAC-Addresses to the Wi-Fi section: option maclist 'A4:17:31:B2:F8:9D 00:1A:2B:3C:4D:5E'
- Specify the mode: option macfilter 'allow' (white list) or option macfilter 'deny' (black list).
- Save the file (:wq in vi) and restart the router: reboot
β οΈ Note: In OpenWRT, an error in the syntax of the wireless file can cause a loss of connection to the router. Before editing, back up with the cp command /etc/config/wireless /etc/config/wireless.bak.
Typical errors and their solutions
Even after the correct setup, filtering MAC It can work incorrectly. We'll look at the most common problems:
1. the devices are not connected, although they MAC whitelisted
Possible causes:
- π The router did not save the settings (try repeating the procedure).
- π‘ The device connects to the guest network (it has separate settings). MAC-filter).
- π§ In firmware bugs (update the software through System Tools) β Update).
2. MAC-address changed
Some devices (especially Android 10)+) randomize MAC To protect privacy, to shut it down:
- Nana Xiaomi/Redmi: Settings β Wi-Fi β βοΈ Additionally. β Private address (MAC) β Shut down.
- On iPhone: Settings β Wi-Fi β β β Private Wi-Fi address β Turn it off.
3.After the firmware update, the settings reset
This is a well-known problem of standard MiWiFi firmware ROM. Decisions:
- π Export settings before updating (System Tools) β Backup).
- π Use alternative firmware (e.g. Padavan) where settings are more stable.
4.Filtration is unstable (it blocks, then not)
The problem may be related to:
- πΆ Router overload (try to disable some devices).
- π Unstable power supply (use Xiaomiβs power supply, not a third-party power supply).
- π οΈ Conflict with other features (e.g. Band Steering in dual-band routers).
How to check if the router is actually blocking the device?
| Mistake. | Reason. | Decision |
|---|---|---|
| MAC persistence | Firmware bug | Update the software or reset the router |
| The device is connected despite the lock | Randomization MAC | Turn off the private address in the device settings |
| After resetting, the settings are reset. | Damaged flash memory | Re-flash the router or replace it with a new one |
| Filtration only works at 2.4 GHz. | Separate settings for 5 GHz | Set up. MAC-filter |
Bypasses if the router does not support MAC-filtering
Some budget models (e.g. Xiaomi Router) 4A Gigabit Edition in early firmware versions does not have a built-in filtering function MAC. In that case, it is possible:
1. Use parental control on a schedule
Xiaomi routers have a time limiting function:
- Go to Additional Settings β Parental control.
- Add the device to the MAC-address.
- Set a schedule (for example, lock from 23:00 to 7:00).
2. Set up filtration at level DHCP
You can tie it. IP-address MAC and block unwanted IP firewall:
- To the Local Network. β DHCP Add static anchorages.
- In safety β Firewall block ranges IP, off-list.
3. Install alternative firmware
Firmware like Padavan or OpenWRT supports advanced settings, including MAC-However, this requires technical skills and may not guarantee the safety of the filter.
4. Use a third-party router as an access point
Connect to the main router a second (such as TP-Link or Asus) that supports filtering MAC, And give out Wi-Fi through it.
π‘
If your Xiaomi router does not support MAC-filtering, a combination of parental control and binding IP ce MAC It will have a similar effect with minimal cost.
Security: Should we rely on only MAC-filtering
MAC-Filtering is a useful tool, but it's not a complete defense:
- π΅οΈββοΈ spoofing MAC: The attacker can change the address of his device to the authorized.
- π‘ Wi-Fi vulnerabilities: If password is weak, network can be hacked even with filtering MAC.
- π Discomfort: when you add a new device you will have to manually update the list.
Recommendations for enhancing safety:
- π Use it. WPA3 (or at least WPA2) with a complex password (at least 12 characters, with numbers and special signs).
- π Turn it off. WPS β It's a vulnerable protocol.
- π‘ Hide. SSID (But it's not a panacea - experienced users will find the network and so on).
- π Regularly update the router firmware.
- π‘οΈ Set up a guest network for low-trust devices (such as smart speakers).
Combine for maximum protection MAC-filtration with other methods:
- π VLAN: divide the network into virtual subnets (for example, for IoT devices and basic gadgets).
- π VPN On the router: all traffic will be encrypted.
- π Network Monitoring: Use apps like Fing or WiFi Guard to track connected devices.