Internet randomly stops after some time
-
I have setup with a pfSense firewall running behind a fritzbox router as an exposed host. At seemingly random intervals (a few hours to a few days) the internet stops working and I then need to reboot the fritzbox to make it working again. No internet means in this case that I cannot ping 8.8.8.8 in Diagnostics -> Ping.
This happens with two separate installations of pfSense and is only affecting that particular device behind the fritzbox. When connecting a laptop to another LAN port on the fritzbox, the internet works just fine.
Do you guys have any idea what could cause this behaviour?
-
Hmm, that seems familiar.
First determine exactly what is failing. Can pfSense itself still ping the fritxzbox? Is the WAN still UP and active?Steve
-
Thanks Steve for your suggestions. I am quite sure that both is the case, but I will check that as soon as it is failing again.
-
Okay, I had the chance to check this now and I can answer both your questions with yes. The WAN gateway still shows as up in Status -> Interfaces and I can still ping the Ipv4 Gateway.
-
So pfSense can ping the ISP gateway but nothing beyond that?
What error is shown when you try to ping something external?
Check Diag > Routes. Does a default route exist? Is it via the WAN gateway?
If it doesn't exist make sure the WAN is set as the default gateway (not auto) in System > Routing > Gateways.Steve
-
Right, the default route is configured for the wan gateway.
I am not sure in regards to the ping, but it was something like a normal timeout. I will check that the next time it occurs.
-
Hmm, if it has a correct route and can ping the default gateway that starts to look like an upstream problem.
You could run a packet capture on WAN whilst pinging just to make sure the pings are actually leaving WAN with the correct details.Steve