An integral protein of a cell membrane that actively transports ions from one side of the membrane to the other.