For now I almost ended till last part where i have error:error:expected end of command (line 1 column 33)
Any ideas?
Code:
#remove old visitors OK/queue simple remove [ find where parent="debian-server" ]#search for new visitors OK:local addrList {[/ip firewall address-list find where list="web-server-visitors"]:local addrCount [:len $addrList]}:for i from=0 to=($addrCount-1) do={ :local addrItem [:pick $addrList $i]}:local ipAddress [/ip firewall address-list get $addrItem address] :local queueName ("queue-" . $ipAddress) #Creating new queue simple for visitors BAD/queue simple add dst=$ipAddress/32 max-limit=10M/10M name=$queueName parent=debian-server queue=ethernet-default/ethernet-default target=$ipAddress/32
Any ideas?
Statistics: Posted by bax2 — Sat Jan 06, 2024 12:35 pm