Webmin Port Number – How to Open Webmin port in Linux Firewall
How to Open Webmin port in Linux Firewall
You can download the latest version of webmin control panel from the website www.webmin.com
Port number of webmin control panel is 10000. Type the below link in your web browser to access webmin control panel
Link to Access webmail on webmin Server : https://YourServerHostname:20000
“YourServerIP” should be replaced by actual server IP address of your Linux Server and “YourServerHostname” should be replaced with your server hostname. Most of the Linux servers will have firewalls installed on it and it will block the ports that are now allowed. You will see errors if the webmin port is not allowed in your server firewall.
After webmin installation you should open the ports 10000 and 20000 in server firewall so that it can accessed via web browser.
Do the below steps to open 10000 port is server firewall :
iptables -A INPUT -p tcp –dport 10000 -j ACCEPT –> this will open port 10000 on the server.
iptables -A INPUT -p tcp –dport 20000 -j ACCEPT –> This will open port 20000 on the server.
After doing the above steps run the below command to save the iptables rules you have added.
command : service iptables save
If you have installed CSF firewall on your server add the webmin ports (10000 and 20000) in the allowed ports in CSF configuration file /etc/csf/csf.conf
Now try accessing webmin control panel in your web browser.