This is not a Gemini issue, this is a network issue. If you want to access your Gemini from anywhere, you need to configure your router to do port forwarding on port 22 (ssh port). You can find more information about that on the internet. Once your router is configured, it will forward all port 22 requests to your Gemini.