Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2009
    Location
    In the sky
    Posts
    40

    CSF Firewall blocking FTP connections

    I have a virtuozzo VPS with CSF. People can't connect to ftp because the firewall is conflicting with iptables. I looked at the csf guide: configserver.com/free/csf/readme.txt

    To correct it, the ftp issues states:
    For example, with pure-ftpd you could add the port range 30000:35000 to TCP_IN
    and add the following line to /etc/pure-ftpd.conf and then restart pure-ftpd:
    PassivePortRange 30000 35000
    Where is pure-ftpd.conf? Do I have to install it or something?

  2. #2
    Join Date
    Dec 2005
    Location
    Kent, England
    Posts
    714
    Are you sure you have Pure-ftpd running? cPanel uses 2 different FTP servers you should check which one you have running. This is assuming you're running cPanel, if you're not you still need to check which FTP server you're using.

  3. #3
    Join Date
    Jul 2009
    Location
    In the sky
    Posts
    40
    In the server selection, Pure-FTPD has been checked. And yeh this is cpanel

  4. #4
    Join Date
    Dec 2005
    Location
    Kent, England
    Posts
    714
    You sure it's a firewall issue? Tried just stopping for a second and connecting to it?

    FTP is connected to using port 21 so have you tried allowing all through that?

  5. #5
    Join Date
    Dec 2005
    Posts
    3,077
    Where is pure-ftpd.conf?

    /etc/pure-ftpd.conf

  6. #6
    Join Date
    Jul 2009
    Location
    In the sky
    Posts
    40
    It says /etc/pure-ftpd.conf is no such file or directory though.

  7. #7
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    What does these result from the ssh of the server?

    ps ax | grep ftp


    telnet localhost 21
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  8. #8
    Join Date
    Jul 2009
    Location
    In the sky
    Posts
    40
    5461 pts/0 S+ 0:00 grep ftp
    30144 ? Ss 0:00 pure-ftpd (SERVER)
    30146 ? S 0:00 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
    [email protected] [~]# telnet localhost 21
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 13:34. Server port: 21.
    220-This is a private system - No anonymous login
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.

  9. #9
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,750
    What does these result?

    ls -al /etc/pure-ftpd.conf

    locate pure-ftpd.conf
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

Similar Threads

  1. APF blocking/stopping long connections?
    By losaahead in forum Hosting Security and Technology
    Replies: 2
    Last Post: 04-19-2006, 10:22 PM
  2. APF firewall blocking NAS Backup
    By colden in forum Hosting Security and Technology
    Replies: 2
    Last Post: 11-02-2005, 12:11 AM
  3. Firewall Blocking the Innocent
    By bitzNbytes in forum Hosting Security and Technology
    Replies: 1
    Last Post: 09-09-2004, 02:09 PM
  4. Replies: 9
    Last Post: 08-28-2004, 02:02 PM
  5. firewall blocking connections from hosting server?
    By netserve in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-16-2002, 03:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •