24.7.7-amd64
Is there a way to edit what items appear on the firewall widget?
It appears that the widget is limited to 10 items and the firewall rules that I added don't appear.
Additionally, some items appear on the list with a color box but with a missing label. Is there a way to fill in the label?
The JavaScript code for the "Lobby > Firewall" widget (and other widgets) is located in the following directory:
/usr/local/opnsense/www/js/widgets
In Firewall.js, there are a few things you can change including the length of the top table entries and the threshold when the Firewall Widget transitions between a Pie Chart and a Table.
I was able to change the Cpu.js and the Traffic.js widgets to increase the duration of the X-axis to plot a longer duration history.
Since JavaScript is interpreted, you don't need to recompile it.
Code at your own risk.