Front blocking and propagation in cylinders with varying cross section