The problem was due to a bug with the router.
Nothing related to Yunohost, nor the Raspberry, nor Nextcloud (though it only appeared when I was trying to use it).
My Internet provider said it was a known bug on this model (CBN CH7465LG I believe) and changed it for a new one.