I want to restrict access to the control panel interface to the IP address range of my ISP. At least, that seems like a sensible thing to do in terms of security. How do I do that on v76?
Thanks in advance. Post must be at least 250 characters. Post must be at least 250 characters.
There’s no built in thing. But you could hack the nginx configuration to block access to /admin in this way (I don’t know how though)
Note such a change would probably be overwritten by a nightly script, so that has to be taken into account as well.
Here’s something else that will secure the admin account … MIAB already has two-factor authentication that (if activated) applies to the admin pages (not to email access).
Go to admin / Mail & Users / Two-Factor Authentication.
True, but you can never have too much security, eh?
I tried to lock it down in nginx, the configuration looks okay but evidently doesn’t work in practice. I’ll try again.
I have tried to modify nginx conf, but indeed, it will be overwritten. 2FA does not help much when in one day some bug is found in login logic (or somewhere) of the admin interface or api. All the MIAB installs will be hacked at once. That’s something that bothers me. In my book, everything not needed for the users (starting from ssh) must be closed or hidden from the world, and there is no need to advertise what exact software you using like MIAB does in SMTP banner. Actually there is full list of security tightening things I do before each install or update. Unfortunately MIAB does everything in it’s power to overwrite them.