Duminy hit four straight sixes off Leie's bowling and ran two runs on the fifth ball.
Leie's sixth delivery was a no-ball which was hit for a boundary before Duminy smashed another six off the final ball of the over.
In other words the over flowed as shown: 6-6-6-6-2-5nb-6.
Speaking afterwards Duminy admitted he was trying to hit six sixes in the over.
"It is not every day you get the opportunity, so of course I was trying to go for the six sixes in an over... so I just decided to take Eddie on.
"It was enjoyable," he said.
Duminy retired from Test and first-class cricket last September after he was dropped from the national side.
He played 129 one-day matches for the Proteas scoring 4668 runs with an average of 37.64.