Comment on How to Setup a Secure Ubuntu Home Server: A Complete Guide
uranibaba@lemmy.world 1 day agoWhy change the SSH port of a home server, which most likely is not reachable from the outside anyway?
And if it is, why change it on the server and not in the fw?
truthfultemporarily@feddit.org 1 day ago
If you change it, definitely change it on the server so it shows up in netstat and is consistent.
uranibaba@lemmy.world 18 hours ago
I mean keep using port 22 on the server and redirect whatever port you want in your firewall (your router unless you have a dedicted fw) to port 22. Don’t change the ssh port on the server at all.
truthfultemporarily@feddit.org 17 hours ago
I understand this, but this is inconsistent behavior. You now use 22 inside your network and something else outside. Whenever you create inconsistent behavior, everyone using it has to have an awareness of all these inconsistent behaviors.
Also, it is hard to troubleshoot because the tool most admins would want to use (netstat) will not give you useful information to understand the situation.