Results 1 to 9 of 9

Thread: Firewall ports

  1. #1
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549

    * Firewall ports

    Hi guys ...
    whats the basic ports for TCP and UDP should I allow on my server "Cpanel"

    plz,
    in-out TCP , UDP

    My Current:
    TCP_IN = 20,21,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,26
    TCP_OUT = 20,21,25,37,43,53,110,113,443,587,873,2087

    UDP_IN = 20,21,53

    UDP_OUT = 20,21,53,113,123,873

    ----------------
    Note: I dont run any additional services + I know that I have to add my SSH port to TCP-IN
    - but: for the TCP-OUT should I enable any range ?
    - FireWall type: CSF

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  2. #2
    Join Date
    Jan 2011
    Posts
    451
    Hello,

    You just need to add passive ftp port range also to the TCP_IN .
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

  3. #3
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    Do I need those:
    TCP_OUT = 20,21,25,37,43,53,110,113,443,587,873,2087
    UDP_OUT = 20,21,53,113,123,873

    as I know just 53 in TCP , UDP right ?

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  4. #4
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    Why do some sites says I have to enable TCP-out for the range 30000:35000

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  5. #5
    Join Date
    May 2011
    Location
    N/A
    Posts
    116
    Also set pure-ftpd.conf range to 30000:50000 and add them on firewall ports.

  6. #6
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    cptechie, whats the passive port ?

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  7. #7
    Join Date
    Jan 2011
    Posts
    451
    Hello,

    You can set this 30000:35000 as passive ports. Make sure this is also enabled int he ftp conf. Otherwise it will result in a warning while restarting csf and will cause issues with ftp.
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

  8. #8
    Join Date
    May 2011
    Location
    N/A
    Posts
    116

    Thumbs down

    Quote Originally Posted by cptechie View Post
    Hello,

    You can set this 30000:35000 as passive ports. Make sure this is also enabled int he ftp conf. Otherwise it will result in a warning while restarting csf and will cause issues with ftp.
    That should be 30000:50000 not 35000

  9. #9
    Join Date
    Jan 2011
    Posts
    451
    Hey Stardust,

    Be cool. Your suggestion is good. But open your csf.conf and see what they recommends.
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

Similar Threads

  1. Firewall TCP Ports
    By turbowarp in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-17-2008, 05:28 AM
  2. What exactly does the APF firewall do besides block ports?
    By jalapeno55 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-30-2006, 11:50 AM
  3. Which ports to open on firewall?
    By FiberOptic in forum Dedicated Server
    Replies: 13
    Last Post: 12-31-2002, 04:02 AM
  4. Firewall Ports & DNS Question
    By phpjames in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-09-2002, 04:18 PM
  5. Raptor Firewall Adding Ports?
    By MATTHARLAN in forum Hosting Security and Technology
    Replies: 1
    Last Post: 03-12-2002, 09:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •