VPS Tutorials for the masses!


WebminIn this VPS Tutorial we will show you how-to Setup Webmin on a VPS or Dedicated Server and then access it securely. Webmin is a popular control panel for Unix and Linux Servers. Originally released in 1997, It allows easy management of most common configuration tasks for a server.

There is really nothing exclusive about setting up Webmin on a VPS versus a Dedicated server so you can use this tutorial for either type of server.

The first thing you will need is a VPS. We recommend ZoomCloud.net‘s VPS systems. Ok enough advertising, ;-)

Next you will need to download and install webmin and its some dependancies. Following these instructions you will have Webmin up and running in no time, and it will be secure as well.

Downloading and Installing Webmin

Webmin is available for many different flavors of OS at www.webmin.com. For this VPS Tutorial, we are going to use the RPM packaged version and will be installing on CentOS 6.

Webmin is written in perl so it will require that be installed along with some other modules and dependancies. As root use Yum to install the RPM so it also installs all those required dependencies for you.

You will get an output something along these lines:

The important part to that output is this line: Webmin install complete. You can now login to http://testing:10000/ as root with your root password.

My VPS’s hostname is testing but I don’t have it configured in DNS yet, so the link is a bit misleading. For now if you don’t have DNS setup either, browse to the ip address instead i.e.

Once you browse to the IP and port, you should get a logon page for webmin that looks like this:


Logon as root with your root password. And you will be brought to the main Webmin screen.

Screen Shot 2014-02-15 at 7.58.53 PM

As you can see there is an update available for Webmin users at the time I am writing this, so just click the button labeled “Install Updates Now” and let that compete. Next we will move on to locking it down and securely accessing webmin.

Securing Webmin

For security reasons, we don’t like leaving webmin open to the internet. You will have an endless stream of people trying to brute force their way into webmin. To keep access secure and brute forcers at bay we block the port used by webmin in IP Tables, TCP port 10000, and instead we will access webmin’s port over an SSH tunnel that forwards TCP port 10000.

We will assume you already know how to block and open ports using IPTables. If you need to learn how to secure your VPS using IPTables, take a look at our previous VPS Tutorial on that exact subject.

To access webmin over a port forward use the following command replacing with your servers IP address.

Now to access webmin open your Web Browser and goto You can then logon with the root password as you did before. Now all the traffic is going over the SSH tunnel and is encrypted.

You should always take security considerations when using webmin. Webmin is a great AND powerful control panel that can manage just about anything on your server. It would be a hackers dream to get access to this, and they could do untold amounts of damage to your systems.

Enjoy using Webmin Securely!