WiFi connected but can’t reach most sites (18.10)

There is this computer that i got from work, it works well on work’s wifi, but when i bring it home wifi is connected but does not work. All my other devices, including my personal pc works just fine at my wifi.

I can access sites like google, youtube and fast.com, but if i try to ping 8.8.8.8 i get 100% packet loss. Or if i try to access basically any other site it doesn’t work (i get timed out)

Things i tried:

Disabling IPV6.

Adding 8.8.8.8 and 8.8.4.4 to /etc/resolv.conf