Could not connect to VsFTPD when behind NAT - 425 Security: Bad IP connecting error (i-MSCP 1.2.16)

  • Hello,
    I change to vsftpd.And I connect ftp use intranet(192.168.xx.xx).It's will get 425 Security: Bad IP connecting error message.
    I have search google.It's add follow to vsftpd.conf.It's can fix it.Please add it.Thanks a lot.




    Quote

    pasv_promiscuous=YES

  • @akong7777



    You mean that when vsftpd is run in a LAN, the pasv_promiscuous should be enabled?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @akong7777


    Please give me the output of the following command on your system:


    Code
    1. # cat /etc/imscp/imscp.conf |grep IP


    And please, tell us which FTP client you use.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Yes,
    If user want connect ftp on lan and use filezilla client to connect it.It's will show this error message.
    So,Please add pasv_promiscuous=YES to vsftpd.conf


    root@web1:~# cat /etc/imscp/imscp.conf |grep IP
    BASE_SERVER_IP = 192.168.2.240
    BASE_SERVER_PUBLIC_IP = 219.85.XXX.XXX


    Ftp Client use Filezilla

  • @akong7777


    Ok. Will be fixed in version 1.2.16.


    Thank for your report.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • A fix has been added in the 1.2.x branch. See https://github.com/i-MSCP/imsc…8b6641d25e...eee4c80a29bb
    This fix will be part of next release.


    Thank you for your report.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206