Hello,
OK, so with ubus there’s a way to do it when it shows blocked IP addresses. Good to know, thanks.
Those other clearing options, including permanent blocking under Settings are OK and were not hard me to find.
But I still think you still did not get my previous post completely. My explanation was not perhaps good enough. So one more try, just for sake of completeness.
-
Once I got logged in “admin” account from another laptop next to me and found tat place from WebUI from where I was supposed to unblock blocked laptop IP. There was nothing to unblock. I did not see anything was blocked. Therefore there was no way me able to unblock it using WebUI.
-
I got it resolved finally turning on “Clean after reboot” and rebooted. But before I got that far, I did try many other commonly known & used means to solve this kind of WebUI issues.
-
So before falling back to reboot fixes it, I cleared cookies and restarted blocked laptop browser couple times but that didn’t work either. I tried from same laptop different browsers, which one I had never even logged in this router. But the other laptop had no issues logging me in “admin” user. All these browsers are commonly used up to date updated last available versions. And none had any browser addons (plugins) active while testing which could have caused issues.
Summary:
-
Both these laptops are using one same (management lan) a subnet which is physically behind a completely separate firewall device. That firewalls another interface towards RUTX50 is directly connected RUTX50 inside subnet and where WebUI access is allowed.
-
So that the laptops were not directly connected LAN and RUTX50 saw both coming from single that other firewall IP address.
-
One of them laptops was not able to login “admin” and the other was.
-
There was nothing showing under that System → Administration → Access Control → Security to unblock.
-
Only way I was able to solve was with reboot.
Thinking more about the cause and how to perhaps resolve same in future
It now appears to me that most likely reason for blocking this case was not to do with IP addresses at all, but it most likely was a WebUI & rpcd session with that client (laptop) getting screwed.
Because laptops were connected via another firewall which most likely mapped same local socket (port+ip) from each laptop towards RUTX50 it did not matter when I cleared laptop cookies, cache, restarted browser and tried multiple browsers. RUTX50 saw them coming towards HTTPS port from same socket which then had some trouble.
But if you have better theories, let me know.
Anyway, the “ubus -v list” reveals also other arguments (See below) which might be worth studying bit more, so I did 
‘ip_block’ @cbb6f549
“show”:{“type”:“String”,“blocked”:“Boolean”}
“push”:{“ip”:“String”,“destination_ip”:“String”,“port”:“String”,“proto”:“String”}
“unblock”:{“ip”:“String”,“destination_ip”:“String”,“port”:“String”}
“reload”:{}
“clear”:{}
“push_phone”:{“phone”:“String”}
“unblock_phone”:{“phone”:“String”}
“push_mac”:{“mac”:“String”,“interface”:“Array”}
“unblock_mac”:{“mac”:“String”,“interface”:“Array”}
“rebooted”:{}
There is only very brief wiki page[1] with not much help if another device or not being able to change IP address either. Which well happen with a company managed device where you don’t have admin rights or root access.
- Unblocking WebUI Access - Teltonika Networks Wiki
So a I decided to do short chat with Google AI, which gave me following explanation of those values.
If that is correct, valid information and gets approved by your R&D, how about adding this or at least some parts of that information to your wiki page?
---- cut ----
Teltonika ip_block ubus methods and arguments explained
The ip_block service is a proprietary Teltonika Networks security component (part of the RutOS brute-force prevention system). Below is a breakdown of the available methods and their expected JSON arguments based on the ubus -v list output.
| Method |
Description and Purpose |
reload |
Reloads the configuration from /etc/config/ip_block. Use this after modifying configuration parameters (such as lease times or retry counts) via UCI to apply changes without restarting the firewall or the device. |
clear |
Clears all dynamic IP blocks from memory instantly. Useful if multiple legitimate clients are locked out or for resetting the service state during troubleshooting. |
push |
Manually injects a dynamic firewall block based on specified criteria (ip, destination_ip, port, proto). Used to drop traffic from a specific source attempting to access a particular destination port/protocol. |
unblock |
Manually removes a dynamic block that was created either automatically by the system or via the push method for a specific IP, destination IP, and port. |
push_phone |
Used for SMS-based brute-force prevention (e.g., Modbus SMS gateway or SMS management). Temporarily blacklists a specific phone number (phone) after excessive unauthorized or failed interactions. |
unblock_phone |
Removes the specified phone number from the dynamic SMS blocklist. |
push_mac |
Blocks a device at the link layer (L2) based on its MAC address (mac) within specific network interfaces (interface, e.g., ["lan"]). This completely cuts off the device’s access to the router and the local network segment. |
unblock_mac |
Removes the link-layer block for the specified MAC address on the selected interfaces. |
rebooted |
An internal signal method called by the system (e.g., via procd init) during bootup. It triggers the initialization sequence and handles state persistence routines, such as purging the dynamic lists if the “Clean after reboot” option is enabled. |
CLI Usage Examples:
# Clear all dynamic blocks immediately
ubus call ip_block clear
# Manually block an IP for SSH (port 22) over TCP
ubus call ip_block push '{"ip":"192.168.1.50", "destination_ip":"192.168.1.1", "port":"22", "proto":"tcp"}'
# Manually block a device by MAC address on the LAN interface
ubus call ip_block push_mac '{"mac":"AA:BB:CC:DD:EE:FF", "interface":["lan"]}'
— cut —
And from which we can at least test if unblocking works without reboot, next time same happens again.
# 1. Clearing Teltonika router dynamic brute-force-blocking memory
ubus call ip_block clear
# 2. Restarting rpcd (this clears session WebUI tokens from memory)
/etc/init.d/rpcd restart
# 3. Reopen new session with browser trying login again
I wrote this reply mostly for your information that there might be something with the WebUI & rpcd logic blocking may happen later that your other users report seeing similar thing and if that ubus clearing an IP does not work.
Cheers,
riku