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

    Internet lost in PfSense but VPN or everythingelse work well?

    Scheduled Pinned Locked Moved General pfSense Questions
    47 Posts 4 Posters 4.9k 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.
    • mucipM
      mucip @Gertjan
      last edited by

      @Gertjan ,
      I check and it says I use latest version?

      be4ae68d-e8ae-491b-8c95-1f6bbca5aa2a-resim.png

      1 Reply Last reply Reply Quote 0
      • mucipM
        mucip @Gertjan
        last edited by

        @Gertjan ,
        Is this bug?

        8eeb5794-699c-4fc7-aaf9-8cde546d9257-resim.png

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

          At the command line run: certctl rehash

          Then re-check.

          That's probably also the pkg issue you are seeing.

          mucipM 1 Reply Last reply Reply Quote 1
          • mucipM
            mucip @stephenw10
            last edited by mucip

            @stephenw10 ,

            6e4b7386-e8ca-40e6-bfe7-a2671047466d-resim.png

            Now I can see below screen;
            d2b57b95-1ca5-40e5-8608-7d0a25acae21-resim.png

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @mucip
              last edited by Gertjan

              @mucip

              Aha !!
              You saw that ?
              Fiirst :

              3bef47cd-b1bf-4f9b-9571-f47aa50e1fa6-image.png

              then, after the 'patch' (I sometimes have this strange feeling that @stephenw10 is an AI Netgate bot that is here to drop this "run: certctl rehash" command ๐Ÿ˜Š (sorry, stephenw10, I couldn't resist))

              and then

              91b29632-745b-4cd4-b4c3-a9badc787bb0-image.png

              which opens the path to 2.7.2.

              Be ware that 2.7.2 won't free you from all misery, as you're like us : upgrading is great, but more then often, don't forget to upgrade the admin also (that's where most of the issues resides).
              It will include a new OpenSSL and a way more recent OpenVPN.
              If you are using the OpenVPN server you have to upgrade your clients also.
              Easy enough : https://openvpn.net/client/client-connect-vpn-for-windows/ or : your phone app store etc.
              Export a new OpenVPN client profile.
              Import it into your OpenVPN client, and you're good.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              mucipM 2 Replies Last reply Reply Quote 1
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Yup. You should upgrade though! ๐Ÿ˜

                mucipM 2 Replies Last reply Reply Quote 1
                • mucipM
                  mucip @Gertjan
                  last edited by

                  Hi @Gertjan,
                  Finally. Yes. Thanks.
                  I will try to update today.

                  Regards,
                  Mucip:)

                  1 Reply Last reply Reply Quote 0
                  • mucipM
                    mucip @stephenw10
                    last edited by

                    Dear @stephenw10 ,
                    Finally...

                    73b4d027-acaa-4b9d-be47-504e2373b953-resim.png

                    Regards,
                    Mucip:)

                    1 Reply Last reply Reply Quote 1
                    • mucipM
                      mucip @Gertjan
                      last edited by

                      Dear @Gertjan ,
                      I updated to 2.7.2 finally. I have one pfsense box in outer office.
                      As you advice I will update it to 2.7.2 too.
                      But first of all I apply "certctl rehash" command in other pfsense. :)

                      Thanks to all guys...

                      Regards,
                      Mucip:)

                      1 Reply Last reply Reply Quote 1
                      • mucipM
                        mucip @stephenw10
                        last edited by

                        Dear @stephenw10 ,
                        It happend again. It's like dejavu? :)
                        I used "run: certctl rehash" and now everything turned to normal. But why? What is the reason?
                        Should I add this command in the cron or what?

                        Regards,
                        Mucip:)

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @mucip
                          last edited by

                          @mucip said in Internet lost in PfSense but VPN or everythingelse work well?:

                          But why? What is the reason?

                          Afaik : when upgrading from pfSense <2.7.0 to 2.7.0, this command should have been part of the steps to do after the upgrade finishes.
                          The thing is : it was forgotten.

                          Don't worry, this situation only happened ones ^^ No need to thing about it anymore.

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          mucipM 1 Reply Last reply Reply Quote 1
                          • mucipM
                            mucip @Gertjan
                            last edited by

                            Dear @Gertjan,
                            I hope so. I already added this command to cron.
                            Well I will remove command from cron and check in the near future.๐Ÿ˜Š

                            Regards,
                            Mucip:)

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

                              There should be no need to run that command manually in 2.7.2. The pkg scripts run it anyway when it's required.

                              How were you testing? If you simply ran pkg update from the CLI the client cert may have expired. Checking from the webgui should never hit that though.

                              mucipM 1 Reply Last reply Reply Quote 1
                              • mucipM
                                mucip @stephenw10
                                last edited by

                                Dear @stephenw10,
                                I updated from WEB GUI not CLI.
                                In any case this morning the people said me that there is no internet out from Linux server.
                                I applied our famous command "certctl rehash" from webgui command execute menu and everything turn to normal again.
                                I will check. If I need to apply same command again than I add this command in the cron and run every midnight.

                                Regards,
                                Mucip:)

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

                                  Hmm, that is odd. The only thing that should help with is local certs on pfSense itself. So access to the pkg repos which requires a client side cert.

                                  It shouldn't make any difference to routing traffic. Unless maybe that is going via VPN that requires a cert.

                                  mucipM 1 Reply Last reply Reply Quote 0
                                  • mucipM
                                    mucip @stephenw10
                                    last edited by

                                    Hi @stephenw10,
                                    Well what should I do now?
                                    And advice?
                                    Adding in to cron?

                                    Regards,
                                    Mucip:)

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

                                      It seems unlikely the issue is actually cert related. Somehow running that is re-loading something that allows traffic to restart. So I would be trying to determine exactly what fails when traffic stops.

                                      mucipM 1 Reply Last reply Reply Quote 1
                                      • mucipM
                                        mucip @stephenw10
                                        last edited by mucip

                                        Dear @stephenw10,
                                        But how? What shoul I check if the internet stops again?

                                        Or I need to write script to check internet connetion in pfsense. When the internet lost than I need to run "certctl rehash" command again? I don't know?

                                        Regards,
                                        Mucip:)

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

                                          You are able to reach the pfSense gui from LAN when it fails yes?

                                          So I would first test what pfSense itself can do in that situation. Can it ping 8.8.8.8? Can it ping google.com?

                                          If it can then can LAN side clients do either of those?

                                          mucipM 2 Replies Last reply Reply Quote 1
                                          • mucipM
                                            mucip @stephenw10
                                            last edited by mucip

                                            Hi @stephenw10,
                                            I made php scipt to check internet connection in LAN Debian server.
                                            If not than it will send me an email. Than I will check what's going on in the PfSense.
                                            I put this php code in the cron now.

                                            Let's see... ๐Ÿ˜Š

                                            P.S: But I am wrong! If internet lost how can Debian send me an email?!
                                            I need to create script in pfsense and check internet from LAN because I checked before
                                            How can check internet connectivity in LAN with bash or php command in Pfsense?

                                            Regards,
                                            Mucip:)

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