Fluid extraction across pumping and permeable walls in the viscous limit