InMotion Hosting Support Center

There are many security practices for your private cloud hosting. VPS users looking for enhanced security can upgrade Advanced Policy Firewall (APF) to ConfigServer Security & Firewall (CSF). Below we cover how to block VPS ports using CSF.

Note: You'll need to log into WHM as root and select ConfigServer Security & Firewall. APF users can upgrade if desired.

Temporarily Block Access to a Port

  1. Under csf - ConfigServer Firewall, specify the IP address, port(s), and number of seconds, minutes, hours, or days.
    temporary allow/deny
  2. Press Temporary Allow/Deny.

Specify Open & Closed Ports

  1. Under csf - ConfigServer Firewall, select Firewall Configuration.
  2. Add or remove ports listed in the following sections:
    IPv4 Port Settings - TCP_IN, TCP_OUT, UDP_IN, UDP_OUT
    IPv6 Port Settings - TCP6_IN, TCP6_OUT, UDP_IN, UDP_OUT
  3. Press Change at the bottom, then Restart csf+lfd. Press Return at the bottom.

Further improve your VPS security by scheduling email blacklist reports and configuring cPHulk.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!