It depends on your country of origin. If you have a Mozambican Embassy in your mother country always ask there for information because they will probably ask you for getting a visa in advance. But visas can be also treated at land borders and at the airport.