Have you noticed your neighbor's smartphone connecting to your Wi-Fi without permission? Or is your child spending too much time playing online games while ignoring homework? Perhaps a suspicious device has appeared on your network, wasting bandwidth and slowing down your internet. In any of these situations, it's helpful to know how Block Wi-Fi access for a specific gadget — forever or for a certain period.
In this article, we will look at all the working methods to limit the connection to your wireless network: from standard router functions to advanced methods using MAC addresses and static binding IPYou will learn how to do this on popular router models (TP-Link, ASUS, Keenetic, MikroTik), as well as the pitfalls that can arise when blocking. Important: Some methods only work for devices that have already connected to your network at least once.
If you've never accessed your router's admin panel before, don't worry. We'll provide step-by-step instructions with images and explanations of each setting. And for experienced users, we've prepared advanced settings that will help you block even devices that disguise their identity. MAC address.
1. How to find the MAC address of the device you want to block
Before blocking a gadget, you need to know its unique identifier - MAC address (also known as the physical address). This set of 12 characters (numbers and letters from A to F) is assigned to each network device at the factory. It cannot be changed programmatically (although some advanced users manage to change it using special utilities).
There are three ways to find out MAC address target device:
- 📱 On the device itself (if you have access to it):
- On Android:
Settings → About phone → General information → Wi-Fi MAC address - On iPhone/iPad:
Settings → General → About → Wi-Fi Address - On Windows: run the command
ipconfig /allVCommand lineand find the line "Physical Address" - 🖥️ In the list of connected devices of the router (the most convenient method if the gadget was already on your network):
- Log into your router's admin panel (usually at
192.168.0.1or192.168.1.1) - Find a section like
DHCP → Client ListorWireless Network → Connected Devices - Copy MAC address the desired device (it can be displayed in the format
00:1A:2B:3C:4D:5Eor00-1A-2B-3C-4D-5E) - 🔍 Through specialized applications (if the device is hidden):
- Utilities like Wireshark or Fing (For Android/iOS) scan the network and show all connected gadgets with their MAC- And IP addresses
⚠️ Warning: Some devices (especially smart speakers, cameras, or IoT gadgets) may use random MAC addresses to protect privacy. In this case, blocking by MAC If it doesn't work, you'll have to use other methods from this article.
2. MAC address blocking: a universal method for all routers
The most reliable way to permanently block a device from connecting to your Wi-Fi is to add it MAC address V blacklist (aka MAC Filter or Access Control). This method works on 99% of routers, including TP-Link, ASUS, D-Link, Zyxel Keenetic And MikroTik.
Instructions for most models:
- Open your router's admin panel (usually at
192.168.0.1or192.168.1.1). The default login and password can be found on the sticker on the back of the device (usuallyadmin/admin). - Find the section
Wireless network(orWi-Fi), then submenuMAC address filter(may be calledAccess Control,MAC Filtering). - Activate filtering by selecting the mode
Blacklist(BlacklistorDeny). - Add MAC address device to be blocked. Input format:
00:1A:2B:3C:4D:5E(no spaces, separators can be:or-). - Save the settings and reboot the router (optional, but recommended).
Example of interface on TP-Link:
| Parameter | Meaning | Explanation |
|---|---|---|
| Filtering mode | Blacklist (Deny) | Prevents connections to devices from the list |
| MAC address | 00:1A:2B:3C:4D:5E | Target device address |
| State | Enabled | Activates filtration |
| Apply to | 2.4 GHz and 5 GHz | Selects the Wi-Fi bands to which the rule applies. |
⚠️ Warning: If you use guest network on the router, blocking by MAC may not apply to it. Check the settings separately for the main and guest networks.
Make sure filtering is enabled|The MAC address is entered correctly (no extra characters)|The router settings are saved|The router is rebooted (recommended)|Try connecting from a blocked device (the status "Authentication failed" should appear)
-->
3. IP Blocking: An Alternative for Complex Cases
If the blocking is due to MAC address didn't work (for example, the device is replacing it), you can try to block access by IP addressThis method is less reliable because IP may change with each new connection (if the router is enabled DHCP). However, in pair with IP to MAC binding it becomes effective.
How to lock a device IP:
- Find out the current IP address target device (can be viewed in the router's client list or via the command
arp -aon the computer). - Go to the router settings section
Local area network(LAN) →DHCP. - Find the option
Address reservation(Address Reservation) and bind the current one IP devices to his MAC address. This will prevent changes. IP when reconnecting. - Now go to the section
Firewall(Firewall) orAccess controland add a blocking rule for this IP.
Example rule for ASUS RT-AX88U:
Source: 192.168.1.100 (IP of the blocked device)Purpose: ANY
Protocol: ANY
Action: DROP
This method is especially useful if you don't want to completely block your device, but only access to certain websites or services (for example, social networks or online games). In this case, you specify only ports or domains in the firewall rule, not all traffic (for example, 443 For HTTPS).
4. Parental control: temporary blocking by schedule
If you don't need to permanently block access, but only restrict it for a certain time (for example, at night or during school hours), use the function parental control (Parental Control). It is available on almost all modern routers and allows you to:
- ⏰ Block internet access according to a schedule (for example, from 10:00 PM to 7:00 AM)
- 🌐 Block specific websites or categories (social networks, games, video hosting sites)
- 📱 Limit internet speed for individual devices
How to set up parental controls using an example Keenetic:
- Go to
Apps and Games → Parental Controls. - Add a new rule by selecting a device from the list or typing it in MAC/IP manually.
- Set restrictions:
- Access time: for example,
Mon-Fri 18:00–20:00, Sat-Sun 12:00–14:00 - Blocked sites: Add domains separated by commas (e.g.
vk.com, youtube.com, twitch.tv)
- Access time: for example,
On routers MikroTik (with firmware) RouterOS) parental control is configured through IP → Firewall → Layer7 Protocol or Queue Trees to limit the speed. This is a more complex process, requiring knowledge of network protocols.
⚠️ Please note: Some smart devices (such as TVs) Samsung or prefixes Xiaomi) can bypass parental controls through the built-in VPN or DNS serversIn this case, additionally block the change DNS in the router settings.
5. Hiding a Wi-Fi Network: A Radical Method for Advanced Users
If you want to completely hide your network from prying eyes (including a locked device), you can disable SSID broadcastingIn this case, your Wi-Fi will not be displayed in the list of available networks, and you can only connect to it manually, knowing the exact name (SSID) and password.
How to hide a network:
- Go to the router settings section
Wireless network(Wi-Fi). - Find the option
Hide SSID(Hide SSID,Enable Hidden Wireless) and activate it. - Save the settings. Your network will then disappear from the list of available Wi-Fi networks on all devices.
- To connect to a hidden network, you need to manually create a new Wi-Fi profile on your device with the following information: SSID and password.
- ❌ Inconvenience for legitimate users (you will have to enter the network name manually)
- ❌ Some devices (such as smart bulbs or cameras) cannot connect to hidden networks
- ❌ An experienced user can still find your network using a scanner (for example, Wireshark)
- 🔒 Completely isolate a blocked device from your main network
- 📡 Limit his speed or access to certain resources
- 🛡️ Prevent interaction with other devices on the local network
Disadvantages of this method:
Hiding SSID It is best to use it in combination with other blocking methods (for example, with MAC filter). This way you will get double protection: the network will be invisible to outsiders, and even if someone finds it, they will not be able to connect due to blocking by MAC.
How to connect to a hidden network on different devices
Android: Settings → Wi-Fi → Add network → Enter the SSID and password.
iPhone: Settings → Wi-Fi → Other network → Specify the network name and security settings.
Windows: Control Panel → Network and Internet → Manage wireless networks → Add → Enter data manually.
Smart devices (IoT): many gadgets (for example, Xiaomi or Tuya) do not support connecting to hidden networks. Check the documentation before setting up.
6. Advanced Methods: VLAN and Separate Network for Blocked Devices
If you are using a professional router (for example, MikroTik, Ubiquiti or PFSense), you can go further and create separate virtual network (VLAN) for unwanted devices. This method allows you to:
Example setup for MikroTik:
- Create a new one
VLANVInterfaces → VLAN(For example,VLAN10for blocked devices). - Set up
DHCP serverfor this VLAN, selecting a separate range IP addresses (For example,192.168.10.100–192.168.10.200). - Add a rule to
Firewall, which will redirect the blocked device's traffic to VLAN10:
/ip firewall filter add chain=forward src-mac-address=00:1A:2B:3C:4D:5E action=mark-connection new-connection-mark=blocked_vlan passthrough=yes/ip firewall mangle add chain=prerouting connection-mark=blocked_vlan action=mark-routing new-routing-mark=to_vlan10 passthrough=yes
/ip route add dst-address=0.0.0.0/0 gateway=192.168.10.1 routing-mark=to_vlan10
In this configuration, the blocked device will connect to the network but will be placed in an isolated segment without access to the internet or other devices. This method requires advanced networking knowledge and is only suitable for experienced users.
⚠️ Warning: Incorrect setting VLAN This may result in loss of access to the router or disconnection of all devices from the internet. Before experimenting, back up your configuration!
7. What to do if the device bypasses the lock
Sometimes, even after all the settings have been completed, a blocked device continues to connect to Wi-Fi. This can happen for several reasons:
| Problem | Cause | Solution |
|---|---|---|
| The device connects despite the MAC filter | MAC address spoofing | Use IP blocking + MAC to IP binding in DHCP |
| Blocking does not work on all ranges | Settings apply to 2.4 GHz only | Check your 5GHz and guest network settings |
| The device is connected via another router (repeater) | There are additional access points on the network | Set up blocking on all routers and repeaters |
| The lock is reset after a reboot. | Router settings not saved | Check that the settings are applied (button Save/Apply) |
If the device uses VPN or Tor, router-level blocking may not work. In this case:
- 🔌 Disable access to alternatives DNS servers (set up forced use DNS router)
- 🚫 Block the ports used VPN (For example,
1194For OpenVPN,443For WireGuard) - 📵 Completely disconnect the device from the network physically (if possible)
If the blocked device is a smartphone or tablet, its owner can bypass the restrictions by resetting the network settings or changing the MAC address through the engineering menu. In this case, the only reliable way is to change the Wi-Fi password and not share it with the unwanted user.
8. Additional security measures: how to protect Wi-Fi from unwanted connections
To avoid constantly blocking new devices, it's best to protect your network from unauthorized access in advance. Here are some tips:
- 🔐 Use a complex Wi-Fi password (at least 12 characters, with numbers, letters, and special characters). Avoid obvious combinations like
12345678orqwerty. - 🔄 Change your password regularly (every 3-6 months). This is especially important if you have guests.
- 📡 Turn off
WPS(Wi-Fi Protected Setup) - this protocol is vulnerable to brute-force attacks. - 🛡️ Turn on
WPA3instead ofWPA2(if your router supports it). This is a new encryption standard that is harder to crack. - 👀 Periodically check the list of connected devices in the router control panel. Unfamiliar MAC addresses — a reason to be wary.
- 🌐 Set up
DNS filtering(for example, through Cloudflare Family or OpenDNS) to block malicious sites at the network level.
If you suspect your Wi-Fi has been hacked, immediately:
- Change the password for your router and Wi-Fi.
- Update your router firmware to the latest version (vulnerabilities are often fixed in new releases).
- Check your settings
DMZAndPort Forwarding— they could have been modified for remote access.
⚠️ Attention: If a device with MAC address, starting with00:0C:29,00:50:56or00:1C:14, this could be a virtual machine or emulator. Such devices are often used for network testing, but they can also indicate a hacking attempt.
Frequently Asked Questions
Is it possible to block a device that has never connected to my Wi-Fi?
No, unless the device has connected to your network at least once, you don't know it MAC address and you can't add it to the blacklist. In this case, the only way is to hide it. SSID or change your Wi-Fi password.
Will a locked device consume data?
If the lock is configured correctly (by MAC or IP At the router level, the device won't be able to connect to the network and, therefore, won't consume any data. However, if it connects through another device (for example, a smartphone sharing the internet), the data will still be consumed.
How do I block a device on a router from a provider (for example, Rostelecom or MTS)?
Routers from ISPs often have limited settings. Try this:
- Log in
192.168.0.1or192.168.1.1(login/password is usually on a sticker). - Find a section
Wi-Fi → MAC Address Filter. - If there is no such section, contact your provider's support team—sometimes they can set up blocking remotely.
If nothing helps, buy your own router and connect it to the provider's network in mode bridge.
Is it possible to lock a device by name (eg "iPhone_X")?
No, blocking by device name (Hostname) does not work, since this name is assigned by the device itself and can be easily changed. Use only MAC address or IP.
What should I do if the internet stops working on all my devices after being blocked?
Most likely, you have configured your firewall rules incorrectly or VLAN. Try:
- Reset the router to factory settings (button
Reseton the back panel). - Check if you are blocked MAC address the router or gateway itself.
- Disable all filtering rules and add them one by one, checking the network functionality.