Per-device network control for OpenWrt and GL.iNet routers

Control your network, your way.

LanClearance lives inside your router's LuCI pages. Each device gets its own speed cap, allowed or blocked sites, admin access and a list of the local devices it may reach. Save a set of those as a settings profile, switch profiles on a schedule, and let a USB drive put the whole router back the way you want it. I use it at home. It runs a shop, a small office or a classroom just as well, in as much detail as you want.

No cloud account, no subscription, no app. It all runs on the router and stays there.

Per device, by MAC or IP
192.168.8.1 · Services › LanClearance
The LanClearance Devices tab inside LuCI, listing devices with their speed limit, allowlists, blocklists, local access and admin access
Runs in LuCI, nothing to host
  • Every device gets its own speed cap, or no internet at all
  • Allow or block sites by domain, with online lists that refresh daily
  • Each device sees only the local devices you choose
  • Settings switch on a weekly schedule
  • Admin pages open to wired and approved devices only
  • Wi-Fi names, passwords and rules rotate from USB backups
Why it exists

One rule for everybody was the problem I kept hitting.

Most routers give you one setting for everybody: one filter, one speed, one Wi-Fi password that everyone knows, and every device able to see every other. I spent over a year trying to get around that with standard router settings before I wrote this. It didn't work. So LanClearance puts five controls on each device, lets you bundle them into profiles and schedules, and adds a restore schedule that can change anything a backup can change. It assumes the people on your network are clever (mine are), and that the router has to hold the line even after someone resets it.

01

Five settings per device

Speed limit, allowlists, blocklists, local access and admin access, set on each device by MAC address, or by IP address or range when you turn that on. A device you haven't listed gets the safe defaults the second it connects.

02

Profiles, groups and schedules

Save the five settings as a named settings profile and give it to any number of devices. Make device groups such as "Printers" or "Living room TV" so a device reaches exactly those and nothing else. Add a schedule and the switch happens by itself: homework hours, after hours, bedtime.

03

It puts itself back, and it can rotate

A scheduled restore puts router backups back from a USB drive at the times you pick. Keep a few that differ in Wi-Fi name, password or anything else a backup holds, and the router swaps between them. The drive also keeps copies of the LanClearance settings, so last week's rules are one click away.

Who it's for

A shop, a school and a house run on the same eleven tabs.

What changes is which devices you list, which profiles and groups you make, what the schedules switch and what the restore schedule rotates. That's it. 200 worked examples are at the bottom of the page.

Small business

Offices, shops and restaurants

Staff, guests and contractors share one router without seeing each other. The card terminal reaches its payment provider and nothing else. Staff laptops point at the Printers group; management devices point at the file server. After closing, a schedule tightens everything, and the guest Wi-Fi password changes every Monday from a backup on the USB drive.

Organizations

Schools, libraries, halls and clubs

Lesson modes switch by timetable: Research at nine, Exercises at ten, Exam on Thursday afternoon. Catalogue terminals and donation tablets get a short allowlist. A loaner laptop is one MAC address and a profile choice. Whoever has the key that week opens LuCI from the wired port and changes nothing else.

Home

Parental controls that fit each child

A person profile per child, a Homework settings profile on school afternoons and No internet at bedtime, all by schedule. The tablets can cast to the living-room TV and can't see the NAS or the router pages. Smart plugs talk to their vendor at sensor speed and to nothing in the house.

Eleven tabs, one Services menu entry

Everything is a tab in LuCI.

Pick a tab on the left to see the page. Most are screenshots from my test router; the three newest tabs are drawn to match until their screenshots are in.

    Services › LanClearance › Devices
    LanClearance Devices tab

    Routine changes without touching the router

    Set it up once. Let the week run it.

    Three tabs turn one-off settings into a routine: settings profiles name a set of rules, device groups name who may be reached, and schedules decide when each applies.

    Settings Profiles

    One name for five settings

    "Staff", "Guest", "Homework", "Night": each is a speed limit, allowlists, blocklists, local access and admin access under one name. Choose it under Settings for any device or person profile. Change the profile and everything using it changes. Switch a device back to Own settings and the values it had before are still there.

    Device Groups

    Reach the printer, see nothing else

    Local access is None, All, or a group. A device pointed at the "Printers" group reaches the printers, and they reach it back, and that's the whole list. A group can hold devices from your lists, a typed MAC address, or an IP address, range or subnet. Delete a group and its users fall back to None.

    Schedules

    Day and night on the same device

    Give a device "Day" under Settings, then add a 21:00–07:00 schedule that switches it to "Night" with No internet. Pick the days or leave them empty for every day; a range that ends earlier than it starts runs overnight. When two schedules overlap, the higher one wins. A check every two minutes catches a switch the router missed while it was off.

    There's no "for two hours" button, and I'd say that's a good thing. A hand change, such as giving a technician's laptop admin access, stays until you change it back. If a change should end on its own, give it a schedule with fixed days and times.

    Interactive demo

    Change the settings. Watch what each device can do.

    A working model of the Devices, Settings Profiles, Schedules and Device Groups tabs, with a small office on it. Edit any device, flip a schedule, move the clock, then use the panel on the right to see what a device can reach and how fast. The rules are the ones the package applies. Nothing here touches a real router.

    Network:

    Devices

    DeviceSettingsSpeed limitAllowlistBlocklistLocal accessAdmin

    Own settings shows five editable fields. A settings profile, or a schedule that's running now, fills them in instead. Devices that aren't in the list follow the defaults. A wired device is anything plugged into a LAN port.

    Settings profiles

    NameSpeed limitAllowlistBlocklistLocal accessAdminUsed by

    Schedules

    OnNameApplies toSwitch toDaysFrom–To

    Outside a schedule's times the device goes back to what its Settings column says. Move the clock at the top to see the switch.

    Device groups

    NameDevices in the groupPointed at by

    Try it as a device

    Download
    Upload

    Out of the box

    Safe before you touch a setting.

    The device you install from is approved for admin access automatically, so you can't lock yourself out. Everything else starts restricted.

    • ↓
      Every device is capped. The built-in Standard preset is 1 MB/s down, 0.5 MB/s up. Change it, or make the default Unlimited and cap only the devices you choose. No internet is a choice too.
    • ⌂
      Admin pages are closed to Wi-Fi. Router pages, SSH, the modem and AdGuard Home answer only to wired devices and the devices you approve.
    • ◌
      Devices can't see each other. Internet, DNS and the router still work. Local access is None until you set it to All or to a device group such as "Printers".
    • ≡
      Individual settings beat profiles. Put devices in a person profile, then override one setting on one device without leaving the profile. A schedule for the device itself beats both.
    Services › LanClearance › Status
    LanClearance Status tab with the health check summary and live firewall status
    Services › LanClearance › Scheduled Restore
    LanClearance Scheduled Restore tab with restore times, days, upcoming restores and the USB backup list
    Scheduled restore and USB copies

    Anything a backup can change, the router can rotate.

    Upload a few router backups to a USB drive from the LuCI page. Each one can differ in anything a backup holds: Wi-Fi name and password, guest network, firewall settings, DNS. Pick when restores happen and which backup each one uses, and the router swaps between them on its own. The schedule and the backups live on the drive, so restoring a backup can't switch the schedule off.

    1. Make a backup in System → Backup / Flash Firmware, once your settings are the way you want them.
    2. Upload it on the Scheduled Restore tab. The file is checked and saved to the USB drive under the right name.
    3. Pick times and days. List order, a custom sequence, a random pick, or a fixed backup per weekday. The page shows the next ten restores.
    4. Keep your device rules through it. "Keep LanClearance settings" is on by default, so a restore changes the router and leaves your devices, profiles and schedules as they are. Turn it off and the rules inside each backup come back too.
    5. Keep settings copies on the drive. Turn on "Save LanClearance settings to the USB drive" and a copy is saved after every change and before every restore, newest 30 of each kept. Put any copy back without a reboot. A restore cut short by a power failure is repaired at the next boot from the copy saved just before it.

    Before every scheduled restore a diagnostics file is saved to the drive, and the health check compares the settings inside each backup with the live ones and names what differs.

    Compatibility

    Will it run on my router?

    LanClearance runs on any router with OpenWrt 21.02 or newer and the LuCI web interface, including GL.iNet routers on their 4.x firmware. Nothing in it is compiled, so the CPU doesn't matter. Pick your router below and you'll get the file name you need.

    GL.iNet routers show their model and firmware version at the top of the GL admin panel. The firmware version decides the base: 4.x MediaTek models are on OpenWrt 21.02; "-op24" firmware is OpenWrt 24.10.

    Choose a router to see which build to install.

    Or let the router answer

    If you can open an SSH session, paste this in. It reads the OpenWrt version, firewall type, package manager, LuCI, dnsmasq-full, free flash space and flow offloading, then prints the exact file to install. It changes nothing.

    Paste into an SSH session on the router

    Download check.sh for the fuller report shown on the right.

    What it prints

    Router: (your router's model name) OpenWrt base: 21.02.7 Firewall: fw3 Package manager: opkg LuCI: installed dnsmasq-full: yes (allowlists and blocklists work) Free flash: 80708 KB Flow offloading: off RESULT: compatible. Install LanClearance_<version>_all.ipk (LuCI: System > Software > Upload Package)
    RouterFirmwareOpenWrt baseInstall this fileNotes

    GL.iNet bases come from GL.iNet's published firmware table (September 2026). Flow offloading (GL calls it "Network Acceleration") has to be off for limits and lists to apply, and the health check tells you if it's on.

    Install

    Three clicks in LuCI. No SSH on most routers.

    STEP 1

    Update lists

    LuCI → System → Software → Update lists…, so the router can fetch the firewall modules LanClearance needs.

    STEP 2

    Upload the package

    Upload Package…, choose the file the checker gave you, Install. Dependencies download automatically.

    STEP 3

    Open Services → LanClearance

    Limits, admin protection and local network privacy are already on. The device you installed from is approved. Add devices, profiles, groups and schedules on their tabs.

    OpenWrt 25.12 and newer: LuCI's upload button only takes packages signed with a key the router already trusts, so the .apk build goes in with one SSH command instead: apk add --allow-untrusted /tmp/LanClearance_<version>_fw4.apk. After that it shows up in LuCI like any other package and you can remove it from System → Software.
    Allowlists need dnsmasq-full, the DNS variant that can tag addresses by domain. GL.iNet firmware ships it. On plain OpenWrt the Status tab tells you whether it's there. Speed limits, blocklists, admin protection, local access, schedules and scheduled restores work without it.
    What was tested

    Three OpenWrt generations, the same test set.

    I installed every build on a virtual router running that OpenWrt release, opened and used every LuCI page, checked the firewall rules after a reload and a reboot, ran the scripted cases below and ran the built-in health check to the end. The compatibility command on this page ran on the same three routers.

    3
    OpenWrt bases: 21.02 (fw3), 24.10 (fw4) and 25.12 (fw4 + apk)
    256
    scripted cases across profiles, schedules, device groups, list reading, IPv6 and discovery, all passed
    0
    problems from the built-in health check on every test router after install
    109
    domains in the ready-made Smart Devices allowlist, grouped by vendor and editable in LuCI
    Questions

    Things people ask me.

    Is this only for parents?
    Parental controls are one use. The same per-device rules, profiles, groups and schedules run office, shop and classroom Wi-Fi, keep payment terminals and smart devices on their own domains, and keep a router in a known-good state by putting a backup back on a schedule. The use-case library below starts with the business side.
    Can a device see just the printer and nothing else?
    Yes. Make a device group containing the printer on the Device Groups tab and choose it as that device's Local access. It reaches the printer, the printer reaches it back, and no other device is visible to it. Put the group in a settings profile and every device using the profile gets the same reach.
    Can settings change by themselves at certain times?
    Yes, with the Schedules tab. A schedule switches a device or a person profile to a settings profile on chosen days between two times, overnight ranges included. Outside the times it goes back to its own Settings. The Status tab shows which schedules are running and which settings profile each device is on right now.
    Can I use published blocklists?
    Yes. Each allowlist and blocklist has an Online lists field for the addresses of .txt files. Hosts files, AdGuard rules and dnsmasq lines are read, and your own @@ exceptions apply on top. Files are refreshed every day at 04:37; if a download fails, the last copy stays in use and the Status tab shows why.
    Does it replace my router's own parental controls or AdGuard Home?
    It sits next to them. The health check looks at AdGuard Home and GL.iNet Parental Control and tells you whether DNS requests still pass through LanClearance's lists. Connection marks use their own bits, so GL's content filter and LanClearance don't collide.
    What happens to a brand-new device that joins the Wi-Fi?
    It gets the defaults right away: the default speed cap, no allowlist or blocklist, no admin access and Local access None. You only add a device to the list when it needs something different.
    What about phones with private Wi-Fi addresses?
    List the address the phone uses on your network, shown on the router's clients page; a fixed private address stays the same for that network. Or turn on "Also identify devices by IP address", reserve the phone's address in DHCP and list it by IP. A listed MAC address always wins over an IP entry, and whole ranges such as a guest pool can be one entry.
    Will it slow my router down?
    The rules are ordinary firewall rules in the router's own tables, and the speed limiter counts packets per device. Nothing is proxied. Hardware or software flow offloading has to be off, because offloaded traffic skips the speed limits. GL.iNet calls this "Network Acceleration". The health check warns you if it's on.
    Does it survive a factory reset or firmware upgrade?
    Your settings are part of the normal router backup, so restoring a backup brings them back. The program itself is a package. After a factory reset or a firmware flash, install the package again and the restored settings take effect. If the package is still installed, scheduled restores from the USB drive do exactly this for you, and the settings copies on the drive hold every version of your rules.
    Is my data sent anywhere?
    There's no account, no telemetry and no cloud piece. The only outbound requests are the ones your router makes to download packages from the OpenWrt feeds during install, and the online lists you choose to add.
    Can I remove it cleanly?
    System → Software → Installed → luci-app-lanclearance → Remove. The firewall rules and tables it added come down with it.
    My router isn't in the table.
    If it runs OpenWrt 21.02 or newer with LuCI, use the OpenWrt version rule in the checker. Not sure what it runs? The SSH check command gives you a definite answer in about a second.
    Use cases

    200 situations, and how to set each one up.

    Every entry names the situation and the LanClearance controls that handle it. Business and organization use comes first, home and family after. Search for your own, or filter by the control you're curious about.

    Get it

    One purchase. Every build.

    • fw3 build for GL.iNet 4.x and OpenWrt 21.02
    • fw4 build for OpenWrt 22.03–24.10 and GL op24
    • apk build for OpenWrt 25.12 and newer
    • Install and uninstall scripts for SSH users
    • Full written guide, version-free
    • Built-in Smart Devices allowlist (109 domains)

    Run the compatibility check before you buy. If it says "not compatible", don't buy it. The install would fail on a missing package and change nothing.