Fired at the muzzle, a representative .308 Winchester load (9.5 g, FMJ, 840 m/s) reaches roughly 173 mm (6.8 inches) into packed sand. That is enough to defeat a typical barrier of this material — treat anything behind it as exposed.
Packed sand (~150 mm), e.g. a single sandbag.