Enter promo code HALFMANAGED at checkout for 50% off your first month’s bill on any managed service!
50% off managed hosting with code HALFMANAGED

Need help? We may have the answer for you already!

Enabling Passive Mode on your FTP Server

If you are running an FTP server behind CSF (a front end for iptables on Linux) then you will likely have run into issues with directory listing either being non-existent or very slow!

The solution to this is pretty straight forward and that is to enable passive mode within the FTP server configuration and then open a pre-determined range of ports for passive mode within the CSF Firewall as follows:

1.) Add Passive Port range 30000-350000 to your Pureftp or Proftp configuration file

i. For Pureftpd add a line like this to /etc/pure-ftpd.conf PassivePortRange 30000 35000

ii.) For ProFTP add a line like this to /etc/proftpd.conf PassivePorts 30000 35000

2.) Add the relevant port rule in CSF by looking for the parameter labelled TCP_IN within /etc/csf/csf.conf and after the last entry add ",30000:35000" without the quotation marks - you should end up with something that looks similar to:

TCP_IN = "20,21,22,25,53,80,110,30000:35000"

After successfully completing the above steps you will then want to restart your CSF and FTP services for the changes to take effect but if they don't, you'll need to check your logs as you'll have likely made a mistake when inputting the changes.

News @ RackSRV

Customer Feedback

  • We have had 2 core2duo dedicated servers from RackSRV for a couple of months. Very pleased with them, and particularly pleased that any problems/queries we have had have been dealt with quickly and with excellent communication.

    Stuart - pub clan
  • I've been a customer of RackSRV for the last 10 years. We have our client's websites hosted on dedicated severs. The service and up-time is outstanding and reliability have only improved with each passing year. We have never faced any major problem during this time.and any issues we had were resolved professi...

    Mahesh - PixelCrafts
  • I have used RackSRV for a few years now and always been 100% satisfied with their service and professionalism. RackSRV provided me with a colocation solution that proved so reliable I had almost forgotten it was there because everything just worked as expected. I always get prior notice to any Service or maintenance up...

    Gary - Core Cross Media
  • RackSRV hosts all of the game servers for our forthcoming title Heroes of Newerth in the UK, we are currently at 25+ boxes hosted here and the service and support is outstanding. I'm not sure these people ever sleep as the watching of the boxes never ends. Keep up the good work!

    Shawn - S2 Games
  • Since our clan first got a server with RackSRV we've had nothing but good experiences. The reliability and cost of services were top notch and support are a great help on the very rare occasions they're needed (and that's mostly due to us).

    Martin
  • never ceases to amaze me how quick they respond to tickets and how knowledgable they are. Definitely my 1st choice!

    Daimon - DMB SOLUTIONS LTD
  • I have been using racksrv servers for gaming and the network is amazing, I have had no problems no downtime and the support has been second to none!

    Jamie
0