Skip to main content

FTP issue

Comments

4 comments

  • cPanelMichael
    Hello :) The following thread should be helpful: FTP Connection Failure Thank you.
    0
  • crliuh
    [quote="cPanelMichael, post: 1670042">Hello :) The following thread should be helpful: FTP Connection Failure Thank you.
    Hi, removed # in PassivePortRange 30000 50000 right now im getting this error. Error: Server returned unroutable private IP address in PASV reply Status: Resolving address of domain.com Status: Connecting to 54.255.xx.xx Status: Connected, waiting for welcome message... Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Reply: 220-You are user number 1 of 50 allowed. Reply: 220-Local time is now 16:22. Server port: 21. Reply: 220-IPv6 connections are also welcome on this server. Reply: 220 You will be disconnected after 15 minutes of inactivity. Command: CLNT https://ftptest.net on behalf of 14.192.xx.xx Reply: 530 You aren't logged in Command: USER domain Reply: 331 User domain OK. Password required Command: PASS ************* Reply: 230 OK. Current restricted directory is / Command: SYST Reply: 215 UNIX Type: L8 Command: FEAT Reply: 211-Extensions supported: Reply: EPRT Reply: IDLE Reply: MDTM Reply: SIZE Reply: MFMT Reply: REST STREAM Reply: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*; Reply: MLSD Reply: AUTH TLS Reply: PBSZ Reply: PROT Reply: TVFS Reply: ESTA Reply: PASV Reply: EPSV Reply: SPSV Reply: ESTP Reply: 211 End. Command: PWD Reply: 257 "/" is your current location Status: Current path is / Command: TYPE I Reply: 200 TYPE is now 8-bit binary Command: PASV Reply: 227 Entering Passive Mode (172,31,5,255,185,113) Error: Server returned unroutable private IP address in PASV reply
    pls help. update --------------------------------------- i realised that the 227 Entering Passive Mode (172,31,5,255,185,113) is my internal ip is not my public ip therefore i change the ForcePassiveIP to 54.255.xx.xx (my public ip) in pure-ftpd.conf. tried to test in /https://ftptest.net turn out with the follow error, Error: Carriage return without line feed received The replies sent by your server are violating the FTP specifications. You have to upgrade to a proper server. even i have disabled my iptables i still get the same error. what else i have missed it?
    0
  • crliuh
    [quote="crliuh, post: 1670271">Hi, removed # in PassivePortRange 30000 50000 right now im getting this error. Error: Server returned unroutable private IP address in PASV reply Status: Resolving address of domain.com Status: Connecting to 54.255.xx.xx Status: Connected, waiting for welcome message... Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Reply: 220-You are user number 1 of 50 allowed. Reply: 220-Local time is now 16:22. Server port: 21. Reply: 220-IPv6 connections are also welcome on this server. Reply: 220 You will be disconnected after 15 minutes of inactivity. Command: CLNT https://ftptest.net on behalf of 14.192.xx.xx Reply: 530 You aren't logged in Command: USER domain Reply: 331 User domain OK. Password required Command: PASS ************* Reply: 230 OK. Current restricted directory is / Command: SYST Reply: 215 UNIX Type: L8 Command: FEAT Reply: 211-Extensions supported: Reply: EPRT Reply: IDLE Reply: MDTM Reply: SIZE Reply: MFMT Reply: REST STREAM Reply: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*; Reply: MLSD Reply: AUTH TLS Reply: PBSZ Reply: PROT Reply: TVFS Reply: ESTA Reply: PASV Reply: EPSV Reply: SPSV Reply: ESTP Reply: 211 End. Command: PWD Reply: 257 "/" is your current location Status: Current path is / Command: TYPE I Reply: 200 TYPE is now 8-bit binary Command: PASV Reply: 227 Entering Passive Mode (172,31,5,255,185,113) Error: Server returned unroutable private IP address in PASV reply
    pls help. update --------------------------------------- i realised that the 227 Entering Passive Mode (172,31,5,255,185,113) is my internal ip is not my public ip therefore i change the ForcePassiveIP to 54.255.xx.xx (my public ip) in pure-ftpd.conf. tried to test in /https://ftptest.net turn out with the follow error, Error: Carriage return without line feed received The replies sent by your server are violating the FTP specifications. You have to upgrade to a proper server. even i have disabled my iptables i still get the same error. what else i have missed it?
    hi guys, my problem solved at last, with the following steps, 1. i removed removed # for PassivePortRange 30000 50000 in pure-ftp conf 2. Change the ForcePassiveIP to 54.255.xx.xx (my public ip) in pure-ftpd.conf 3. allow incoming FTP in Iptables. followed the instruction here - [url=http://unix.stackexchange.com/questions/93554/iptables-to-allow-incoming-ftp]Iptables to allow incoming FTP - Unix & Linux Stack Exchange p.s. ftptest.net showing error when im trying to test my ftp, but it's working when im using filezilla to connect. Reply from cpanel support team: "It also appears there's an issue with using the ftptest.net tool to test this. I recommend using an actual FTP client on your local workstation to test this (such as Filezilla). You can see other users have had an issue using ftptest.net here:http://forums.cpanel.net/f5/replies-sent-your-server-violating-ftp-specifications-266401.html".
    0
  • storminternet
    Are you adding rules from command line while managing iptables. I suggest you to use csf with which you can easily manage firewall from WHM, GUI mode.
    0

Please sign in to leave a comment.