Their only connection with the outside is through a small pore called ostiole.
From the en.wikipedia.org
Female wasps squeeze their way through the ostiole into the interior of the syconium.
From the en.wikipedia.org
The ascomata are light brown in color, but darker around the ostiole.
From the en.wikipedia.org
More examples
A small pore especially one in the reproductive bodies of certain algae and fungi through which spores pass
An ostiole is a small hole or opening through which algae or ascomycetal fungi release their mature spores. The term is also used in higher plants, for example to denote the opening of the involuted fig inflorescence through which fig wasps enter to pollinate and breed.
(ostiolar) Of or pertaining to the ostiole
The opening at the top of many fungal fruit bodies (perithecia, pycnidia, puffball basidiomata) through which spores escape or are expelled.
A pore or opening in an organ, e.g. the pore at the apex of a fig.
(1) the cavity (often lined with periphyses) ending in a pore, in the papilla or neck of a perithecium; (2) any pore by which spores are freed from an ascigerous or pycnidial fruit-body (Hawksworth et al., 1983). adj. ostiolate. cf. stoma.
1. A neck-like structure in an ascocarp, lined with pariphyses, and terminating in a pore. 2. The opening of a pycnidium. (23)
Opening in wall of fruiting body through which conidia are released