[Completed] Firewall rules with color tags - like in FWBuilder [Patch inside]
-
I will ask and try to find a way.
-
I can request payment via paypal. This works like an invoice.
If it's ok for your company, send me the email via private message .
-
Is the programming effort much bigger to color the whole rule?
Here is the screenshot with whole rule changed
-
Looks great :)
-
I'll send you the patches to apply using system patches package.
Do you need it to pfSense 2.2 only or 2.1 too?
-
For both would be great.
-
Color tagged rules is a nice touch for the GUI. Is this ever going to be made available in the mainstream version?
-
Yes, it is really nice :-) Works like a charm and you have a better overview, if you have a lot of rules to handle. I asked marcelloc if it is possible to make it available through the package manager, he is trying.
Big thanks to marcelloc for the good and fast work
-
Would you be able to share the patch in the meantime?
-
Sure … Sorry for the late reply.
Here the diff - files:
Firewall Rules Color: https://www.dropbox.com/s/lvij6vy0xn6ps3r/firewall_rules_color_pfsense_22.diff?dl=0
Firewall Rules Edit Color: https://www.dropbox.com/s/5903b1yvlfwbq6x/firewall_rules_edit_color_pfsense_22.diff?dl=0How to install:
After installing systempatches package on pfsense 2.2, create a patch for each .diff file
Do not forget to add the Base Directory option to patch.After creating and saving the patches, click on test and then apply.
Test it on lab before applying to production box.
If you need to revert to original files, you can fetch it via console/ssh
fetch https://raw.githubusercontent.com/pfsense/pfsense/master/usr/local/www/firewall_rules.php
fetch https://raw.githubusercontent.com/pfsense/pfsense/master/usr/local/www/firewall_rules_edit.phpand then copy or move to /usr/local/www
Some pics:
I can't give any support on the code and I take no responsibility for any damage on systems. On my systems (production) it works without any problems, but test it before installing on your production enviroment!!!
If you change something on the code, please upload it. Thanks
Have fun.
-
Thank you Mat, no disclaimer necessary. Your help is appreciated and if I trash my box it is indeed is my fault.