The present invention relates to a device for internally diverting an intestinal wall, preferably for protecting an anastomosis at the level of the esophagus (11) comprising a temporary anchoring element (1) of the stent type whose anchorage can be modified in a controlled manner, said stent having radial and longitudinal elasticity properties so that it can be radially compressed in the retracted position to allow its insertion and removal through a natural orifice, preferably the nasal orifice of a patient and adopt a said position of maximum radial expansion after relaxation of the radial compression, said temporary anchoring element being covered on its outer surface with a sealed outer covering (la) for at least part of its length, characterized in that said temporary anchoring element (1) is coupled to a semi-rigid flexible support tube (2) able to extend in length from the natural orifice until downstream of said anchoring element when it is anchored at the level of the intestine, said support tube (2) passing through the internal lumen (2 ') of said temporary anchoring element from one side to the other, said support tube being attached to at least a part of said anchoring element, the assembly of said said support tube covered with said anchoring element in the radially retracted position having an external diameter such that it is capable of being introduced and removed; by said natural orifice, preferably the nasal orifice. La présente invention concerne un dispositif de dérivation interne d'une paroi intestinale, de préférence pour la protection d'une anastomose au niveau de l'œsophage (11) comprenant un élément d'ancrage temporaire (1) du type stent dont l'ancrage peut être modifié de façon contrôlée, ledit stent ayant des propriétés d'élasticité radiale et longitudinale de sorte qu'il peut être comprimé radialement en position rétractée pour permettre son introduction et son retrait par un orifice naturel, de préférence l'orifice nasal d'un pa