I am trying to set up several server to which I can SSH from outside networks and the following things come to mind.
If I use a solution similar to this previous question then it means that I can only forward 1 ssh port 22.
Possible options:
Should I just give all of the servers different non-standard ssh ports? That seems to be a good idea for security and being able to keep the same solution of port forwarding.
- The other option is to setup a VPN to my home network and then keep all SSH access within my local network. Is this last option more secure, the same, or less secure than option 1?
Finally, is there any other way you would implement this? are there any workarounds to check what my home server IP is from the outside network given the fact that I don't have a Static IP.
Answer
If you have the option to use a VPN, I would take that route. While forwarding the individual SSH sessions would work, a VPN gives you a lot more flexibility. You only need to worry about VPN access and then you have the ability to use any port or service per machine.
No comments:
Post a Comment