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

  • Service is awesome, lovely bandwidth, nice tidy racks! Support is top notch; Jon is extremely efficient in fixing problems rapidly.

    Rohan - DediShack
  • Excellant level of service, always quick to reply to support tickets. only cancelled because our gaming community had no more use for the server. thank you for a good service, if things change we will return. S Hall.

    Simon
  • Absolutely brilliant service, what brought me to racksrv in the first place was the speed at which they replied to my emails, and the support has continued to be superb. Jon has always been great, and particular thanks to Liam for helping me sort my most recent issue.

    Tom - Thplabs
  • Jon@RackSRV has been great to us, we have a couple of off-net servers with them for backup/DR purposes and have had zero problems. Everything was set up quickly, despite us choosing the wrong options when ordering the server and the prices Jon gave us are fantastic, no-one else could even come near them. I've never...

    Freethought - Freethought Internet Limited
  • 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
  • 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
  • RackSRV are a fantastic company to deal with. They tailor a server for you in no time at all, and had mine set up within 24 hours. After around a year with them I have had nothing but perfect customer service and brilliant prices. Cannot fault them at all. Thanks RackSRV!

    Duncan - Cypher Gaming
0