OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: knack on December 08, 2023, 03:13:12 AM

Title: Networks Aliases not work
Post by: knack on December 08, 2023, 03:13:12 AM
Hi.

Firewall rule with network aliases seems not block ips, i can still  reach.


      IPv4 *    *    *    ExplitcitIPBAN     *    *    *       ExplitBanIps LAN

Adding a specific ip instead of aliases work

OPNsense 23.7.9-amd64
FreeBSD 13.2-RELEASE-p5
OpenSSL 1.1.1w
Title: Re: Networks Aliases not work
Post by: Seimus on December 08, 2023, 09:54:47 AM
Did you purge your state table after implementing or re-positioned your rule in the rule table?
Can you show your Alias config?

Regards,
S.
Title: Re: Networks Aliases not work
Post by: knack on December 08, 2023, 12:10:02 PM
I have  Statistics enabled.

I disable and now works
Title: Re: Networks Aliases not work
Post by: Patrick M. Hausen on December 08, 2023, 12:12:11 PM
"State table", not "statistics".
Title: Re: Networks Aliases not work
Post by: knack on December 08, 2023, 06:50:12 PM
yes.

but i disable Statistic and now works

edit: well seems work few hours ago but now  still ignore the filter

Yes i reset stale. Anyway i testing with ping.

My alias is basic for test, type network and ips X.X.X.X/XX

edit2: well added another ip+reset and works again, will check in few hours or tomorrow if still works