Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
[Solved] Network alias not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Network alias not working (Read 1776 times)
arnog
Newbie
Posts: 12
Karma: 1
[Solved] Network alias not working
«
on:
April 11, 2023, 11:13:50 am »
Hi all,
today we ran into the situation that a firewall rule didn't work. The rule uses a network alias called "localnetworks" for network 10.197.216.0/21 as destination. Traffic to this network should be rejected, but the rule never matched.
The configuration of the alias looked ok to me. The alias was enabled.
When looking at "Firewall" - "Diagnostics" - "Aliases" and choosing the alias "localnetworks" from the dropdown there is no entry in the table. The table is empty.
What fixed it for us: Disable the alias, click "Apply", enable the alias again, click "Apply". Now the table is the Diagnostic area is populated again and the rule matches.
So far, so good.
Now when I click "Flush" in the diagnostic area, the network "10.197.216.0/21" is removed from the table. After this, the table stays empty. Looking at the documentation, this table should be repopulated immediately (cf. the Warning at the end of this section
https://docs.opnsense.org/manual/aliases.html#hosts
).
Is this the expected behavior here, i.e. should the table be left empty? If so, clicking flush has serious implications regarding the firewall rules.
Thanks
Arno
«
Last Edit: April 12, 2023, 07:37:01 pm by arnog
»
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Network alias not working
«
Reply #1 on:
April 11, 2023, 01:26:56 pm »
Hi
is 23.1.5_2 installed
Quote
Is this the expected behavior here
don't think so. should be restored within 1 min imho
Logged
nzkiwi68
Full Member
Posts: 182
Karma: 20
Re: Network alias not working
«
Reply #2 on:
April 11, 2023, 11:35:19 pm »
There are issues with Aliases that have been fixed whereby the Aliases are empty exactly as you describe.
Please ensure you are running 23.1.5_4
Logged
arnog
Newbie
Posts: 12
Karma: 1
Re: Network alias not working
«
Reply #3 on:
April 12, 2023, 07:36:44 pm »
We were running OPNsense 23.1.5. I just updated to OPNsense 23.1.5_4 and now the alias seems to be restored shortly after clicking the flush button.
Thanks for the help! :-)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
[Solved] Network alias not working