A study on pressure-driven gas transport in porous media: from nanoscale to microscale