There is no such requirement and you would usually not be legally pass a border with a gun.
Which of the following sentences is nonsensical?
Options:
- "you need a gun to travel abroad."
- "you need a passport to travel abroad."