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

    pfSense drops Internet ?

    Scheduled Pinned Locked Moved General pfSense Questions
    27 Posts 11 Posters 3.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.
    • B
      biggsy @wangel
      last edited by biggsy

      @wangel said in pfSense drops Internet ?:

      Correct, if I connect PC straight to modem it works.

      Have you tried spoofing the MAC address of your PC under Interfaces > WAN > General > MAC Address?

      W 1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        What is your ISP and modem?

        -Rico

        W 1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by

          and if i can ask.. do you have suricata/snort running inline mode?

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          W 1 Reply Last reply Reply Quote 0
          • W
            wangel @kiokoman
            last edited by

            @kiokoman Suricata is running, but it is running in Legacy mode.

            I thought it might have something to do with Suricata also.... but I didn't see anything in the logs showing that....

            1 Reply Last reply Reply Quote 0
            • W
              wangel @Rico
              last edited by

              @Rico ISP is Spectrum ... modem is a Surfboard 6183 or 6180, I forget which. But it's a Surfboard.

              1 Reply Last reply Reply Quote 0
              • W
                wangel @biggsy
                last edited by

                @biggsy
                No, I have not tried that. I can just to see what would happen tho, heh.

                1 Reply Last reply Reply Quote 0
                • chpalmerC
                  chpalmer
                  last edited by chpalmer

                  @wangel said in pfSense drops Internet ?:

                  Can you please show a screenshot of this page- SystemRoutingGatewaysEdit

                  Triggering snowflakes one by one..
                  Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    wangel @chpalmer
                    last edited by

                    @chpalmer GW1.PNG

                    gw2.PNG

                    gw3.PNG

                    1 Reply Last reply Reply Quote 0
                    • chpalmerC
                      chpalmer
                      last edited by

                      Try clicking the "Disable Gateway Monitoring Action" box and see if it reoccurs. Re-enable the gateway monitoring.

                      You should let the monitoring happen so you can look and see later if your ISP is dropping out or not by watching the logging graphs. StatusMonitoring

                      Triggering snowflakes one by one..
                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        wangel @chpalmer
                        last edited by

                        @chpalmer Done.

                        Will monitor/report back if it happens anymore. Thank you sir!

                        1 Reply Last reply Reply Quote 0
                        • A
                          ady2
                          last edited by

                          I have similar issue (Internet stop working on all interfaces) described here: https://forum.netgate.com/topic/143661/one-interface-loses-internet-access-and-i-could-get-it-back-only-after-reboot-the-pfsense
                          but still no solution found

                          GertjanG 1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @ady2
                            last edited by Gertjan

                            @ady2 said in pfSense drops Internet ?:

                            I have similar issue

                            Probably not.
                            @wangel didn't post back, so, fingers crossed : case closed.
                            The other thread is also a case closed.

                            Btw : problems described might match, and if so the answers in these threads contain the solutions.
                            If your problem is identical, the proposed solutions would also work for you.
                            So, what is it : the problem looks identical, but you did not apply proposed solution ? Why not ?

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            kiokomanK 1 Reply Last reply Reply Quote 0
                            • W
                              wangel
                              last edited by wangel

                              @Gertjan You jinxed it!!!!

                              Not really ... I hadn't posted back because things had been working, until about 4pm EST yesterday, when it died again.

                              I was able to access resources from the outside (ie: My Camera system etc), but internet out would not work. I also could connect to the vpn, type in my password, but the vpn would never establish.

                              When I got home, I had no internet. I could get on the pfsense box, but if I tried to ping the outside world, I would get "permission denied". Now was the time I needed to figure this out.

                              Over the past couple of days, I had been working on setting up Graylog and sending my logs from Pfsense to it. It's working, so I figured I'd go digging.

                              Sometime yesterday, about 3:35pm EST, Unbound, or Quad9, or something lost their minds. It started flooding my firewall and pfsense blocked my own public ip. That explains "permission denied". I tried running /etc/rc.filter_configure. That fixed it so I could ping OUT from the pfsense box, but nothing from the LAN side could still ping. At this point, I rebooted.

                              Whatever it was, was Quad9. Everything was on port 853, and to and from ip 149.112.112.112.

                              That being said, DNS is setup on pfsense going to cloudflare first (1.1.1.1, 1.0.0.1) and then I had 9.9.9.9 and 149.112.112.112 as the 3rd and 4th dns entries.

                              I've removed Quad9 from the equation, so we will see if it happens again. I don't know if it was unbound doing something ... or something on my network that started making a ton of calls to 149.112.112.112, but whatever it was cause the PF to end up blocking my WAN Interface.

                              I will continue to monitor and report back.

                              Thanks all!

                              1 Reply Last reply Reply Quote 0
                              • kiokomanK
                                kiokoman LAYER 8 @Gertjan
                                last edited by

                                @Gertjan said in pfSense drops Internet ?:

                                didn't post back, so, fingers crossed : case closed

                                you brought bad luck 😂

                                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                Please do not use chat/PM to ask for help
                                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                1 Reply Last reply Reply Quote 0
                                • Raffi_R
                                  Raffi_
                                  last edited by

                                  I wonder about cases where a ton of traffic is going out of the network like that. Does the ISP possibly flag it as malicious and block it?

                                  1 Reply Last reply Reply Quote 1
                                  • J
                                    Jeepers128
                                    last edited by

                                    Try disabling the hardware checksum.

                                    I had a problem where my internet would randomly drop after moving to a new box. I made the change to disable hardware checksum and haven't had a problem since.

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

                                      Permission denied like that is from pfSense itself. It's not the other end refusing the echo requests.

                                      As you found it's usually the traffic being blocked by Squid/Suricata. The WAN IP itself would be inside the default Homenet alias and therefore excluded from blocking. I assume it was blocking the ping target therefore? If it was blocking the actual WAN IP then something is misconfigured.

                                      Steve

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        wangel @stephenw10
                                        last edited by wangel

                                        @stephenw10 said in pfSense drops Internet ?:

                                        Permission denied like that is from pfSense itself. It's not the other end refusing the echo requests.

                                        As you found it's usually the traffic being blocked by Squid/Suricata. The WAN IP itself would be inside the default Homenet alias and therefore excluded from blocking. I assume it was blocking the ping target therefore? If it was blocking the actual WAN IP then something is misconfigured.

                                        Steve

                                        @stephenw10 It's not Suricata.... as I had it turned off, because I thought it was. Nothing shows up in the suricata logs either. So I know that's not it.

                                        I don't run squid.

                                        Not sure what could be misconfigured --- I am using unbound over SSL for dns (853) ... I had 4 dns servers configured, cloudflare (1.1.1.1) and Quad9.

                                        Like I said, according to the logs ... something happened with a ton of traffic from Quad9's 2nd dns server, and it PF ended up blocking my WAN IP. (or Interface).

                                        I was able to run /etc/rc.filter_configure, and I was able to ping out from the console again, but routing was not working for the LAN, so a reboot obviously fixed that.

                                        filterlog: 18,,,1000000110,em0,match,block,in,4,0x0,,53,51099,0,DF,6,tcp,83,149.112.112.112,publiciphere,853,58393,31,FPA,1666564533:1666564564,3751497853,118,,nop;nop;TS
                                        

                                        Which is odd to me .... Why would Quad9's server try connecting to me? It's only this server that's done it, I tried searching the logs for 9.9.9.9 and nothing. Strange honestly.

                                        Anyways, I took Quad9's info out of PFsense, only running off Cloudflare for now, so we will see what happens :)

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

                                          That is their reply packets being dropped because the TCP state outbound to them had already been closed. That's quite common and usually nothing to be concerned about:
                                          https://docs.netgate.com/pfsense/en/latest/firewall/troubleshooting-blocked-log-entries-for-legitimate-connection-packets.html

                                          Steve

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