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

  • Being a customer at RackSRV has always been easy, they are helpful and I have no complaints. Only in the beginning of my time as a customer was there some rare downtime, but RackSRV has just got better and better with time. The staff seem pro at what they do, last year there has not had any downtime that I've noti...

    Tore
  • Switched host to RackSRV several months back. Very happy with the hosting. Great hardware, great network and excellent service. What more could you ask for?

    Jeff - Mint-Clan
  • We've been a customer of RackSRV periodically over the last few years with various services ranging from dedicated servers to Virtual Private Servers. Every single time, both the service and customer service have been exceptional in every single way. Customer support is always available, very prompt and extreme...

    Ryan - SWBROADBAND Ltd
  • Due organization problems we decided to cancel our VPS service however we think RackSRV is the best quality-price service we've ever used, thanks!

    Noechelon
  • Service has been great - no complaints at all. Thanks for the service and flexibility over the years.

    John - Clark Craft Products
  • Thanks for your help and support after I got the server, it was working brilliant - well worth the money! Unfortunately we need to downgrade as we no longer need a server of this scale, we may well come back at a later time for a smaller server.

    Kyle - notorious
  • My client has used RackSRV since 2013 and they have been fantastic. We migrated to RackSRV from another leading UK hosted solutions company that seemed obsessed with upselling unsuitable solutions at ridiculous prices - RackSRV have in contrast found suitable solutions at reasonable prices. It is so rare to talk to ...

    Pete
0