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.

Does cpanel need UDP Port 21 for inbound?

Discussion in 'General Discussion' started by garconcn, Oct 26, 2015.

  1. garconcn

    garconcn Well-Known Member

    Joined:
    Oct 29, 2009
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    8
    I get confused about what UDP ports needed by cpanel for incoming. The cpanel default iptables rules on CentOS only allow incoming UDP port 53, but CSF firewall opens 20,21,53 by default. I did a Google search for what incoming ports does cpanel use, most of the articles said cpanel use UDP Port 21,53. So, does cpanel use UDP Port 21?

    Thank you.
     
  2. simon templar

    simon templar Member

    Joined:
    Mar 28, 2008
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    FTP uses ports 20 and 21 over TCP only.
    UDP is for TFTP. My only UDP port open is 53, and my box has no issue.
     
  3. garconcn

    garconcn Well-Known Member

    Joined:
    Oct 29, 2009
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    8
    Thanks for the info. According to Wikipedia, the TFTP use UDP port 69 instead of 21.

    TFTP uses UDP as its transport protocol. A transfer request is always initiated targeting port 69​
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page