Wirtualmin access restriced to IP - how to reset via SSH

7 posts / 0 new
Last post
#1 Wed, 06/15/2016 - 15:21
Interact

Wirtualmin access restriced to IP - how to reset via SSH

I have had restricted access for root to Wirtualmin to one IP - now I'm got locked as IP was changed and need to reset it via SSH. Where can I find those settings via terminal access?

Thanks

Thu, 06/16/2016 - 14:25
unborn
unborn's picture

Hi,

I would suggest you to edit that config from webmin/virtualmin interface in your browser.

Configuring/troubleshooting Debian servers is always great fun

Thu, 06/16/2016 - 14:57
Interact

How can I edit that when I have locked access to webmin/virtualmin from my IP and was restricted to different which has changed. I have access to that box as a root only via SSH or a console

Fri, 06/17/2016 - 05:18
unborn
unborn's picture

I see - you restricted access to the box for external IP? If srv is on same lan, and restriction was made for local ip, then it would be easier, however if the case is external IP and your server is within some hosting company, you may have to phone them to make those changes from local terminal.. that seems to me the only option. If you have server in home or have physical access to it, then just log in to it directly and edit sshd config..

Configuring/troubleshooting Debian servers is always great fun

Fri, 06/17/2016 - 13:59
Interact

I'm locked to the Webmin access (web access) not SSH. I can connect via SSH and locally via terminal so I need to unlock Webmin access which was set under Webmin Users -> root -> Security and Limits options -> IP access control

Sat, 06/18/2016 - 04:13
unborn
unborn's picture

Hi, you can edit nano /etc/webmin/miniserv.conf and once options changed you need to restart with services webmin restart and you should be able to log in.

Configuring/troubleshooting Debian servers is always great fun

Mon, 06/20/2016 - 11:03
Interact

Which option to change? Anyway - I have edited miniserv.users to add new IP.

Thanks

Topic locked