First, I'm a noob, so please, if you can help, do it in a way I can understand what you're saying.
The problem I have is that I want to change the webmin's port (from 10000 to whatever else) and the SSH port (from 22...).
I've tried a couple of times and almost locked myself outside of the server.
Now, corect me (or complete this) if I'm wrong:
- I change the port in the firewall (for webmin) from 10000 to, let's say, 12345;
- Then I change the port the webmin's settings from 10000 to, again, 12345;
- Same with SSH;
Is there something I'm missing?
Everytime I do this I can't connect after that. Luckly I've tried them one by one, so when the webmin didn't load I could fix the original ports from within SSH and the other way.
Please tell me how to change those settings. I'm kin of worried since more and more alerts is sending me the denyhosts script lately - I'd like to change those ports as a security improvement.
Thank you!
Bookmarks