Simple non-return valve with rubber valve that presses into a thru-hull or skin fitting to provide resistance against back flow. Available in 22mm and 25mm sizes (external diameter of the black housing)
Note that this will not prevent 100% of water from flowing back, particularly if the water is under pressure.