Is there any way to determine my current ssh or web session in /user active?
I.e. I want to run script which adds my local machine (from which I connect to Mikrotik) ip address to specific address-list.
Something like:
Code: Select all
/ip firewall address-list
add list=FreeInternet address=[/user active get [find name=freeinternet] address] timeout=600s
Is there any way to autoexecute script when certain user logs in? Without a schedule inspecting /user active