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

  • The service is very good. We have no issues with the support. They are always on-time to provide assistance.

    Rommel - PnD Hongkong Limited
  • RackSRV offers a great service, I've been with them since 2008. Excellent support is provided, sometimes you get answers in a matter of minutes, even on Sundays! Pricing is much lower than most, what more could you ask for? Highly recommended to anybody!

    Maurizio
  • Been with RackSrv 4 months so far and have only good reviews. Extremely fast tickets responses, regardless of the time of day, even for pre-sales tickets. Only one downtime but was planned with several weeks notice and only 15min. Accommodating and good prices.

    William - Reactre Ltd
  • I love dealing with RackSRV. They are professional, knowledgeable, helpful and accommodating. This is my first time co-locating and I needed a little guidance and help and RackSRV were more than happy to answer all my questions and offer advice. It is now a couple of months down the line and I am now looking to add a...

    Stuart
  • Great service provided by RackSRV, I have been with them for about 2 years now, but I have no worries whatsoever as I know my Server is in safe hands with Jon - he's been most helpful this last week. Great job RackSRV!

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

    Rohan - DediShack
  • When I was first looking to purchase a Dedicated Server I had looked around at a few providers, but choose RackSRV for their friendliness and helpful support. This was the first time I had purchased a Dedicated Server, so I was very new to how Payments and Setup would work. So I simply asked a few questions, and go...

    Daniel - zFast Technologies
0