Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
23.1.7 - Aliases issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: 23.1.7 - Aliases issue (Read 1493 times)
santi.benejam
Newbie
Posts: 18
Karma: 1
23.1.7 - Aliases issue
«
on:
September 12, 2023, 03:29:16 pm »
Our firewall is on 23.1.7 version. Yesterday I created a Host(s) alias OriginalAlias with one IP for testing. I created then some rules to deny connections from this IP. Today I renamed OriginalAlias to RenamedAlias then I deleted the firewall rules.
Now in Firewall: Diagnostics: Aliases I can see listed both aliases OriginalAlias and RenamedAlias. I have to restart something?.
Listing the /var/db/aliastables folder I can see in it both alias *.txt files. In a config backup file there is only the RenamedAlias.
I read in the forum that I can use /usr/local/opnsense/scripts/filter/update_tables.py to renew the /var/db/aliastables folder content. It's safe to run this command?
I'm planning to upgrade the firewall Thursday to the latest version and I don't want to have problems with a configuration error during the update.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: 23.1.7 - Aliases issue
«
Reply #1 on:
September 13, 2023, 07:05:24 pm »
although this will not affect the update in any way, i think you can
Code:
[Select]
pfctl -t OriginalAlias -Tkill
and then
Code:
[Select]
/usr/local/opnsense/scripts/filter/update_tables.py
to cleanup
Logged
santi.benejam
Newbie
Posts: 18
Karma: 1
Re: 23.1.7 - Aliases issue
«
Reply #2 on:
September 14, 2023, 11:54:42 am »
I will try this solution as soon as I can.
Thanks
Logged
santi.benejam
Newbie
Posts: 18
Karma: 1
Re: 23.1.7 - Aliases issue
«
Reply #3 on:
September 19, 2023, 10:05:23 am »
This morning I upgraded to 23.1.11 and all went fine. The deleted/renamed aliases are not present now without doing nothing special. After the upgrade and rebooted the firewall all is working as expected.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
23.1.7 - Aliases issue