Community discussions

MikroTik App
 
User avatar
lgomes
just joined
Topic Author
Posts: 2
Joined: Tue Jun 08, 2021 2:33 pm
Location: Brazil

How to rename and delete a firewall address list not used? [SOLVED]

Tue Jun 08, 2021 2:47 pm

Hello everyone!
I need to rename or delete some lists that I no longer use on the firewall but I can't, can anyone help me?

I'm using the following commands in the terminal:
/ip firewall address-list set [find list="old-name"] list="new-name"
/ip firewall address-list remove [find list="name"]
Commands only work if the list is active on the tab.
But for example: if I give the delete command, the list is deleted from the tab and not from the memory lists. Same thing happens when I try to rename, it just creates another list.
Last edited by lgomes on Tue Jun 08, 2021 7:16 pm, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11968
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to rename and delete a firewall address list not used?

Tue Jun 08, 2021 6:26 pm

[SOLVED]

The address-list is still in memory until you delete any firewall rules that have that address-list on src or dst, ALSO ON THE PAST, or select and save another list in the dst or src field.
You can not simply set blank dst or src address-list on firewall rules, are still memoized internally.

Solution:
save another list in the dst or src field of firewall rules
 
User avatar
lgomes
just joined
Topic Author
Posts: 2
Joined: Tue Jun 08, 2021 2:33 pm
Location: Brazil

Re: How to rename and delete a firewall address list not used?

Tue Jun 08, 2021 7:15 pm

[SOLVED]

The address-list is still in memory until you delete any firewall rules that have that address-list on src or dst, ALSO ON THE PAST, or select and save another list in the dst or src field.
You can not simply set blank dst or src address-list on firewall rules, are still memoized internally.

Solution:
save another list in the dst or src field of firewall rules
Wow... that was it! Thank you very much friend!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11968
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to rename and delete a firewall address list not used? [SOLVED]

Tue Jun 08, 2021 7:33 pm

Very very thanks!

Who is online

Users browsing this forum: ItchyAnkle, JDF, RobertsN and 73 guests