Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Completed] Firewall rules with color tags - like in FWBuilder [Patch inside]

    Scheduled Pinned Locked Moved Completed Bounties
    15 Posts 3 Posters 6.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marcellocM
      marcelloc
      last edited by

      Can it be done via PayPal?

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • M
        Mat187
        last edited by

        I will ask and try to find a way.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          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 .

          request_payments.png
          request_payments.png_thumb

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Is the programming effort much bigger to color the whole rule?

            Here is the screenshot with whole rule changed

            change_color_rules.png
            change_color_rules.png_thumb

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • M
              Mat187
              last edited by

              Looks great :)

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                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?

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • M
                  Mat187
                  last edited by

                  For both would be great.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jjstecchino
                    last edited by

                    Color tagged rules is a nice touch for the GUI. Is this ever going to be made available in the mainstream version?

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mat187
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • J
                        jjstecchino
                        last edited by

                        Would you be able to share the patch in the meantime?

                        1 Reply Last reply Reply Quote 0
                        • M
                          Mat187
                          last edited by

                          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=0

                          How 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.php

                          and 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.

                          system_patches.png
                          system_patches.png_thumb
                          firewall_rules_color.png
                          firewall_rules_color.png_thumb
                          firewall_rules_edit_color.png
                          firewall_rules_edit_color.png_thumb

                          1 Reply Last reply Reply Quote 0
                          • J
                            jjstecchino
                            last edited by

                            Thank you Mat, no disclaimer necessary. Your help is appreciated and if I trash my box it is indeed is my fault.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.