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

  • Well so far and 3 months in I only have praise for the team at RackSRV. After being let down over the years with empty promises, poor service, failing hardware, I moved to RackSRV to host all our business sites and personal busy forums. To date 3 months on, reliability has been 100%, performance better than I expect...

    Paul - Navigate IT
  • I have been with racksrv for 3 years and have no intention of looking eleswhere. They offer a really good service at a good price.

    Ben - Ben Angwin t/a Hoax Music
  • I found the box/uptime/network to be generally excellent. In addition your support and response time are both strong. Again, thanks for the generally excellent service and I hope your business continues to prosper.

    Dane
  • 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
  • I have been totally satisfied with the service by RackSrv. The only reason I had to cancel my account was because I didn't need a dedicated server anymore. Thumbs up for the great support and their reliable servers!

    Stephan
  • Been with RackSRV nearly a month now and the support i get is amazing! I even upgraded because i felt like i came to the right place for a VPS. Jon Roberts is one of the best support techs i have come across! Im sure to spend many months here or years here!

    Leigh
  • I've been with Racksrv now since 2007 and very happy with the service provided. Jon and the Racksrv team always seem to go beyond the call of duty to support and accommodate your needs. If someone is looking for a decent hosting solution backed by a high quality team I would instantly recommend Racksrv.

    James
0