Webmin Port Number – How to Open Webmin port in Linux Firewall

How to Open Webmin port in Linux Firewall

 

Webmin is a web Based system administration tool developed by Jamie Cameron for linux servers. After installing webmin control panel you can manage users, websites, FTP accounts, databases, files, DNS, packages etc through web browser. Webmin is used by many site owners because it a free and user-friendly webhosting control panel.

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

https://YourServerIP:10000

OR

https://YourServerHostname:10000

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
 

Open Webmin Port number in Server Firewall

Open Webmin Port number in Server Firewall


 
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
 

[root@server ~]# vi /etc/csf/csf.conf
TCP_IN =10000,20000

 
Now try accessing webmin control panel in your web browser.