Link to home
Start Free TrialLog in
Avatar of Goutham
GouthamFlag for India

asked on

not able to login to linux server via ftp credentials

Dear Experts
Installed vsftpd server on centos 7.8 and able to login with users created and perform upload and download this works fine as expected on my mobile internet but when use broad band connection from home/office  not able to get the directory listing , please find the below details and request you to suggest  on what to be done so that on any connection should able to login.  server that iam using is VM on google cloud platfrom
 
200 PORT command successful. Consider using PASV.  
LIST  
cannot retrive directory listing (server not responding)
would like to try the directory listing in the opposite mode (acitve/pasv)/
when  click on yes the following
Attemping PASV mode transfer...
PASV  
227 Entering Passive Mode (10,160,0,3,237,106).  
10.160.0.3 -> 34.93.189.79  
LIST  
Connect socket #1596 to 34.93.189.79, port 60778...
timeout
Connection timed out
Error loading directory..
Avatar of ste5an
ste5an
Flag of Germany image

Check whether you ftp server and your client supports ACTIVE and PASSIVE mode on the firewalls. Check whether there some nat inplace..

[..] in google cloud platfrom [..]
I'm not using this one, but on others you have to explicitly specify the ports for the backchannel.
Avatar of Goutham

ASKER

please suggest should we have to enable PASV mode and also define pasv ports if yes can you share the config steps
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goutham

ASKER

Thank you very much sir,
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goutham

ASKER

thanks sir