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

    pfSense can not access to the internet

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 4 Posters 1.1k 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.
    • stephenw10S
      stephenw10 Netgate Administrator @vahitsezer
      last edited by

      Make sure it has a valid default route in Diag > Routes.

      If it doesn't make sure the default IPv4 gateway is set to WAN rather then automatic in System > Routing > Gateways

      Steve

      V 1 Reply Last reply Reply Quote 1
      • V
        vahitsezer @stephenw10
        last edited by

        @stephenw10 Thanks for answering,

        This is my routes report:
        1f5c8526-2ff9-43a3-8754-0be5a483d991-image.png

        also, I have a default IPv4 gateway:
        c1b7335f-b990-4a66-ae1f-bbfba65584ca-image.png

        So, Do you have any idea?

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

          What is actually set as default though? Here:
          Screenshot from 2023-12-20 21-04-00.png

          The current default shown in the table is invalid. re0 is not the WAN

          V 2 Replies Last reply Reply Quote 1
          • V
            vahitsezer @stephenw10
            last edited by vahitsezer

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • V
              vahitsezer @stephenw10
              last edited by

              @stephenw10
              Actually, re0 is for my LAN, and my primary WAN is on bge0 with METRO as its name. I select METRO for my default gateway IPv4

              cb533da2-4ee2-409a-8e90-b6f5b84c92c0-image.png

              How do you think such a mistake could have happened in the routes list?

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @vahitsezer
                last edited by

                @vahidmoghadam
                Did you state a gateway in the LAN interface settings by any chance?

                V 2 Replies Last reply Reply Quote 1
                • V
                  vahitsezer @viragomann
                  last edited by vahitsezer

                  @viragomann
                  This is a shot of my LAN interface settings:
                  c6da5c93-f02b-4859-b87b-3622ce542af1-image.png

                  M 1 Reply Last reply Reply Quote 0
                  • V
                    vahitsezer @viragomann
                    last edited by vahitsezer

                    @viragomann @stephenw10
                    Really It's like a joke!!!!!!!!
                    Now, I click on the Save button on the LAN interface settings page. Without any change of values.
                    and the default route changed to bge0 on the routes list and the internet is coming into vessels of the pfSense.
                    It's really funny, It took about four hours of my time.

                    Thanks so much. With your guidance, I was able to understand and solve the problem.

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

                      You have that labelled IPSec_GW so I assume it's for the IPSec routing workaround?

                      It still shouldn't be on the LAN interface directly like that. That makes pfSense treat LAN as though it's a WAN.

                      But it still shouldn't ever have selected it as default if you have METRO_GW set specifically.

                      If you remove the gateway from the LAN interface config and resave the gateway settings page with Metro as default it will re-add the correct default.

                      1 Reply Last reply Reply Quote 1
                      • M
                        Misterb @vahitsezer
                        last edited by

                        @vahidmoghadam Why do you have a /23 set on your LAN? It would be normal to have it as a /24.

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

                          Not that unusual to have more than 256 devices on the subnet. Or just to make numbering more logical etc

                          1 Reply Last reply Reply Quote 1
                          • V
                            vahitsezer @Misterb
                            last edited by

                            @Misterb
                            We have about 80 access point and about 40 printer and also about 100 desktop pc and there are number of laptops that using LAN, also devices on server room and many other small devices that all of them using from this address pool. So we need to have 512 (/23) address.

                            Maybe in the near future I will have to increase it to 1024 (/22) addresses.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Misterb @vahitsezer
                              last edited by

                              @vahidmoghadam Fair enough.

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