Does anyone know what the international laws are regarding carrying a firearm aboard a US registered vessel, while traveling through other countries waters or anchored in a harbor while visiting?

I know from past experience that as a USCG licensed Captain I can bring one (or more) firearms into the Bahamas, but we are considering traveling a little further this time.

Thanks

PS a website link would be great