Control of particle and energy transport across the boundary of a Tokamak plasma