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

  • I cant recommend RackSRV highly enough! Overall, support is definitely one of RackSRV's many strong points, if you were to single out any one in particular, and this really defined the service for us. Looking forward to renewing our service in future.

    Joe
  • Overall experience is excellent! Very friendly, helpful and attentive support team - willing to go that extra mile. Price - very fair, somewhat undervalued! Have recommended to several friends... they have all spoken of the great service, even in comparison to the big companies that they all used to use.

    Temur
  • 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
  • Fast customer support and fast speeds from racksrv. Don't look anywhere else if you need a server based in the UK at an affordable price!

    Karl Heinz
  • Your support and service has been excellent and should I be looking to host again, you’ll be at the top of my list.

    Neville - watchuktv.co.uk
  • Thanks for being such a great, no-hassle and HUMAN hosting company. If you are thinking of hosting, stop, just sign up with them now! I guarantee you won't regret it.

    Jon - IWIN Digital Ltd
  • The racksrv.com VPS service is by far the best I have used and trust me I have used ALOT! if anything they are undersold the performance is better than even the big players when running stress tests, my openVZ server beat both my VPS servers with linode and softlayer!

    Anthony
0