No internet connection on FreePBX debian box

Hey All,

I’ve set up debian 12, then installed a FreePBX set up. from SSH I can ping my router, but if I try to ping 8.8.8.8 it fails - In system admin, wired networks I’ve got the ethernet set as a static and the gateway is the router.

I cannot see anywhere else I need to set up to get the pbx to see the internet?

Can anyone help please?

What is the output of traceroute ?

If you can ping your router but not 8.8.8.8, then this isn’t a DNS issue, it’s usually a routing or gateway problem.

Double-check that the default gateway is actually being applied by Debian, not just shown in the FreePBX interface. From the console, run ip route and make sure you see a default route pointing to your router’s IP address.

Also verify that the subnet mask, gateway, and IP address are all in the same network range. I’ve seen cases where the interface looked correctly configured in FreePBX, but the underlying Debian network configuration wasn’t updated properly.

Can you post the output of:

ip addr

ip route

That should make it easier to see where the traffic is getting stuck.

I forget which file that ailed ME, but there’s a file in the directories (I forget where) that was misconfigured, do a quick google search on your issue and see if you can find the file, it was MY problem child, but again, I sadly don’t remember which one, I was just haphazardly searching and going through files

The primary network configuration on Debian 12 is in /etc/network/interfaces file and/or files located in the /etc/network/interfaces.d/ directory. You might want to check in those places for conflicts, typos, file permission issues, etc. Rebooting the system after changes is often the cleanest way to confirm modifications were successful.

Thank you, I don’t know why I failed so miserably to think of those