What port is webmin using and configuring your firewall for webmin

Webmin is an open source control panel for web-hosting . We have already discuss about how to install Webmin on CentOS server, You can check this link to see how to install webmin on CentOS.

Configuring Your Firewall onWebmin

Some operating system block webmin access on default port (10000) . In that case you need to add firewall rules to access webmin port(Open webmin port in firewall)
Step 1:
Login to server via SSH as root
Step 2:
Add the following rule in your server firewall to open webmin port(10000)

iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
/etc/init.d/iptables restart

Note: Run this command to view rule is added or not:

'iptables -L -nv --line-number'

That’s it. I hope this will help you to access and add rule for your webmin server.

 

Leave a Reply

Your email address will not be published. Required fields are marked *