Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-01-2006, 02:46 AM   #1
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
accessing ftp server via squid

hi all,

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
Old 11-01-2006, 09:08 AM   #2
LQ Newbie
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
You need to add port 20. FTP is out-of-band....
Old 11-01-2006, 08:15 PM   #3
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Original Poster
Rep: Reputation: 30
i have added port 20 for NAT. still out of luck.


firewall, ftp, ftpd, squid, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing FTP server on Redhat V7 srnerkar1 Linux - Networking 5 01-03-2006 04:57 AM
Accessing remote Linux server via FTP as root user jbsarma Linux - General 4 11-24-2005 03:33 AM
FTP Server & Accessing Windows Machine VorlonShadow Linux - Newbie 1 11-17-2004 04:13 PM
Squid (proxy server) and FTP Zingaro2002 Linux - Networking 0 11-05-2003 09:42 AM
Accessing LOCAL FTP Server from Internal fails kofi Linux - Security 1 10-29-2002 01:49 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration