I’ve managed to lock myself out of webmin/virtualmin when I was setting up a bit more security.
I was using Webmin >> Webmin Configuration >> IP Access Control
I was following the instructions and entered 192.168.1.0/25 - Hit save and had a message about cutting myself of from 127.0.0.1, so I entered 127.0.0.1, hit save, had a message about IP6 ::1 (neither localhost for ip4 or ip6 is mentioned in the instructions).
Now when I try to open webmin I get the message
403 ERROR
Access Denied For ::1
Which surprises me a little as I have IP6 disabled. Anyway, is there a “file” I can modify to stop the issue? (Just finished building the new server!)
Reminds me of when I tampered with the SSL certs trying to use a self signed one and brought down all my access to webmin. Somebody got me through it by editing a config file to be no SSL for enough time to fix the damage I did.
I like linux, but as you rightly pointed out, it’s also very easy to shoot yourself in the foot! Sometime Virtualmin just makes it that little bit easier!