Hi, I’m setting up a public wiki using mediawiki and I’d like some help ensuring the server and mediawiki is safely setup before I start sharing it publicly. I installed it on Vultr using the mediawiki app from the Vultr Marketplace. Are there any things I should ensure before publicly sharing the link?
Some things I’ve done so far:
-
I disabled password login to the server so its only possible to login via ssh
-
I made it so I have to approve of any edits to the wiki
-
I still haven’t enabled uploads of files because I want to ensure I only allow jpeg\png uploads.
I’m relatively new to running servers so any tips are highly appreciated.
Could you explain a bit of what these are doing and why you decided on these rules?
Also, isn’t bruteforcing an SSH key near to impossible?
There are 2 extra chains - to log a connection and accept it, and to log a connection and drop it. I’ve only used log and accept for testing.
The default action on input chain is also changed to drop.
SSH port gets connection attempts counted - 20 connections within 10 minutes from the same IP and it goes to log and drop. I could just drop it, but for now I feel immense satisfaction knowing that some bot is waiting for timeout instead of attempting the next username/pass.
I’ve tried a similar thing with https because lemmy.world was dosing me. It did work, but I’ve now commented it out since Lemmy software has become more robust. Lemmy.world still sucks from my, as an instance owner, perspective, but it no longer bombards me periodically.