Use the ssh add-on and install tcpdump.
apk add –no-cache tcpdump should do it. Not sure if the ssh add-on interface will show you everything but its worth a shot.
Source: Is there a tcpdump addon for hassio? – Home Assistant OS – Home Assistant Community