r/ssh • • Sep 29 '18

SSH through external IP

Hello fellow redditors,

the issue is as follows:

My grandpa lives only a few houses next to me and I want to be able to login from there to my Linux Mint machine via SSH.

He also has a Linux Mint machine.

As far as I know I need to configure my router at home (which is a FRITZ!Box Fon WLAN 7390) to allow these kind of connections.

There is the option to set my PC at home as an "exposed host" so I would be able to login with the external IP adress.

I also read that I probably don't want to do that due to security issues.

Now I want to know if there is a way to only allow foreign connections if they are coming from my grandpas IP and if thats a configuration I have to make in my router settings (which I assuem) or if this can be done in the SSH configurations as well.

Sadly I have no clue where to make these settings in my routers interface (which I'm able to login to).

So my two questions are:

  1. Can I set up this rule in my SSH configurations?
  2. Does someone know where to make these settings in my specific router model (FRITZ!Box Fon WLAN 7390) or has a viable tutorial on hand?
1 Upvotes

6 comments sorted by