Gating and conduction of nano-channel forming proteins: a computational approach