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

    New installation of 2.2.6 (also tried beta 2.3) no internet, but ping works

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    20 Posts 6 Posters 3.6k 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.
    • pttP Offline
      ptt Rebel Alliance
      last edited by

      https://doc.pfsense.org/index.php/Connectivity_Troubleshooting

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        not much to go on here, but i'll give it a go

        • do you get an ip on your WAN interface? If not: reboot the (cable)modem

        • what kind of ip are you getting? if RFC 1918: uncheck "block private networks' on interfaces–>WAN

        1 Reply Last reply Reply Quote 0
        • OceanwatcherO Offline
          Oceanwatcher
          last edited by

          heper: Should be a lot to go on :-) - I can ping any server from the firewall - meaning I have correct IP on wan. I also said it was a public IP.

          I am on Ethernet, not any modem etc.

          The installation is completely new. No firewall rules etc. Nothing has been changed. This means WAN is on DHCP and LAN is using 192.168.1.1.

          ptt: Nothing wrong according to that guide.

          Regards,

          Oceanwatcher
          2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

          1 Reply Last reply Reply Quote 0
          • DerelictD Offline
            Derelict LAYER 8 Netgate
            last edited by

            Sounds like you either:

            Have no rules on LAN to pass traffic

            Have no Outbound NAT rules so traffic is not being translated.

            Both of these conditions are all set to go after a default install.

            Or a DNS issue.

            When you connect a computer to LAN:

            Do you get an interface config from DHCP?

            Can you ping the IP address DHCP gives you as a gateway?

            Can you ping the IP address of the pfSense WAN?

            Can you ping 8.8.8.8?

            Can you resolve names?

            Can you ping www.google.com?

            What did you put in System > General Setup for DNS Servers?

            Did you check Allow DNS server list to be overridden by DHCP/PPP on WAN ?

            Did you check Do not use the DNS Forwarder or Resolver as a DNS server for the firewall?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • OceanwatcherO Offline
              Oceanwatcher
              last edited by

              Sorry for not replying immediately. We are not adding this firewall until we know it is ok, and we have a lot of other things to do as well, so I will try to put in some extra hours to get this done…

              I am quoting the best answer so far and commenting on the different statements.

              Thank you for taking the time to help!!!

              Svein


              Sounds like you either:

              Have no rules on LAN to pass traffic

              Have no Outbound NAT rules so traffic is not being translated.

              Both of these conditions are all set to go after a default install.  <- As I said in my first post, everything is vanilla. All rules that should be on a default install are there.

              Or a DNS issue. <- This is what I have concluded so far as well. But exactly what kind of DNS problem is not easy to find out. Remember this: I have done a plain install of 2.2.6 and 2.3 beta and both behave exactly the same.

              When you connect a computer to LAN:

              Do you get an interface config from DHCP? Yes. There is no problem with the DHCP server on pfSense

              Can you ping the IP address DHCP gives you as a gateway? Yes. See above.

              Can you ping the IP address of the pfSense WAN? Yes.

              Can you ping 8.8.8.8? Yes.

              Can you resolve names? No.

              Can you ping www.google.com? No.

              What did you put in System > General Setup for DNS Servers? At the start, nothing. WAN was set to DHCP and that should work out of the box…

              Did you check Allow DNS server list to be overridden by DHCP/PPP on WAN ? Yes

              Did you check Do not use the DNS Forwarder or Resolver as a DNS server for the firewall? No.

              I finally managed to get things working by adding a full list of DNS servers in the general setup as well as adding the same servers in the pfsense DHCP server.

              Is there a good application to analyze a DNS setup from Windows 7? During boot, pfSense is "pausing" for a long time at the two "DNS lines". As we are on the campus network and we have our own DNS here, it should be really fast. This is a university college and we have 10 Gb in here (I only have around 1 Gb in the office where I am testing…).

              Regards,

              Oceanwatcher
              2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

              1 Reply Last reply Reply Quote 0
              • OceanwatcherO Offline
                Oceanwatcher
                last edited by

                I will install 2.3 RC on one of the boxes (we bought two…) and see if things are the same now.

                Regards,

                Oceanwatcher
                2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

                1 Reply Last reply Reply Quote 0
                • OceanwatcherO Offline
                  Oceanwatcher
                  last edited by

                  So… Installed 2.3RC and got the same result. It is really confusing as I have been using pfSense for several years and it is the first time I am experiencing this.

                  One possibility I need to check is if the line I am on has any restrictions. They use access lists here, and I will ask for an IP address that is completely without any restrictions. Just to be sure.

                  I am also wondering if there could be any problems with their DHCP server. That would also explain any trouble. So I will look for a program I can run on Win7 to test the DHCP server. Any suggestions?

                  Regards,

                  Oceanwatcher
                  2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                    Can you resolve names? No.

                    Out of the box pfsense both 2.2.6 and 2.3 use resolver mode… So does not matter what dns you put in pfsense general setup.. Its going to use unbound to resolve, not forward.  So if your network is blocking direct outbound access to 53 udp/tcp and your only allowing access to known public dns, or your own internal dns server your going to have problems.

                    Try changing pfsense to forwarder mode (dnsmasq)or enable forward mode in unbound.  And point to whatever dns server you want pfsense to use..

                    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
                    • H Offline
                      hda
                      last edited by

                      Resolver/Unbound is very early and fast up during (re)boot, that's to say when your WAN is not connected yet (MoDem, PPPoE, etc.) Then you experience no DNS. So you have to restart Resolver/Unbound.

                      1 Reply Last reply Reply Quote 0
                      • OceanwatcherO Offline
                        Oceanwatcher
                        last edited by

                        Another thing that confuses me is that when I click on save to save a change, most times it takes 1-2 minutes to update a setting.

                        I did a factory reset now and turned on DNS Query Forwarding. I also enabled "Do not use the DNS Forwarder as a DNS server for the firewall". And now it works.

                        But is this normal?

                        Regards,

                        Oceanwatcher
                        2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                          no its not normal, resolver should work out of the box unless there is something in your connectivity that blocks dns to the public internet.  Resolver needs to be able to talk to all the roots and tlds and any and all authoritative name servers for whatever domain your looking for..  If you have something that blocks this then yeah the resolver is going to fail.

                          In such case you need to fix that connectivity, or use forwarder mode to some dns that your allowed to talk to that can resolve for you.  Out of the box pfsense should only talk to itself for name resolution, which will then either use resolver or forwarder mode how you have configured it and be able to resolve records you have setup in pfsense.

                          To be honest the only dns you should see in pfsense is pointing to 127.0.0.1, this is all that should be required in a normal setup using the resolver (unbound)

                          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
                          • OceanwatcherO Offline
                            Oceanwatcher
                            last edited by

                            Exactly. I have used pfSense for years and not seen this before. I have to wait until tomorrow to talk to a colleague about the line here. Will get back.

                            Probably a result of the same problems - I am gettting "Unable to check for updates" in the dashboard.

                            Regards,

                            Oceanwatcher
                            2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                              Yeah I would assume so too if pfsense can not resolve shit, it wouldn't be able to check for updates 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

                              1 Reply Last reply Reply Quote 0
                              • OceanwatcherO Offline
                                Oceanwatcher
                                last edited by

                                Got confirmation today that it is not possible to use any other DNS than the two on campus. External DNS'es are blocked - or rather, the port is blocked. Which should be fine, I guess.

                                Will this impact pfSense in any way?

                                Also, have you seen this thread? https://forum.pfsense.org/index.php?topic=109179.0

                                Looks very similar to what I am experiencing.

                                Regards,

                                Oceanwatcher
                                2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                                  well if all you can use is your dns on your network, then yeah resolver would not be an option for you… You would have to forward to these dns servers you can get to resolve for you.

                                  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
                                  • OceanwatcherO Offline
                                    Oceanwatcher
                                    last edited by

                                    So, anything in particular I should turn on or off?

                                    Also, how do I get the update to work in an environment like this?

                                    Regards,

                                    Oceanwatcher
                                    2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                                      Update works fine like that, you just need to point pfsense itself to its own forwarder.  I personally would just turn off the resolver and enable the forwarder dnsmasq its forwarding features are better than unbound because it can be set to send to all of them and use the fastest response.

                                      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
                                      • OceanwatcherO Offline
                                        Oceanwatcher
                                        last edited by

                                        The firewall is now fully up and running. Thank you very much johnpoz for your help!

                                        We are using 2.3.1 now on this hardware:

                                        https://www.supermicro.nl/products/system/1U/5018/SYS-5018A-FTN4.cfm

                                        One thing that had me scratching my head for a while was that when I installed pfSense, things were working ok. Then I set up fixed IP and it did not work. My very silly mistake was that for some reason, /32 is standard when setting manual IP. After changing to /24 things were working again.

                                        Also, as mentioned above, we had to use the campus DNS'es.

                                        So far, things are working smooth. I also hope we can get a feed from our broadcast clock that is synced to GPS so our whole network will be completely in sync with the clocks on the walls. But that is a project for another day - as well as setting up a second firewall as redundancy.

                                        Regards,

                                        Oceanwatcher
                                        2x SuperMicro 8core w/ 8 GB RAM running v. 2.3.1 - will eventually set them up with failover

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

                                          As to the /32 - well it has to default to something.  So it could be either a non viable option like select me I guess, or some other mask.  What do you feel should be the default mask?  /24 - while that might be common on a lan side interface, normally that wouldn't be correct for a static wan..  I would guess something smaller for a common public IP range.

                                          When setting a static IP it would seem realistic to expect the person setting it to validate they are are indeed setting the correct mask for their use ;)

                                          Glad you got it sorted..  I would assume you can query your campus ntp via unicast as well, and not just rely on broadcast.  I don't see a way in the gui to select broadcastclient mode.. Guess it would always be viable to edit the ntp conf directly vs using the gui, but this is normally not a good idea.  Such edits don't normally survive service restarts unless you edit the actual pfsense files that start and stop the services - which these do not survive updates to pfsense, etc.

                                          Would seem odd they would only provide broadcast as a means of sync to ntp.

                                          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
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.