$\begin{array}{1 1}\text{Towards cathode in an electrolytic cell and towards anode in a galvanic cell}\\\text{Towards anode in an electrolytic cell and towards cathode in a galvanic cell}\\\text{Towards cathode in both types of cells}\\\text{Towards anode in both types of cells}\end{array} $