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

    Problems With WAN Loss Cobnection

    Scheduled Pinned Locked Moved General pfSense Questions
    57 Posts 4 Posters 2.7k 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.
    • GertjanG
      Gertjan @dcuadrados
      last edited by Gertjan

      You've listed :

      @dcuadrados said in Problems With WAN Loss Cobnection:

      Jun 7 13:09:49 dpinger 16274 WANGW 192.168.1.1: sendto error: 50

      and

      @dcuadrados said in Problems With WAN Loss Cobnection:

      Jun 12 14:50:05 dpinger 28600 WAN_DHCP 192.168.0.1: sendto error: 50

      So, dual WAN ?
      Where dos this "192.168.0.1" comes from ?
      It's not here :

      @dcuadrados said in Problems With WAN Loss Cobnection:

      My routing table looks like this:

      Internet:
      Destination Gateway Flags Netif Expire
      default 192.168.1.1 UGS igc0
      PUBLIC_IP 192.168.1.1 UGHS igc0
      127.0.0.1 link#8 UH lo0
      172.16.0.0/24 link#2 U igc1
      172.16.0.1 link#8 UHS lo0
      172.16.2.0/24 link#11 U igc1.2
      172.16.2.1 link#8 UHS lo0
      172.16.10.0/24 link#12 U ovpns1
      172.16.10.1 link#8 UHS lo0
      192.168.1.0/24 link#1 U igc0
      192.168.1.254 link#8 UHS lo0
      192.168.255.254 link#8 UH lo0

      Not related :

      @dcuadrados said in Problems With WAN Loss Cobnection:

      on.es/FakestarPC-generaci%C3%
      And it gets better :

      dbbc3a3d-853e-4282-a5f9-101d6a9f8133-image.png

      Wow ... 😧
      "That's a no-go, even if I got one for free".

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

      D 2 Replies Last reply Reply Quote 0
      • D
        dcuadrados @Gertjan
        last edited by

        @Gertjan 2 Diferent Appliances, but same problem and same Hardware, but 2 appliance and 2 different client

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

          @Gertjan said in Problems With WAN Loss Cobnection:

          on.es/FakestarPC-generaci%C3%
          And it gets better :

          Wow ...
          "That's a no-go, even if I got one for free".

          The ones that are failing for me are these:

          https://www.amazon.es/dp/B0CG18TT9K/?coliid=I2EAQ4NZLEJ0PO&colid=36J85P61Z63IW&ref_=list_c_wl_lv_ov_lig_dp_it

          I don't have the other one; I thought I had added another one like the one I just shared but with i225 cards.

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

            @dcuadrados

            You've de-acticativated the monitoring 'action', so even when pings don't come back anymore, pfSense won't pull the interface (WAN) down.
            The FreeBSD (intel) igc NIC driver is one of the most stable drivers out there. You and I share the same code - as I'm using it also. It's - should be - rock solid.
            That said, IF the NIC is actually an Intel NIC ...

            If pings stop coming back, start looking upstream.

            Btw :

            @dcuadrados said in Problems With WAN Loss Cobnection:

            kernel: swp_pager_getswapspace(1): failed

            without consulting, I tend to says : pfSense prepares to use the swap.
            That's a sign you running out of free RAM.
            That's a major issue.
            A native pfSense installation does have a swap space. When it starts to be used, drop the load on your system.

            edit : wait : I consulted. It's worse. You've run out of swap space.
            And that bad. Consider that a mayday situation.
            You're doing huge (?) things with your firewall. That, by itself, could make the system unstable.

            @dcuadrados said in Problems With WAN Loss Cobnection:

            watchdog service

            And you're not using it, I hope. The service watch dog is a whole problem by itself.

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

            D 1 Reply Last reply Reply Quote 0
            • D
              dcuadrados @Gertjan
              last edited by

              @Gertjan said in Problems With WAN Loss Cobnection:

              @dcuadrados

              You've de-acticativated the monitoring 'action', so even when pings don't come back anymore, pfSense won't pull the interface (WAN) down.
              The FreeBSD (intel) igc NIC driver is one of the most stable drivers out there. You and I share the same code - as I'm using it also. It's - should be - rock solid.
              That said, IF the NIC is actually an Intel NIC ...

              If pings stop coming back, start looking upstream.

              Btw :

              @dcuadrados said in Problems With WAN Loss Cobnection:

              kernel: swp_pager_getswapspace(1): failed

              without consulting, I tend to says : pfSense prepares to use the swap.
              That's a sign you running out of free RAM.
              That's a major issue.
              A native pfSense installation does have a swap space. When it starts to be used, drop the load on your system.

              edit : wait : I consulted. It's worse. You've run out of swap space.
              And that bad. Consider that a mayday situation.
              You're doing huge (?) things with your firewall. That, by itself, could make the system unstable.

              @dcuadrados said in Problems With WAN Loss Cobnection:

              watchdog service

              And you're not using it, I hope. The service watch dog is a whole problem by itself.

              I'm looking into why the SWAP is being used — maybe too many lists in pfBlocker, which causes a heavy load, although generally the RAM usage is always below 30%, and some systems have 8 GB and others 16 GB.

              Regarding the network card:

              igc0@pci0:1:0:0:	class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x15f3 subvendor=0x8086 subdevice=0x0000
                  vendor     = 'Intel Corporation'
                  device     = 'Ethernet Controller I225-V'
                  class      = network
                  subclass   = ethernet
              igc1@pci0:2:0:0:	class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x15f3 subvendor=0x8086 subdevice=0x0000
                  vendor     = 'Intel Corporation'
                  device     = 'Ethernet Controller I225-V'
                  class      = network
                  subclass   = ethernet
              igc2@pci0:3:0:0:	class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x15f3 subvendor=0x8086 subdevice=0x0000
                  vendor     = 'Intel Corporation'
                  device     = 'Ethernet Controller I225-V'
                  class      = network
                  subclass   = ethernet
              igc3@pci0:4:0:0:	class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x15f3 subvendor=0x8086 subdevice=0x0000
                  vendor     = 'Intel Corporation'
                  device     = 'Ethernet Controller I225-V'
                  class      = network
                  subclass   = ethernet
              

              This is what I have. I'm going to look into the SWAP and memory usage and try to reduce the load.

              Regarding the watchdog service — why do you say it's a problem?

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

                Generally the Service Watchdog should only ever be used for troubleshooting. It can end up restarting things unecessarily. In the worst case it can get stuck in a loop restarting services if the system is too busy to get them restarted before it triggers again. It should never be used on Snort or Suricata.

                But, yes, exhausting the SWAP implies something is using a huge amount of RAM or you have a very large number of crash reports. Both are bad!
                And, I'd also guess it's pfBlocker reloading the lists. But that would be a lot of large lists.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dcuadrados @stephenw10
                  last edited by

                  @stephenw10 OK, I'm going to review everything to see if the errors go away, and I’ll monitor how everything behaves.

                  1 Reply Last reply Reply Quote 1
                  • D
                    dcuadrados
                    last edited by

                    Good evening:

                    The same thing just happened to me — the WAN is marked as offline. The monitoring is set to ping the router itself, 192.168.0.1. I change it to 8.8.8.8 just now

                    The system starts getting overloaded at 20:44, and at 20:45 it reports this:

                    2025-06-25 21:25:00.750831+02:00	dpinger	18527	send_interval 500ms loss_interval 2000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 500ms loss_alarm 20% alarm_hold 10000ms dest_addr 10.10.11.1 bind_addr 10.10.11.1 identifier "OPENVPN_NET_VPNV4 "
                    2025-06-25 21:25:00.714661+02:00	dpinger	17993	send_interval 500ms loss_interval 2000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 500ms loss_alarm 20% alarm_hold 10000ms dest_addr 8.8.8.8 bind_addr 192.168.0.254 identifier "WANGW_nueva "
                    2025-06-25 21:25:00.699415+02:00	dpinger	60730	exiting on signal 15
                    2025-06-25 21:25:00.656404+02:00	dpinger	61082	exiting on signal 15
                    2025-06-25 20:45:19.129992+02:00	dpinger	60730	WANGW_nueva 192.168.0.1: Alarm latency 200us stddev 527us loss 21%
                    

                    In the general logs I only see this:

                    2025-06-25 20:45:19.249573+02:00	snort	70534	[1:2403366:101155] ET CINS Active Threat Intelligence Poor Reputation IP TCP group 34 [Classification: Misc Attack] [Priority: 2] {TCP} 20.65.177.212:50259 -> 192.168.0.254:11740
                    2025-06-25 20:44:52.902718+02:00	snort	70534	[1:2403344:101155] ET CINS Active Threat Intelligence Poor Reputation IP TCP group 23 [Classification: Misc Attack] [Priority: 2] {TCP} 20.168.0.84:49415 -> 192.168.0.254:9529
                    2025-06-25 20:44:25.727669+02:00	snort	17463	[1:2029509:2] ET POLICY Observed DNS Query for Suspicious TLD (.management) [Classification: Potential Corporate Privacy Violation] [Priority: 1] {UDP} 10.10.10.2:53452 -> 10.10.10.1:53
                    2025-06-25 20:44:12.110295+02:00	snort	70534	[1:2010937:3] ET SCAN Suspicious inbound to mySQL port 3306 [Classification: Potentially Bad Traffic] [Priority: 2] {TCP} 64.62.197.53:42048 -> 192.168.0.254:3306
                    2025-06-25 20:44:12.051880+02:00	snort	70534	[1:2402000:7407] ET DROP Dshield Block Listed Source group 1 [Classification: Misc Attack] [Priority: 2] {TCP} 64.62.197.53:42048 -> 192.168.0.254:3306
                    2025-06-25 20:43:45.293063+02:00	snort	70534	[1:2402000:7407] ET DROP Dshield Block Listed Source group 1 [Classification: Misc Attack] [Priority: 2] {TCP} 91.196.152.221:9960 -> 192.168.0.254:21295
                    2025-06-25 20:43:26.798973+02:00	snort	70534	[1:2403486:101155] ET CINS Active Threat Intelligence Poor Reputation IP TCP group 94 [Classification: Misc Attack] [Priority: 2] {TCP} 57.129.64.10:33405 -> 192.168.0.254:8451
                    2025-06-25 20:42:08.685717+02:00	snort	70534	[1:2402000:7407] ET DROP Dshield Block Listed Source group 1 [Classification: Misc Attack] [Priority: 2] {TCP} 65.49.1.169:49230 -> 192.168.0.254:143
                    2025-06-25 20:41:37.879948+02:00	snort	70534	[1:2403330:101155] ET CINS Active Threat Intelligence Poor Reputation IP TCP group 16 [Classification: Misc Attack] [Priority: 2] {TCP} 20.106.196.31:41654 -> 192.168.0.254:1080
                    2025-06-25 20:41:31.596387+02:00	snort	70534	[1:4000000:1] Intento SSH [Classification: Misc activity] [Priority: 3] {TCP} 204.76.203.83:51406 -> 192.168.0.254:22
                    2025-06-25 20:41:25.329334+02:00	snort	17463	[1:71074:1] microsoft [Classification: Misc activity] [Priority: 3] {TCP} 10.10.10.2:55470 -> 13.85.23.206:443
                    2025-06-25 20:41:15.101913+02:00	snort	70534	[1:2402000:7407] ET DROP Dshield Block Listed Source group 1 [Classification: Misc Attack] [Priority: 2] {TCP} 198.235.24.101:56931 -> 192.168.0.254:5985
                    2025-06-25 20:41:09.858778+02:00	snort	17463	[1:71074:1] microsoft [Classification: Misc activity] [Priority: 3] {TCP} 10.10.10.130:61457 -> 52.167.222.13:443
                    2025-06-25 20:40:55.527774+02:00	snort	17463	[1:71074:1] microsoft [Classification: Misc activity] [Priority: 3] {TCP} 10.10.10.2:55462 -> 20.73.194.208:443
                    2025-06-25 20:40:06.266021+02:00	snort	70534	[1:2402000:7407] ET DROP Dshield Block Listed Source group 1 [Classification: Misc Attack] [Priority: 2] {TCP} 204.76.203.220:36665 -> 192.168.0.254:17000
                    2025-06-25 20:40:03.159113+02:00	snort	70534	[1:2403466:101155] ET CINS Active Threat Intelligence Poor Reputation IP TCP group 84 [Classification: Misc Attack] [Priority: 2] {TCP} 47.251.68.250:12393 -> 192.168.0.254:12112
                    ...
                    

                    So basically just Snort blocks.

                    In the DNS Resolver logs I see:

                    2025-06-25 20:45:23.427610+02:00	unbound	51421	[51421:2] info: 10.10.10.130 client.wns.windows.com. A IN
                    2025-06-25 20:45:23.366522+02:00	unbound	51421	[51421:3] info: 10.10.10.130 client.wns.windows.com. A IN
                    2025-06-25 20:45:22.211546+02:00	unbound	51421	[51421:3] info: 10.10.10.130 geo.prod.do.dsp.mp.microsoft.com. A IN
                    2025-06-25 20:45:21.934996+02:00	unbound	51421	[51421:2] info: 10.10.10.130 settings-win.data.microsoft.com. A IN
                    2025-06-25 20:45:21.839643+02:00	unbound	51421	[51421:2] info: 10.10.10.130 licensing.mp.microsoft.com. A IN
                    2025-06-25 20:45:21.170553+02:00	unbound	51421	[51421:3] info: 10.10.10.130 _ldap._tcp.dc._msdcs.topalia.es. SRV IN
                    2025-06-25 20:45:20.926628+02:00	unbound	51421	[51421:2] info: 10.10.10.130 settings-win.data.microsoft.com. A IN
                    2025-06-25 20:45:20.860774+02:00	unbound	51421	[51421:2] info: 10.10.10.130 settings-win.data.microsoft.com. A IN
                    2025-06-25 20:45:20.830911+02:00	unbound	51421	[51421:3] info: 10.10.10.130 licensing.mp.microsoft.com. A IN
                    2025-06-25 20:45:20.764018+02:00	unbound	51421	[51421:3] info: 10.10.10.130 licensing.mp.microsoft.com. A IN
                    2025-06-25 20:45:20.547495+02:00	unbound	51421	[51421:2] info: 10.10.10.130 _ldap._tcp.dc._msdcs.topalia.es. SRV IN
                    2025-06-25 20:45:20.201110+02:00	unbound	51421	[51421:2] info: 10.10.10.130 geo.prod.do.dsp.mp.microsoft.com. A IN
                    2025-06-25 20:45:20.138644+02:00	unbound	51421	[51421:0] info: 10.10.10.130 _ldap._tcp.dc._msdcs.topalia.es. SRV IN
                    2025-06-25 20:45:19.583488+02:00	unbound	51421	[51421:2] info: 10.10.10.130 _ldap._tcp.dc._msdcs.topalia.es. SRV IN
                    ...
                    

                    Honestly, I don’t know where else to look — I’m lost at this point...

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

                      You're running Snort on WAN? In blocking mode?

                      Can you see what the per core CPU usage is when this happens? Like is one core stuck at 100%? Try using at the CLI: top -HaSP

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dcuadrados @stephenw10
                        last edited by

                        @stephenw10 yes i use snort in wan in blocking mode,

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

                          Are you hosting services behind the firewall? You have port forwards or routed traffic?

                          Otherwise running Snort on WAN if generally pretty useless. You just see alerts for all the drive-by traffic hitting the WAN and it's all blocked by the firewall anyway.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dcuadrados @stephenw10
                            last edited by dcuadrados

                            @stephenw10 I have OpenVPN and some services (ACME) published, although I try to limit access using GeoIP. Could Snort be the cause of the blocks?

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

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              The system starts getting overloaded at 20:44, and at 20:45 it reports this:

                              The first (== last events) lines are dpinger reloading, as a WAN event happened.
                              These events were (the previous two events) : it was killed. The most common reason is : the WAN went down.
                              The initial event (line at the bottom) : dpinger ... pings every 500 ms the ping-destination. You picked "8.8.8.8". packets; 21 %, didn't come back anymore.
                              WAN uplink saturated ? remember : ping or the ICMP protocol has a low priority, so any upstream (ISP or further along) router can decide to drop these packets. The result will be : your ISP connection goes down.
                              That's why picking "8.8.8.8" is a quick and very dirty, easy solution.
                              Way better would be to pick a nearby, closer to you, 'main' ISP router. Find one is not many hops (a hop is a router) away, and that replies to ping.

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              yes i use snort in wan in blocking mode,

                              That's like driving on the highway during the night, and you cut the head light to see how far you can go ....
                              Or standing in the middle of the Florence supermax prison in Colorado, and start insulting everybody. You'll be a head-line within minutes.

                              Consider this : we, the small players in the Internet world, with our pfSense, we shall not pay attention or 'scan' incoming WAN traffic that wasn't directed to our LAN(s)devices, or : filter traffic that wasn't a reply to a request coming from our LAN device, or : don't touch/look/scan/use/do something with useless random WAN traffic on your WAN interface.

                              Imagine : I know your WAN IP. I - just me - start sending many packets to your WAN IP with content that is known to trigger for example 'snort'. Every packet that get hit and detected by snort will consume 'millions' of extra CPU cycles : your pfSense goes in 100 % over drive mode. Every positive detected packet will get a line in the log, one for every packet - see your example.
                              I'll send you loads of small packets with a payload that make snort trigger : I'll saturate your disk.

                              So, just me, with my 5 Gbits /sec upload can saturate your pfSense easily.

                              Now you start to understand why you shouldn't use snort on WAN.
                              The default firewall behavior will be : black hole the traffic : this is fast, easy to implement (it's the default method) and you're not at risk.
                              True, you can't tell anymore that the Internet is a dark place. But guess what : we already knew that.

                              That said, no one isn't forbidding you to do whatever you want with your pfSense.
                              I'll hope you get the humor now : you post on the forum that you have WAN issues ...*
                              No sh*t 😊 .....

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              although I try to limit access using GeoIP

                              That's the way to go : it's fast, clean, you use pf as it was inteded to be sued.
                              Not 100 % foolproof of course, as this method allows your neighbor, using nearly the same WAN as you, so your GeoIP rules will accept the traffic.

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              services (ACME) published

                              ? How so ? You're using the build in http mode ? That method, and the rock bottom manual one, are 'last resort' solutions. Any other DNS API method is to be preferred, by far.
                              Normally, you should pick a registrar, the one from who you rent your domain name from, with the condition it offers you a DNS API method. Way easier. No open ports. No risk.

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              I have OpenVPN

                              OpenVPN server, right ?
                              That's an exception. The OpenVPN server port (UDP 1194) doesn't need to be protected. It's meant to be used like that, it can handle the incoming rubbish.
                              That said, I do, as you, have a WAN GEO IP filter rule that only accepts connection from 'Europe' so as long as I stay in Europe, I can connect. The rest of the planet : nope.

                              @dcuadrados said in Problems With WAN Loss Cobnection:

                              Could Snort be the cause of the blocks?

                              Possible.
                              Imagine this situation : snort detects a bad packet, so it puts the source IP into it's 'snort' alias table, and asks pf to reload the rules (and tables) => reloading the firewall rule set.
                              Now, you receive 'many' such bad packets.
                              The firewall will get reloaded as often. It will actually spend its time reloading, not filtering.
                              What do you think will happen with your quality of your uplink connectivity ?

                              So, you can use snort of course.
                              But first : get a big uplink, like a 5+ Gbit / sec connection. I say "5"so you'll know your connection is bigger as the vast majority of the other Internet users.
                              Get a good NIC, with the same or better speed.
                              Get a good processor, go Xeon, assume the electricity bill. Get an airco to chill things down.
                              Get a big classic plated, spinning drive. Not a ssd or whatever thing.
                              Go 'iron mode'. So no VM ...
                              Now you can use snort and detect the bad ones 😊

                              Btw : your system will still go down when you get DDOSsed ....
                              Don't do this : The Man Who Angered Anonymous And Lived To Regret It.

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

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                dcuadrados @Gertjan
                                last edited by

                                @Gertjan said in Problems With WAN Loss Cobnection:

                                DNS API

                                Thank you very much for your response. I had been meaning to set up ACME for a while, but honestly, I hadn’t done it out of laziness. I’ve now configured it, although I had the port open for only 30 minutes and restricted to IPs from the USA. But this way is definitely better—and it also lets me remove a pfBlocker list.

                                Regarding SNORT, I’m going to remove it from the WAN. To be honest, I set it up back in the day, but it really doesn’t make much sense—especially since all incoming WAN traffic is blocked by default, and what is open is only allowed for IPs from Spain (and if someone travels, we open access for that country).

                                In pfBlocker, under IP > Inbound Firewall Rules, it might also be a good idea to remove WAN.

                                As for the monitoring IPs, I’ll look for one that’s closer, although 8.8.8.8 replies in 5ms. I’ll try with another one. For now, I’m going to test all these possible solutions you’ve suggested. Thanks again for everything!

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

                                  Yeah I would at least try disabling Snort on WAN and see what happens. If OpenVPN is the only service externally available that's not s big risk.

                                  Running Snort like that means the alerts are pretty much useless because you will be seeing them continually. But more importantly it also increases the CPU loading significantly in the event of a flood of traffic. That makes it much more likely to start dropping packets if a CPU core is maxed out.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    dcuadrados @stephenw10
                                    last edited by

                                    @stephenw10 perfect, i just delete WAN interface from Snort and only use LAN

                                    0501b1ae-3036-4e4e-97da-b6e65541995d-image.png

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

                                      @dcuadrados

                                      Now you behave as the responsible Internet user ! 👍

                                      As soon as snort sees that you send out suspected traffic, you can deal with it locally.
                                      If some device is requesting suspected traffic from the Internet : same thing : go visit the user.

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

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        dcuadrados @Gertjan
                                        last edited by

                                        @Gertjan I’m going to monitor the behavior, hoping for stable WAN performance with no more disconnections or freezes. I’ll keep you updated if anything comes up, and thank you so much for everything!

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

                                          @dcuadrados said in Problems With WAN Loss Cobnection:

                                          no more [WAN] disconnections

                                          Your pfSEnse LAN is connected to switch. This connection normally never goes down.
                                          Exactly the same thing is true for the WAN NIC. It will stay up forever.

                                          For the LAN switch, to do things even better, hook it up,to same UPS as the one pfSense uses, now even power won't bother you anymore.
                                          Do the same thing for the WAN upstream device.

                                          That said, there is something else, to consdier for the WAN interface.
                                          You, as an admin, gave pfSense the order to 'reset' the WAN interface if the ping test starts to fail.
                                          If ping pacquets don't come back, something is wrong on the router to the ping destination.
                                          This could be (hopefully) a local issue, so pulling down the WAN will 'inform' the upstream device to re create the connection. This was valid in the past when people where using cable modems and kind of upstream ISP devices, but way less an issue these days. If the connection goes down or bad because a satellite is hiding behind a cloud, you can have the WAN interface pulled down as many times as you want, it won't un-hide the satellite.
                                          You can, depending on your type of connection, de activate the dpinger action :
                                          Uncheck :
                                          226cdfc8-2884-47b7-b6fd-0c43b65239c9-image.png

                                          and from now on pfSense won't touch the WA interface anymore.
                                          It's still possible that the device on the other side of the WAN cable pulls the connection down : that's ok, and you can't do anything about it. (except maybe looking for a more stable ISP, if one exist).

                                          The the issue is more upstream, you can't do anything about it, except waiting.

                                          Keep in mind that ICMP (ping) packets also can get lost (dropped) if you saturate the connection.
                                          Solution : stop doing so - or, for example, create 'pipes' where you can prioritize ICMP packets.
                                          Or call you ISP and ask them for the "max" they can make available to you.

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

                                          D 2 Replies Last reply Reply Quote 0
                                          • D
                                            dcuadrados @Gertjan
                                            last edited by

                                            @Gertjan Thank you so much for everything. I’m going to see if, with the current configuration, the WAN dropouts stop. Obviously, as you said, if the ISP goes down there’s not much that can be done—but in those cases, it usually comes back on its own if the ISP is completely down.

                                            I’ll see how things go now with the changes made and hope for better performance. I’ll keep you updated. Thanks a million!

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