How to alter IP restriction to access virtualmin control panel?

SYSTEM INFORMATION
OS type and version Ubuntu Linux 18.04.6
Virtualmin version 7.7-gpl-3

About 4 years ago, I restricted my Virtualmin control panel to only allow access from a specific IP address, the static IP assigned to my home. It’s been several years since I’ve touched anything on this server (clearly) and have no memory of where anything is. I have a document with all my passwords and can get in via SSH, but did not note how I did this restriction.

My IP has now changed and is likely to never be the old IP again. The proper url to the Virtualmin control panel is giving me a 403, as well it should. Usermin control panel is responding on the proper port.

How do I fix this so I can access Virtualmin again?

See “Webmin ⇾ Webmin Configuration: IP Access Control” page.

He can only get in via SSH

For SSH, check /etc/webmin/miniserv.conf for the allow= and deny= directives, then restart Webmin after editing the file with:

systemctl restart webmin
1 Like

Thanks, it was in the allow directive! All good now.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.