A biological porin engineered into a molecular, nanofluidic diode.