ispconfig vs firewall port range

Discussion in 'General' started by H2SO4, May 24, 2009.

  1. H2SO4

    H2SO4 New Member

    hi

    i've configured the pure-ftpd to use passive port range (49500:49750) behind firewall, but if i've tried to add this range to firewall in ispconfig then added the first port (49500) of range only to bastille config and not the range.

    cat /etc/pure-ftpd/conf/PassivePortRange
    49500 49750

    cat /etc/Bastille/bastille-firewall.cfg |grep 49500
    TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500" # MINIMAL/SAFEST

    debian lenny
    ispconfig 3.0.1.2
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the question?
     
  3. H2SO4

    H2SO4 New Member

    i see in ispconfig:
    Code:
    20,21,22,25,53,80,110,143,443,3306,8080,49500:49750
    i see in bastille cfg:
    Code:
    TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500"                                        # MINIMAL/SAFEST
    and the ftp does not working.

    Status: Connected
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "/" is your current location
    Command: TYPE I
    Response: 200 TYPE is now 8-bit binary
    Command: PASV
    Response: 227 Entering Passive Mode (x,x,x,x,193,127)
    Command: LIST
    Error: Connection timed out
    Error: Failed to retrieve directory listing

    i need to see in bastille cfg:
    Code:
    TCP_PUBLIC_SERVICES="20 21 22 25 53 80 110 143 443 3306 8080 49500:49750"                                        # MINIMAL/SAFEST
    this is a bug i think, but if you need a question here is a question.
    where is the port range from bastille config ?
     
    Last edited: May 24, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. H2SO4

    H2SO4 New Member

Share This Page