Are US pilots permitted to carry & use their firearm in countries where guns are illegal?
Once you land you have to abide by the laws where you are. In the US federal laws (if there are any), when flying in US airspace.

Most US laws about airports and guns, only apply to the secured space. (Inside security), not the GA ramp or anyplace else.