LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2008, 05:47 AM   #1
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Rep: Reputation: 15
Ftp Proxy


Dear all,

Kindly help in resolving a long pending problem:

We have a squid proxy server running and is working fine.
Our client PCs need to download some updates and connect to other "FTP" servers on the Net ---- But are not able to do so.

I tried googling and found some information regarding the fix of this issue.Some suggested using iptables, some told to use some thing called "ftp-proxy". Unfortunately none worked and the result is zero.
We definitely need squid as many other things like bandwidth management, content filtering have been integrated to it.

Is there any way our client PCs can use ftp from command line or through programs ?

Kindly give step-by-step advice.


Thanking In Advance
rajesh.bahl
 
Old 06-05-2008, 02:51 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you've really not described what happens when things don't work, but squid IS an ftp proxy so it's just down to configuring and using it correctly...
 
Old 06-06-2008, 12:45 AM   #3
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Well, nothing happens when a client tries to contact any ftp server on the NET.

After some time it simply says : Unknown host.


What understanding I have about squid proxy is that this is a http proxy and ftp functions are supported through browser only. These things are happening correctly. The issue arises when a client tries to connect to any ftp server through command line or through any program requiring ftp access.



rajesh.bahl
 
Old 06-06-2008, 04:29 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
squid doesn't care (i.e has no idea) if you are using a browser or a command line in the slightest. if you have a command line, then you'd probably be using the ftp_proxy environmental variable to make curl, wget or a similar tool explicitly go to the proxy for ftp transactions.
 
Old 06-06-2008, 06:13 AM   #5
garyalex
Member
 
Registered: Jun 2006
Location: Johannesburg, South Africa
Distribution: Ubuntu, CentOS, Debian
Posts: 47

Rep: Reputation: 15
Also most FTP clients have an HTTP Proxy option available in the configuration. I know both FileZilla and FlashFXP do which I use in Windows...
 
  


Reply



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
FTP Proxy depam Linux - Software 0 02-08-2007 05:51 PM
Trying to ftp through a proxy rtaft Linux - Networking 3 07-12-2006 02:40 PM
FTP-Proxy dev_null815 Linux - Software 0 07-18-2003 06:01 AM
ftp + proxy hfawzy Linux - General 2 10-31-2002 02:44 AM
How do I define FTP Proxy? ChaosX2 Linux - Networking 0 10-04-2001 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:45 AM.

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