← HeatShield Docs

Securing Webmin with a Firewall

If you use Webmin on your server, you can create a ruleset in HeatShield to limit access to only your server's administrator. If you have multiple servers using Webmin, you can apply this ruleset to each of them.

Webmin supports a number of firewall control modules that, if used, would conflict with HeatShield's functioning. If you are going to use HeatShield and Webmin, please avoid using any other firewall packages.

Creating the Webmin Ruleset

First, connect your server to HeatShield and upgrade it to use custom rulesets.

Then, open your Rulesets page and click Create Ruleset.

Next, name your ruleset and click Create Ruleset.

Now, create a new firewall rule by selecting the policy, the destination, and the source.

Set the Policy to Allow.

Select Custom from the Destination dropdown and enter TCP 10000 as the Webmin port.

Select Custom from the Source dropdown and enter the first IP address you want to allow access to Webmin. This would be from your office or your server administrator's office, for example. Click Add.

Repeat this step for each additional IP address or range of addresses you want to allow access to Webmin. You'll have a list similar to this example:

Applying the Webmin Ruleset

To apply your new Webmin ruleset to your server, open the server in HeatShield.

Select your Webmin admin ruleset from the drop-down list and click Apply Ruleset.

Your new ruleset will be applied.

Advanced security for your WordPress sites