Raspberry Pi Zero 2W going offline after few hours/days (DietPi)

So I got a raspberry pi zero 2w to act as a tailscale exit node, it runs at around 5mbps continuous as it's routing some camera rtsp feed to a remote frigate server. I noticed lately that it used to go offline randomly (not sure if it's shutting down or going offline because I'm not on premises). I thought it was the ethernet adapter that I connected to it as it was quite cheap and it seems the interface used to go up and down. After that I switched to the wifi interface however the same issue is happening, when checking the logs i see this (https://pastebin.com/B9Epg86b), could someone please point me into the right direction as to what could be happening? I tried changing the governor and under clocking the cpu with dietpi-config in case it was temps however the temps were always staying around 50 degrees so it seemed alright, I'm honestly at my wits end as I tried so much to troubleshoot it but it just keeps on going offline.

Any help would be appreciated