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

    pfSense 2.6 issues

    Scheduled Pinned Locked Moved General pfSense Questions
    56 Posts 12 Posters 17.3k 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.
    • P
      pando85
      last edited by

      Hello,

      I updated to 2.6.0 and now I cannot access GUI or ssh. Also, other services that I had exposed cannot be accessible now.

      It seems that my firewall rules are gone :(

      P 1 Reply Last reply Reply Quote 0
      • P
        pando85 @pando85
        last edited by

        @pando85 said in pfSense 2.6 issues:

        Hello,

        I updated to 2.6.0 and now I cannot access GUI or ssh. Also, other services that I had exposed cannot be accessible now.

        It seems that my firewall rules are gone :(

        Ok, my problem was related with a clean up that I did last week removing "unused" groups. I removed wheel group and that broke my upgrade: nginx coudn't start and I don't know why but ssh was not working either.
        I fixed it recreating the group manually, restarting webConfigurator and php and then creating again the group via GUI.

        For creating the group again:

        pw groupadd wheel
        

        All is up and running again.

        1 Reply Last reply Reply Quote 0
        • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
        • U
          UmbraAtrox
          last edited by UmbraAtrox

          One minor issue i had was ending up unable to enter the correct password for ZFS.

          I did a reinstall for ZFS, i set the correct keymap and tested it by entering the intended password and trying if Z and Y are in the correct place which they were but on first boot i couldn't enter the correct password probably because keymap, the password wasn't hugely complicated so i am certain i entered it correct but it had symbols in it. I workarounded it by not using encryption.

          Would be nice if there was a failsafe where on X wrong attempts you get the option to enter a line which does get echoed so one can verify the keymap and pressing Enter returns the user back to the password prompt.

          Enter boot password:
          Password wrong do you want to test keymap (y/n): y
          Press keys to echo, press Enter to return to password prompt: fh"!fg$u/s
          Enter boot password:
          

          I don't know if that's possible or even safe but would have helped.

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @UmbraAtrox
            last edited by

            @umbraatrox said in pfSense 2.6 issues:

            not using encryption.

            Using encryption to be able to even boot your firewall seems like an overall just bad idea to me - if you have power issue, internet is down until someone can console on the firewall and put in a password.. This seems pretty counter productive to me..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 3
            • J
              Jaltus
              last edited by Jaltus

              Hello,
              Upgrade Backup member of cluster 2.5.2 to 2.6.0 seems ok but connexion to gui failed
              services seems to be up.
              After pfctl -d can connect to gui.
              Restore backup config doesn't change anything.

              Package : Acme, Snort, service-watchdog, open-vm-tools, zabbix-agent5
              No upgrade of package before upgrade to 2.6.0

              So I stop upgrade of cluster until this problem is corrected.

              Is there someone with the same issue?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                You see any errors? If you can't access it but disabling the firewall completely allows it that implies the rules are not loading as expected.

                Steve

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jaltus @stephenw10
                  last edited by

                  @stephenw10
                  hello,
                  no errors, and no response. seems request are just drop
                  when firewall is off, I can see all rules.
                  Which process load rules is there a log of this ?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    At the console try manually loading the rules with:

                    pfctl -f /tmp/rules.debug
                    

                    Any errors will be shown.

                    Do you see your own traffic blocked in the firewall log? What rule was blocking it?

                    Steve

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jaltus @stephenw10
                      last edited by

                      @stephenw10
                      Hello,
                      Thanks for your help.
                      Rules load with no errors.
                      Traffic is blocked by default rules.
                      HA Sync doesn't work, but with primary in 2.5.2 and backup in 2.6.0. perhaps it's normal. I use LAN interface for this not a dedicated one.

                      I can access WEBGUI, if I define a rule for incoming on LAN int.

                      • Before in 2.5.2, I have just one rule on OPT1 for "admin PC" on OPT1 --> "pfsense IP" on LAN 443
                        I can access pfsense on his 2 IP (opt1 and LAN)
                      • Now, I can only connect to opt1 IP (same subnet). I also need a rule on LAN interface ("admin PC" on OPT1 --> "pfsense IP" LAN 443) to connect to LAN IP

                      Is there any change on this with upgrade ?

                      Best regards

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        That's expected, config sync will not work between different versions.

                        There have been no changes to how the rules are applied. If you are connecting from a client on the OPT1 interface you would only need a rule on OPT1 to allow that.

                        What might have changed is the interface ordering. Perhaps you have a NIC that wasn't supported in 2.5.2 and now is in 2.6.
                        Make sure your admin client is actually getting an IP in the OPT1 subnet.

                        Steve

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jaltus @stephenw10
                          last edited by

                          @stephenw10
                          After upgrade of master, everything is ok.
                          After review screenshot of number in pfsync node, PF was not well synchronize before upgrade.

                          Thanks a lot for your help

                          1 Reply Last reply Reply Quote 1
                          • KpuCkoK
                            KpuCko
                            last edited by

                            Hmmm, to be honest I really don't know where to start...

                            dcbfdd1d-f8a0-41cb-a2e5-07ec9234131a-image.png

                            Ok, let's not complain about some missing files, probably this can be ignored safely, but - DEINSTALL script failed, IMO is a problem, because I expect to have some left overs from the last stable version, anyway.

                            The device rebooted successfully, so I had a hope, unfortunately my hope disappeared almost immediately when I logged to the dashboard, I started getting errors:

                            de41c8e8-e8e1-449e-8da8-abe424fc6ac1-image.png

                            When I checked the logs I saw such errors appear over and over again:

                            /rc.filter_configure_sync: The command '/sbin/pfctl -Of /tmp/rules.limits' returned exit code '1', the output was 'pfctl: DIOCSETSYNCOOKIES'
                            

                            This made me a bit angry, I really got angry when I noticed that I'm unable to go to the internet anymore. The appliance is able to connect to the Internet, but all of the networks are unable, so this is a problem in the core firewall function.... really sad

                            Beside that I also noticed that my CPU hardware crypto support simply disappeared:

                            0fc86b2e-75a6-4fef-8124-182b8fee5a60-image.png

                            Then with non working production firewall, I had no choices - I decided to go back to the old version. When I went to update tab and selected the old stable branch, the check said - you are using newer version, so no way back, really?!!

                            My last option was to try to go upper - 2.7.0-devel but I just wanted to see if the issues about the internet has fixed. Well, not really:

                            There were error(s) loading the rules: pfctl: pfctl_rules - The line in question reads [0]: @ 2022-03-19 16:11:15
                            
                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Those errors during the upgrade are expected and not an issue.

                              Re-installing is the only (supported) way to go back to 2.5.2.

                              What is in /tmp/rules.limits though?

                              Steve

                              KpuCkoK 1 Reply Last reply Reply Quote 0
                              • KpuCkoK
                                KpuCko @stephenw10
                                last edited by

                                @stephenw10 I don't know, and can't check because I already reverted back to 2.5.2

                                I suppose it is something related to pfBlockerNG but who knows.

                                I tried to remove the package, but this haven't resolved the issue.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  What's in the file 2.5.2 then?

                                  I'm not aware of anything than would have changed there but you might have something obscure set.

                                  Steve

                                  KpuCkoK 1 Reply Last reply Reply Quote 0
                                  • KpuCkoK
                                    KpuCko @stephenw10
                                    last edited by

                                    @stephenw10 said in pfSense 2.6 issues:

                                    What's in the file 2.5.2 then?

                                    I'm not aware of anything than would have changed there but you might have something obscure set.

                                    Steve

                                    48738b53-aa68-4f6f-a1b3-d305b75029da-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Did you set that state table size or just have a lot of ram?

                                      KpuCkoK 1 Reply Last reply Reply Quote 0
                                      • KpuCkoK
                                        KpuCko @stephenw10
                                        last edited by

                                        @stephenw10 said in pfSense 2.6 issues:

                                        Did you set that state table size or just have a lot of ram?

                                        I have 16g of ram

                                        KpuCkoK 1 Reply Last reply Reply Quote 0
                                        • KpuCkoK
                                          KpuCko @KpuCko
                                          last edited by

                                          So guys, how to make it more official?
                                          I mean, look at the big post I have created, I have few issues mentioned in there.

                                          Do I need to file a bug report, or as I'm a free user, someone else has to do that?

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Anyone can open a bug report: https://redmine.pfsense.org/

                                            We need clear steps to recreate it though and I don't think we have that yet. I've updated numerous devices from 2.5.2 to 2.6 and never hit this and I don't see and other reports of it. There must be something unusual in your ruleset that it hitting an issue.

                                            Can we see your ruleset? (/tmp/rules.debug)

                                            If not can you generate another ruleset that still hits this?

                                            Are you using any obscure features?

                                            Steve

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