Error
  • JUser: :_load: Unable to load user with ID: 71

How To Open Ports in CSF via WHM and SSH

This article will explain how you can open ports for your server in CSF through WHM and SSH.

Please be aware that opening ports on your server can be a security risk, please be aware of any risks when opening a specific port on your server.

There are 2 different ways to open ports on your server. One way is through WHM and one is via command line.

Steps to open ports in WHM

1. Log in to your WHM: SERVER-IP/WHM or SERVER-IP:2087

2. Click "ConfigServer Security & Firewall," which is under the "Plugins" section

 

CSF

 

3. Go to “Firewall Configuration”

 

Firewall Configuration

 

4. Find “TCP_IN=” under “IPv4 Port Settings”

Allow incoming RCP ports

 

5. Enter the port number in the list below. Make sure to separate ports with a single comma and do not enter any spaces.

6. Click “Change” at the bottom of the page.

 

This will reset the firewall so that the ports that you have opened will take effect.

Steps to open ports via command line

1. SSH into your server.

2. Go to the directory with the CSF configuration file.

cd /etc/csf/

3. Open the file “csf.conf” (In this tutorial I used "nano" editor)

nano csf.conf

4. Once you are in the configuration file, find "TCP_IN=", it will be under "# Allow incoming TCP ports"

5. Within the quotation marks, put the port number that you wish to open. Separate each IP using a single comma and no spaces.

6. Close the file and save all changes.

7. Restart the firewall.

csf -r

 

Video Tutorial


Is it not a great idea to follow me to be recieve my last posts? Follow me now!


I recently upgraded to a new hosting provider and wanted to migrate my wordpress site, Already backup my hosted files and exported database through phpMyAdmin, I'v created a different database with different details in my new server and i tried to import .SQL file to the new database. Although, when I upload it mid-way through I got this following error:

In order to have a successful website, the number one thing you need to have a reliable web hosting. In this post, you'll learn about finding a right option for your website. Let’s take a look at the most common avenues to take and their suitability.

How to start your hosting business?

When it comes to making money online, there are ample opportunities available to you. You simply need to choose one that suits your skills and take it from there.

Here i have shared various techniques to help you earn money working online and how to start your own web hosting business.

URL shortening is a technique on the World Wide Web in which a Uniform Resource Locator (URL) may be made substantially shorter in length and still direct to the required page. This is achieved by using an HTTP Redirect on a domain name that is short, which links to the web page that has a long URL. For example, the URL http://ibrahimjabbari.com/english/index.php/blog/item/407-how-to-create-your-own-branded-url-shortener-without-any-coding can be shortened to http://algr.in/ZkewpP. This is especially convenient for messaging technologies such as Twitter and Identi.ca which severely limit the number of characters that may be used in a message. Short URLs allow otherwise long web addresses to be referred to in a Tweet. In November 2009, the shortened links of the URL shortening service Bitly were accessed 2.1 billion times.

Take a look over this collection of posts related to newer CSS3 properties. There may be some you’re already familiar with, and others that you’ve never even heard about before. CSS3 provides developers with many different solutions used to solve individual problems. Also if you know any other great posts I’ve forgotten you can share with us in the post discussion area.

On September 30, 2014, Orkut will be officially shut down. At that point, users won’t be able to log in anymore, I still remember first time when i created my orkut accout a few year ago, but we can not do anything so should be say good-bye now.

Hi guys, in today's post i would like to show you the easiest way to add a custom pinterest button in your wordpress website or blog as you know one of the easiest and most important things any website can do to help people to discover their stuff on Pinterest is to install the Pin It button. The Pin It button makes it super simple for people to save and share things they find on your site. These Pins link back to your website and increase the spread of your content across Pinterest... [Follow me by reading more]

So – you’ve decided that you want to make a website, but you’re not really sure how to proceed?

Generally, all peoples have a wish to make a website, but very rare people are aware of the steps that can help them to make a website. So, understanding your problems and worries regarding making of a website, i will provide you steps to make website within a couple of hours. This steps will help you to make a website easily and simply. So lets go through several steps.

Page 1 of 2