Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    7

    Question What External firewall settings for VPS hosting?

    Hello:

    I am wondering what VPS hosting providers have for their external firewall settings for cPanel VPSs. Right now, I have our external firewall set to block everything except the following:

    Inbound:
    •cPanel https
    •cPanel webmail https
    •DNS
    •FTP
    •HTTP
    •HTTPS
    •ICMP (e.g. Ping)
    •SSH
    •WHM https

    Outbound:
    •DNS
    •HTTP
    •HTTPS
    •NTP
    •SSH
    •SMTP

    Are there any other services I should allow through our external firewall?

    Thanks,
    Neil

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default

    You would probably want to allow:
    TCP:
    21,22,25,37,43,53,80,443,2087,2089,3306

    UDP:
    20,53

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by NeilAgg View Post
    Hello:

    I am wondering what VPS hosting providers have for their external firewall settings for cPanel VPSs. Right now, I have our external firewall set to block everything except the following:

    Inbound:
    •cPanel https
    •cPanel webmail https
    •DNS
    •FTP
    •HTTP
    •HTTPS
    •ICMP (e.g. Ping)
    •SSH
    •WHM https

    Outbound:
    •DNS
    •HTTP
    •HTTPS
    •NTP
    •SSH
    •SMTP

    Are there any other services I should allow through our external firewall?

    Thanks,
    Neil
    Here are a few that I don't see in the list but that may be desired:
    cPanel WebDisk, 2077
    cPanel WebDisk (SSL), 2078
    POP, 110
    POP (SSL), 995
    IMAP, 143
    IMAP (SSL): 993

    For a more verbose listing I would also reference the following entry in our documentation FAQ: Linux FAQ - Which ports should be open if I'm running my cPanel server behind a firewall?

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Check out /etc/services on your server for a list of possible services

    (not all of these are actually enabled or in use but gives you an idea)

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 10-02-2009, 05:45 AM
  2. Firewall settings for Cpanel DNS Only
    By winger in forum New User Questions
    Replies: 2
    Last Post: 02-02-2009, 07:06 AM
  3. Firewall Settings for dns only server
    By Gareth in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-13-2008, 03:01 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube