The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

which ports to open/close for a standard web server?

Discussion in 'General Discussion' started by spaceman, Jan 23, 2006.

  1. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    Hi All,

    I'm looking for a little guidance.

    I'm in the process of setting up a 2 new web development servers here in Perth, Western Australia. Both web servers will be running CentOS, and cPanel+WHM. One is a dedicated server for a single client, the other can expect to host multiple websites for a range of clients with varying needs. Historically I've only ever rented pre-installed, pre-configured cPanel+WHM boxes from US data centres, so this initial 'hands-on' setup is new to me :)

    Both servers will be protected by a single hardware firewall / switch box. In addition, both servers will have the apf software firewall installed and configured. Some might think that having a hardware firewall AND a software firewall is overkill, but
    a) I like the idea that if one fails (for whatever reason) I've got a second line of defence
    b) If the truth be told, very shortly we also plan to have another server - a Windows server - in the same rack, and protected by the same hardware firewall (prob. running Zone Alarm pro as the software firewall bit). The Windows server will be offering a remote backup service, and will prob. not host any websites. But I digress...

    My question: (forgetting the Windows box) which ports is it reasonable that I should open on the hardware firewall for the CentOS boxes for the general purpose web serving running cPanel+WHM?

    Thanks!
     
    #1 spaceman, Jan 23, 2006
    Last edited: Jan 23, 2006
  2. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
  3. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    nice. thanks. should have thought of that... :)
     
  4. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Another good place is in the instructions for install APF. They list all the ports there.
     
  5. tuxdesk

    tuxdesk Well-Known Member

    Joined:
    Oct 1, 2005
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
  6. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
Loading...

Share This Page