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

    LAN client cannot connect

    Scheduled Pinned Locked Moved General pfSense Questions
    101 Posts 2 Posters 14.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.
    • S
      Spectrum @stephenw10
      last edited by

      @stephenw10 ok, now i set ipv4 and ipv6 gateway on the wan and it is no longer automatic.

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

        Ok that's good. When it's set to automatic it may choose the LAN if the WAN goes down.

        But you should not have a LAN gateway at all. You should delete it from there anyway.

        S 3 Replies Last reply Reply Quote 0
        • S
          Spectrum @stephenw10
          last edited by

          @stephenw10 sistem/routing/gateway
          WAN_DHCP Default (IPv4) WAN
          WAN_DHCP6 Default (IPv6) WAN

          1 Reply Last reply Reply Quote 0
          • S
            Spectrum @stephenw10
            last edited by

            @stephenw10 diag/routes
            Route IPv4
            default 192.168.1.xxx re1 (wan)
            127.0.0.x lo0
            192.168.1.x/24 re1 (wan)
            192.168.1.xxx lo0
            192.168.100.x/24 re0 (lan)
            192.168.100.x lo0
            Rotte IPv6
            default xxxxxxxxxxxxxxxre1 re1 (wan)

            S 1 Reply Last reply Reply Quote 0
            • S
              Spectrum @stephenw10
              last edited by

              @stephenw10 Status/Gateways

              Gateways
              WAN_DHCP (default) 192.168.1.xxx 192.168.1.xxx Connected Interface WAN_DHCP Gateway
              WAN_DHCP6 (default) xxxx::xxx:xxxx:xxxx:xxxx%re1 xxxx::xxx:xxxx:xxxx:xxxx%re1 Connected Interface WAN_DHCP6 Gateway

              1 Reply Last reply Reply Quote 0
              • S
                Spectrum @Spectrum
                last edited by

                @Spectrum do you suggest to delete this option in the lan network (re0)?

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

                  I'm only suggesting you delete any gateways defined on LAN in System > Routing > Gateways.

                  However it should be working as it is?

                  S 2 Replies Last reply Reply Quote 0
                  • S
                    Spectrum @stephenw10
                    last edited by

                    @stephenw10 sistem / routing / gateway have only wan . lan no longer appears. the pc is connected pero many sites can't access. i'm thinking maybe i need to see if it accepts both http and https. am i doing the thinking wrong?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Spectrum @stephenw10
                      last edited by

                      @stephenw10 Unable to reach the site
                      Unable to find the IP address of the server of en.wikipedia.org.

                      Try:
                      Checking the connection
                      Checking the proxy, firewall, and DNS configuration
                      Running the Windows Network Diagnostics tool
                      ERR_NAME_NOT_RESOLVED

                      this i see when visite web like wikipedia

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

                        Can you ping 8.8.8.8 from pfSense?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Spectrum @stephenw10
                          last edited by

                          @stephenw10 ping 8.8.8.8 : 56 data bytes
                          3 packets transmitted, 3 packets received, 0% packet loss

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

                            Ok great try to ping google.com from pfSense.

                            If that succeeds try to ping google.com from a client on the LAN.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Spectrum @stephenw10
                              last edited by

                              @stephenw10 pfsense shell google.com 3 packets transmitted, 3 packets received, 0% packet loss

                              web gui diag/ ping
                              8.8.8.8 3 packets transmitted, 3 packets received, 0% packet loss (lan)
                              1.1.1.1 3 packets transmitted, 3 packets received, 0% packet loss (lan)
                              google.com 3 packets transmitted, 3 packets received, 0% packet loss (lan)
                              wikipedia.org 3 packets transmitted, 3 packets received, 0% packet loss (lan)
                              wikipedia.org 3 packets transmitted, 3 packets received, 0% packet loss (wan)

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

                                Ok try that same test from a client on the LAN.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Spectrum @stephenw10
                                  last edited by

                                  @stephenw10 how

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

                                    Just run some pings from a client on the LAN.

                                    The client cannot open web pages but pfSense clearly can reach external sites and can resolve DNS.
                                    So either the client is being blocked (the default firewall rules should pass it though) or it cannot resolve.
                                    Testing with ping should show that.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Spectrum @stephenw10
                                      last edited by Spectrum

                                      @stephenw10 Diag/Ping
                                      Ping
                                      Host name wikipedia.org
                                      IP protocol
                                      IPv4
                                      Source address
                                      LAN
                                      --- ping statistics from wikipedia.org ---
                                      10 packets transmitted, 10 packets received, 0.0% packet loss

                                      Ping
                                      Host name giallozafferano.it
                                      IP protocol
                                      IPv4
                                      Source address
                                      LAN
                                      --- ping statistics from giallozafferano.it ---
                                      10 packets transmitted, 0 packets received, 100% packet loss

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

                                        Try pinging from a client not from pfSense.

                                        That second address doesn't appear to respond to ping so that's not a problem:

                                        steve@steve-NUC9i9QNX:~$ ping giallozafferano.it
                                        PING giallozafferano.it (52.17.217.40) 56(84) bytes of data.
                                        ^C
                                        --- giallozafferano.it ping statistics ---
                                        3 packets transmitted, 0 received, 100% packet loss, time 2037ms
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Spectrum @stephenw10
                                          last edited by

                                          @stephenw10 ok, cmd windows.

                                          ping 8.8.8.8
                                          --- ping statistics from 8.8.8.8 ---
                                          4 packets transmitted, 4 packets received, 0.0% packet loss

                                          ping 1.1.1.1
                                          --- ping statistics from 1.1.1.1 ---
                                          4 packets transmitted, 4 packets received, 0.0% packet loss

                                          ping google.com
                                          --- ping statistics from 216.58.204.142 ---
                                          4 packets transmitted, 4 packets received, 0.0% packet loss

                                          ping wikipedia.org
                                          unable to find host "wikipedia.org". check correct name and try again

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

                                            Hmm, well pfSense can resolve wikipedia.org but the client cannot. Is it configured to use pfSense for DNS?

                                            By default pfSense will pass it;s own interface address to use for DNS via DHCP

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