In the Auckland District Court today, Judge Ema Aitken said the scam was a "relatively sophisticated" one, probably run in Nigeria.
Rana was initially unwittingly involved, but then he became aware of what was happening and even accessed bank accounts via the internet, causing a loss of about $90,000 to the banks involved.
A police summary says Rana's role "progressed from merely a mule" to an "organiser and instigator" of the fraud.
Defence lawyer Petrina Stokes said Rana first came to New Zealand in 2010 to study a post graduate diploma in international business at AUT.
He failed the qualification but returned in 2012 to study full time, while he lived at university hostel. A room mate introduced him to gambling and despite some initial success, Rana became addicted, his financial woes bloomed and he had to move from the into a backpackers.
It was there he was introduced to the money muling scam, although at first he thought he was helping a friend by lending him his back account, Ms Stokes said.
Rana now had a sizeable student loan from India and had blotted his previously conviction-free record.
"He situation is one that's probably reflected by his circumstances, his lack of support in New Zealand and his financial circumstances," Ms Stokes said.
Judge Aitken said Rana's involvement in the scam was "regrettable and somewhat out of character".
"I accept that you are very deeply remorseful and you would like to turn back the clock."