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

    No internet on LAN

    Scheduled Pinned Locked Moved General pfSense Questions
    72 Posts 4 Posters 12.8k 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 @rakya
      last edited by

      @rakya said in No internet on LAN:

      From the wall jack I am connected to the NIC associated with the isolated pfSense VM, 192.168.1.1, then from the NIC to my laptop, 192.168.1.100.

      Unclear exactly which part of the connection you're referring to. It sounds like you might have a subnet conflict though. Is the WAN IP in a different subnet?

      Steve

      R 1 Reply Last reply Reply Quote 0
      • R
        rakya @rakya
        last edited by rakya

        @rakya
        when I filter the logs for traffic from my laptop, it shows it is blocked by "Default deny rule IPv4 (1000000103)", but that doesn't match the text in any of the Firewall or NAT rules I can see in the respective tabs.
        Also I had briefly turned on logging for pass's . I was able to start a youtube video on my wifi then switch to the pfSense LAN, and I was able to finish the video buffering from the pfSense LAN. Would this be because the firewall saw it as an existing state? I will try that again when I am near my machine in a couple hours. and look through the logs more carefully

        @stephenw10 ,Thanks!

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

          @rakya said in No internet on LAN:

          Default deny rule IPv4 (1000000103)"

          Post up your lan rules.. The default rule is an any any rule for anything coming from the lan net IP range..

          The default deny rule is the rule that blocks stuff that is not allowed, its a hidden rule and on all interfaces. If traffic coming into your lan is not allowed by a rule, then yes it would be blocked by the default deny.

          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

          R 1 Reply Last reply Reply Quote 0
          • R
            rakya @stephenw10
            last edited by

            @stephenw10 I dont beleive so.

            The way I understand it, I am basically creating a subnet, since the wall ethernet is configured as a LAN and I have pfsense configured to use it as a WAN

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

              All traffic that is not explicitly passed in pfSense is blocked by the default block rules like that.

              That means it's not matching the default pass rules which exist on LAN. Those normally catch traffic from anything in the LAN subnet so that traffic is either not from the LAN subnet or the default rules have been changed perhaps. Or maybe this is a new internal interface, not actually LAN?

              What is the traffic in question?

              What firewall rules do you have on that interface?

              1 Reply Last reply Reply Quote 1
              • R
                rakya @johnpoz
                last edited by

                @johnpoz LAN rules.png
                THe "Internet Access" ones were from a tutorial but they didnt work so I disabled them

                R 1 Reply Last reply Reply Quote 0
                • R
                  rakya @rakya
                  last edited by rakya

                  NAT outbound rules.png WAN rules.png

                  Als here are the WAN and NAT outbound rules.

                  I had played around with adding a pass rule in WAN, and looked over the docs, but came up empty so deleted it as part of reverting to system generated.

                  I am going AFK for abt 2 hours, thanks for your help so far!

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

                    @rakya so your rule on your lan is the default any any.. It currently shows you have a 123 states via that rule.. So it is allowing traffic..

                    if your saying you can not ping say 8.8.8.8 from a client on your lan network.. its not a firewall rule blocking it - unless you have rules in floating that would? But that would not be logged a default deny, that would be logged by the rule in floating that was blocking it.

                    There is nothing there that would prevent you from accessing the internet if pfsense has internet access via its wan.

                    But if your wan is the same network as your lan - that would be very problematic for sure.. What is the network on your wan.. Normally this would be some public IP 1.2.3.4 for example, if its a rfc1918 address that overlaps with your lan of 192.168.1/24 then yeah your going to have a bad day..

                    The only way something on your lan would be blocked by the default deny rule, is if its IP was not in the lan network.. For example if you had a device on your "lan" with and IP of say 192.168.2.x/16 while it could send traffic to pfsense on 192.168.1.1 to pfsense that IP is not part of the lan net and would not be allowed by the default rule, and would not be natted either..

                    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

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

                      Yup those rules look fine and they are opening and passing traffic.

                      What traffic is shown as blocked?

                      1 Reply Last reply Reply Quote 0
                      • R
                        rakya @johnpoz
                        last edited by

                        @johnpoz @stephenw10 So I am able to ping 8.8.8.8 from LAN client, still no google.com does that mean the issue is DNS?

                        Based on what was said abt a subnet conflict I moved my LAN IP to 192.168.0.1 (previously 192.168.1.1, which is also where my current router is, which will be converted into a switch/WAP if I am able to get pfSense working). Still not able to get through though. same ping behavior as before.

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

                          Yes sounds like a DNS issue now.

                          Make sure Unbound is running in Status > Services

                          Try resolving something in Diag > DNS Lookup.

                          R stephenw10S 2 Replies Last reply Reply Quote 0
                          • R
                            rakya @stephenw10
                            last edited by

                            @stephenw10 Unbound is running, and I found the following when doing the lookup
                            DNS lookup.png
                            Somehow the issue is not present in the VMs LAN interface, but both my laptop and phone are unable to connect to the internet when hooked up to the VMs LAN

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

                              @stephenw10 said in No internet on LAN:

                              Try resolving something in Diag > DNS Lookup.

                              Do that^. It will show how all the configured DNS servers are responding.

                              R 2 Replies Last reply Reply Quote 0
                              • R
                                rakya @stephenw10
                                last edited by rakya

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

                                  @stephenw10 Here is the lookup
                                  DNS lookup.png

                                  and I also did a traceroute
                                  tracroute.png

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

                                    @rakya so what is not working.. You clearly can get to the internet if you can ping 8.8.8.8 and you can lookup something.. So what is not working?

                                    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 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      DNS is failing on the LAN side client.

                                      So check what the client is using for DNS. It would normally be passed the pfSense LAN IP to use via DHCP but that can be ignored/overridden on the client.

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        rakya @stephenw10
                                        last edited by

                                        @stephenw10 I did a ipconfig/all on my laptop and it seems to be saying the pfSense LAN IP is correctly set as the DHCP, and DNS provider, but i am still unable to ping google.com
                                        @johnpoz in addition to being unable to ping google.com, i cannot browse the web, that is why I had believed that DNS was the issue, but am now unsure again... everything seems to be working great from within the VM, but the 2 clients I have tried are unable to navigate to anything except the webconfigurator. I will try a different ethernet cable.

                                        DNS client server.png

                                        R johnpozJ 2 Replies Last reply Reply Quote 0
                                        • R
                                          rakya @rakya
                                          last edited by

                                          switching cables made no difference

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

                                            @rakya so can you actually do a dns query via say nslookup on your machine?

                                            dns.jpg

                                            Do you see your pfsense name by the address.. See how mine tells me that 192.168.9.253 (pfsense IP on my lan) that its name is sg4860.home.arpa

                                            If your not seeing that - that points to not being able to talk to pfsense IP for dns, or unbound isn't even running.. What error or timeout do you see? If you get back name for pfsense with nslookup but queries for like www.google.com don't work what about asking about pfsense name.. like this

                                            pfsense.jpg

                                            Did you happen to mess with the acls? Pfsense will normally auto add all your local networks to the ACL of unbound to allow your local networks to query it, but if you turned that off? Under unbound / advanced near the bottom

                                            unbound.jpg

                                            If you did that you would have to manually create your acls, which is what I do.

                                            The output of nslookup should be informative to what is going on. If you can talk to unbound for dns, etc.

                                            You don't have any rules in floating do you? That could be blocking dns? But again if you had that, it wouldn't log as the default deny rule.

                                            And yeah without working dns, internet not going to work ;)

                                            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

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