CSF on a Ubuntu VPS

lysharia

New Member
Messages
17
Reaction score
0
Points
1
Hi, guys!

So, you want to install a firewall on your VPS. You've chosen the OS, got the VPS, and now you're wondering how you can protect your server.

NOTE: THIS WILL NOT WORK WITH CPANEL. DO NOT TRY INSTALLING WEBMIN ON CPANEL!

Note2: READ the CSF README so you have a better idea of how to tune the firewall to your specific needs.

If you have not installed CSF yet, or Webmin for that matter... the following requirements must be fulfilled for Webmin and CSF to work together nicely.

As ROOT, let's get the requirements out of the way:
Code:
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python



Let's install Webmin!

Code:
cd /tmp

wget http://superb-dca2.dl.sourceforge.net/project/webadmin/webmin/1.650/webmin_1.650_all.deb

dpkg --install webmin_1.650_all.deb

Finally, let's get to a place where we can install CSF!

Code:
cd ~



Actually get CSF.

Code:
wget http://www.configserver.com/free/csf.tgz


Extract package so we can install it.

Code:
tar -xzf csf.tgz


Finally, the actual installation.

Code:
cd csf && chmod +x install.sh && sh install.sh

Now you can access your Webmin install and see that you've successfully installed CSF at http://yourip:10000

Let me know if you have any issues!
 
Last edited:
Top