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

  • Great service, very helpful and lightning fast replies, always going out of their way to help. Never noticed any downtime and great value for money, Look no more if you want a quality service!

    Daniel - IoxHost
  • I've had excellent service for last 2 years! Jon and his team have been excellent in their communication and at dealing with any problems.

    Abishek
  • I have only been with RackSRV for 8 months but they have provided a great service for me, the best I have experienced and I hope to stay with RackSRV for as long as possible!

    Mark - FoxesTalk
  • We contacted RackSRV and requested a dedicated server for one of our clients projects. From the word Go they went above and beyond what I would consider the norm. I ran into a few problems along the way but it was nice knowing Jon and Lee were right behind me whenever I needed them. Server was fast, network was fast an...

    Rob - Peartree Digital Media Solutions
  • We have had excellent service from Jon and his team. Originally a bit sceptical as RackSRV pricing was much lower than most, but they have far exceeded my expected level of service, in terms of hardware, network and assistance. Would highly recommend to anybody.

    Nick - Market Hosting Ltd
  • RackSRV provided me everything I needed, apart from Windows VPS's, I am not a fan of linux and I needed a windows VPS for game servers. If you're a linux fan or don't need windows then RackSRV will exceed your expectations!

    Alex
  • Having had a few bad experiences with other hosting companies RackSRV are like a breath of fresh air. Their support is second to none and have even helped in areas that maybe they don't have to. What i love the most about RackSRV is their straight talking and honesty. Long may it continue!

    Stuart
0