Driven diffusion against electrostatic or effective energy barrier across $alpha$-hemolysin