i have a ftp client (command-line version). This client connects to an FTP server (vsftpd) non-interactively in a shell script. In between, there is a squid server + firewall. I have made NAT for port 21 but after logged in, i got error
550 permission denied
ftp: bind: Address already in use
when I issued ls command.
When I typed passive ti turn on passive mode, the ls command ccouldnot get the list of files. It hang for a long time.
What caused this?
Can anyone give some ideas to solve this?
how to configure the ftp client (commandline) to connect using proxy (squid)?
My client : Linux, commandline ftp
my server : vsftpd, Linux
my firewall : linux, iptables, squid, dansguardian