Community discussions

just joined
Topic Author
Posts: 3
Joined: Thu Sep 27, 2018 6:35 pm

help me to add more than 1 ip

Sun Sep 30, 2018 5:03 pm

0 Lan
1 Lan
2 Lan
3 Lan

:local sc
:foreach i in=[/ip firewall address-list list="lan"] do={
:set sc [/ip address get $i address]
:foreach ii in=[/user find] do={
:set sc [/user get $ii name]
/user set $ii address="$1"
question, how to add more than 1 ip from adress list to address user

Who is online

Users browsing this forum: No registered users and 8 guests