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

    Can't get internet from LAN

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 748 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.
    • G
      greg6614
      last edited by greg6614

      Hello,

      I've spent hours trying to resolve my problem with no success, so I try posting here.

      I've a clean fresh install of PfSense 2.6.0 but I can't reach internet with my client on the LAN side. I've already read the troubleshooting guide but none of the options has resolved my pb.

      I can ping internet hostnames and address from WAN but not from lan. When I run nslookup google.fr on my client it returns the good ip but i can't ping google.fr or 8.8.8.8.
      f8b9f87b-8ce0-4f31-ad18-f808558eea6f-image.png
      In the firewall the WAN only has the 2 default rules for 'Block privates networks' and 'Block bogon networks' and the LAN interface has the default allow all rule.

      My LAN interface has no gateway.

      My PfSense is installed in an ESXI VM on a dedicated server. I have an Other PfSense with a similar configuration and this one is working like a charms. Obviously i'm missing something but I can't figure out.

      Thank you for your help.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @greg6614
        last edited by

        @greg6614 Is Outbound NAT set to automatic? I think there was a recent post with that set incorrectly. That would be the default on a new install though.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        G 1 Reply Last reply Reply Quote 0
        • G
          greg6614 @SteveITS
          last edited by

          @steveits Yes it's set as automatic
          257bef68-31ef-4c33-8cd4-1be16bdc6df9-image.png

          J 1 Reply Last reply Reply Quote 0
          • J
            Jarhead @greg6614
            last edited by Jarhead

            @greg6614
            It is set to automatic but you don't have any rules listed.
            Try to set it to Hybrid, click save, then go back to auto and click save.

            Or leave it at Hybrid if the auto rules generate.

            S G 2 Replies Last reply Reply Quote 1
            • S
              SteveITS Galactic Empire @Jarhead
              last edited by

              @jarhead said in Can't get internet from LAN:

              It is set to automatic but you don't have any rules listed.

              That is a good observation that doesn't come through when images don't display in email.: 😆

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              1 Reply Last reply Reply Quote 0
              • G
                greg6614 @Jarhead
                last edited by greg6614

                @jarhead @SteveITS You're absolute legends.
                It finally works after so many hours. I switched to hybrid then save and then switch back to auto but for some reasons automatic rules does not generate.

                I checked what kind of rules I should have here in my other instance and add it manually and then now it works.

                What are the limitation if I keep it hybrid ?

                Thank you again !

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @greg6614
                  last edited by SteveITS

                  @greg6614 Not having them auto create is strange behavior. Hybrid keeps the existing auto rules but lets you add your own. It doesn't really matter how they are added, other than order.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    greg6614 @SteveITS
                    last edited by

                    @steveits Ok I've figured out why Outbound nat rules was not automatically generated. Because I'm on a dedicated server my WAN gateway is not in the same subnet so I was configuring routes directly via shell wich was working well because setting it via the web configurator failed as it seems it only accept gateway within the same subnet.

                    But this limitation is gone if I configure the gateway directly via the console during 'Assign ip addresses' phase.

                    Everything working fine now and rules are properly generated.

                    Thank you both for your help and time.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Yes, the automatic rules are applied for internal subnets on interfaces which pfSense sees as a 'WAN'. It determines which are WAN interfaces by seeing whether they have a gateway defined on them. Creating a gateway separately that happens to be in the WAN subnet, for example, is insufficient.

                      This also determines some other things such as route-to and reply-to tagging in a multiwan environment.

                      What you should really do here is edit the gateway and set 'Use non-local gateway' in the advanced settings. Then assign that to the WAN directly.

                      Steve

                      G 1 Reply Last reply Reply Quote 1
                      • G
                        greg6614 @stephenw10
                        last edited by

                        @stephenw10 Thank you, I was not aware of the « Use non-local gateway » option but setting the gateway using the cli instead of the web interface seems to automatically detect wether it’s local or not and now it working as expected.

                        Thank you all for your time of the explanations.

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