OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: IsaacFL on September 19, 2022, 06:47:12 PM

Title: I can't get the wildcard Alias type to work
Post by: IsaacFL on September 19, 2022, 06:47:12 PM
From the documentation, it states that you can create a wildcard alias. Example is 192.168.0.1/0.0.255.0.

When I try to create this as a network, I get an error as attached picture.

I am trying to create an Alias for Broadcast.  I use 10.23.x.x/16 for my internal networks, so I am trying to create a BROADCAST alias, using the wildcard 10.23.0.255/0.0.255.0 but this didn't work, and neither did the example from the documentation.

Is there a better way to create rules dealing with broadcasts?

Title: Re: I can't get the wildcard Alias type to work
Post by: Fright on September 19, 2022, 07:17:40 PM
Hi
looks like php8 joke again
can you try with

opnsense-patch -a kulikov-a 2a39912

please?
Title: Re: I can't get the wildcard Alias type to work
Post by: IsaacFL on September 19, 2022, 07:26:15 PM
This patch seemed to fix it.
Title: Re: I can't get the wildcard Alias type to work
Post by: Fright on September 19, 2022, 08:30:58 PM
thanks
https://github.com/opnsense/core/commit/6c82c417be0972da5c2da3180c734c4f7864ff9f
(thanks to @AdSchellevis)