It's not international waters.
> if Iran is allowed to do this
They have sovereignty and they only ever mentioned doing this to pay for reparations after being attacked by two countries that have been allowed to routinely attack/exploit the Middle East and, in the case of one, carry out genocide.
As an aside, the war is largely seen as being waged for the sake of Israel, against US/world interests.
> Indonesia will tax the Malacca strait... a lot of countries... attacking each other
Pure fearmongering, in no way different from "think of the children and of the terrorists".