Community discussions

MikroTik App
 
mikeson
just joined
Topic Author
Posts: 2
Joined: Thu Jul 13, 2017 2:45 pm

add leasess comment to addresslist

Fri Oct 19, 2018 9:07 pm

I Try.

when it locates the allocated IP address, something like lease_out *, it will automatically add blocked addresses

its possible ?
 :if ("." . [:find [/ip dhcp-server lease get $i comment] "lease_out"] . "."!="..") do={
    /ip firewall filter add address-list add address $i action=drop
  }
}

Who is online

Users browsing this forum: VirtualEvan and 52 guests