i-mscp FTP and Loadbalancer

  • Hello!


    i have a technical issue. Now is install a ubuntu 12.04 and i-mscp 1.1.0-rc1.4 and a VM. The network has a local IP Adress: 192.168.xx.xx


    Everything works fine! Now i want to publish this installation to the Web over a Loadbalancer. That worked fine to. I can reach the websites. over the public IP Adress.


    Now my technical issue is, that i ca not reach the FTP Server on the VM over the public IP. The local IP in the local area works fine so the FTP Server is running and working.


    Is there any IP setting wrong in i-mscp, proftp? Does i-mscp need the public ip?

  • You have running a Loadbalancer in RoundRubin-Modus and you did noch reach the FTP over the public IP on the Loadbalancer?
    Did you configure the Ports the Loadbalancer for FTP? Normaly the most admins only configure 80 or 443. So you need 20 and 21 for FTP, too

    Edited once, last by TheCry ().

  • Quote

    You have running a Loadbalancer in RoundRubin-Modus and you did noch reach the FTP over the public IP on the Loadbalancer?


    you are right!


    Quote

    Did you configure the Ports the Loadbalancer for FTP? Normaly the most admins only configure 80 or 443. So you need 20 and 21 for FTP, too


    yes sure! The Loadbalancer shows that the FTP Server is up and running.


    http and https works fine! i-mscp is answering and the website shows up, Firewall is open for http, https and FTP Ports


    I thought there is a problem with the proftpd configuration? Maybe it is just answering on the local IP adress? But apache works fine

  • Did the connection work if you connect directly to the server ip.
    If the server didn't answer you have a misconfiguration of the proftp. Check this at first. A localhost listening makes no sense for proftp. Just my 2 cent.

    Edited once, last by TheCry ().

  • Remember to open passive ports or run the ftp client in active mode.
    #PassivePorts 49152 65534
    to
    PassivePorts 49152 65534


    Restart proftpd.


    And forward those ports UDP if u want to be able to use passive mode like most FTP clients use as default.