EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-03 02:36 AM . Last Modified: 2024-04-09 12:14 AM
Hi,
As part of a standard security configuration, i have restricted access to the Webmin page of the DCO nodes to a specified IP list/VLAN. We have recently moved buildings and the old VLAN ranges are not available and i have forgotten to update the access list before the move.
How can I gain access to the Webmin interface to update this access list?
Many thanks, Mike
(CID:106203374)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-03 02:36 AM . Last Modified: 2024-04-09 12:14 AM
Hi Mike, I think the configuration files for the IP access control would be /etc/hosts.allow and /etc/hosts.deny. I would try "ssh log in" to the server, edit the file /etc/hosts.allow (using vi-editor or nano), and then add the IP for the workstation/host that needs Webmin access, so I can log in to Webmin and update the list. Kind regards
(CID:106203398)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-03 02:36 AM . Last Modified: 2024-04-09 12:14 AM
Hi Jef,
Unfortunately this had no effect but I have now managed to resolve the issue after some workarounds.
I had to spin up a temporary virtual machine on the old VLAN to gain access whilst I set the restrictions on all nodes to allow all. However, this wasn't enough to allow me to access from the new site and in the end had to resort to manually editing the iptables via an SSH session to each host. There was an entry remaining in the iptables that was still restricting access despite them being removed from the Webmin interface. by adding a line similar to the below to the iptables and removing the line specifying the old restriction I am now able to access the interfaces again:
iptables -l INPUT 19 -p tcp s IPSUBNET -dport webmin -j ACCEPT
Needless to say this was not an ideal solution but it did work.
Regards, Mike
(CID:106203929)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-03 02:36 AM . Last Modified: 2023-10-31 10:52 PM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.