[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Proxy Server Support  |  Topic: Squid Proxy and Ftp server
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Squid Proxy and Ftp server  (Read 1595 times)
0 Members and 1 Guest are viewing this topic.
rana28
Linux Noob !
*
Offline Offline

Posts: 26


View Profile
« on: January 13, 2005, 08:42:16 AM »

We are using squid proxy as internet sharing purpose, Our total node are 50,in all macines accessing net is fine but I am unable to connect our external ftp server through squid proxy, but when I tried to connect to ftp server from Linux server it is fine, what is the problem?
Logged
cyberkoa
Linux Noob !
*
Offline Offline

Posts: 4


View Profile
« Reply #1 on: January 13, 2005, 05:25:02 PM »

I face the same problem as you , I hv search through the Internet and get a proposed solution , but it does not work fine for me , but you may try that


Add the following ACL in a proper place in the squad.conf, and restart


acl ftp_protocol proto FTP
always_direct allow ftp_protocol



Hope that it works for you.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #2 on: January 14, 2005, 05:38:44 AM »

You people have not told me that are you using transparent proxy or simple proxy ?
in simple proxy , set your ftp client to use port 3128 (or port on which squid is listening) as ftp port and also make sure your ftp client is in passive mode.

about FTP protocol , in acls we always allow port 21 so no to use that explicitly.
Logged
cyberkoa
Linux Noob !
*
Offline Offline

Posts: 4


View Profile
« Reply #3 on: January 14, 2005, 10:16:12 AM »

Thanks Ricky, I found the cause of my problem already, I do not connect the FTP throught Passive Mode.
In fact, I am testing the FTP from IE , it do not allow Passive Mode (I am not sure whether there is a way or not) , and   I keep troubleshooting the squid , I thought is the Squid problem and yesterday only I realize this.

I am using tranparent proxy , following the tutorial giving by you , you indeed help me a lot .

Any way to allow FTP connection without Passive mode ?

I have another question on the authentication in tranparent proxy , I think I will post a new topic.
Hopefully can get your opinion ..
Logged
rana28
Linux Noob !
*
Offline Offline

Posts: 26


View Profile
« Reply #4 on: January 15, 2005, 03:31:22 AM »

Dear Friends,
Thanks for your reply, but my problem remains same. I am using simple proxy and configure my ftp client to use my proxy server 192.168.1.100 port 3128 and also add the line http_access allow !Safe_ports at squid.conf file.But the problem remains same, I am also unable to retrive my pop3 mail at outlook express, but all is possible at my linux server.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #5 on: January 15, 2005, 04:29:13 AM »

rana! what do you get .. ie no connection or something else..

?
Logged
rana28
Linux Noob !
*
Offline Offline

Posts: 26


View Profile
« Reply #6 on: January 15, 2005, 04:56:09 AM »

I am accessing my external ftp server (web server) through ftp client cute ftp , its connect to my ftp server but I am unable to open any folder in my ftp server. there is time out message showing, but in my linux server it would oprn very quickly.
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #7 on: January 16, 2005, 08:04:10 AM »

is it time with "unable to retrive dirctory listings" ?
if that is then again same.. check that if your ftp client is working in Passive mode or not ! if no then set it to work in passive mode!

And passive mode is something which is decided by ftp server ie if it is runnning in passive mode then you can open the directories without being in passive mode but that will be slow , and in case of proxy will not work !
Logged
ilias
Linux Learner
***
Offline Offline

Posts: 116


View Profile
« Reply #8 on: June 16, 2005, 01:49:27 AM »

If u r using simple proxy,  just disable ur firewall by going to setup -->firewall configuration

It will work
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Configuring Squid Proxy server & Transparent Proxy Linux Tutorials & How To's « 1 2 ... 10 11 » Ricky 163 91391 Last post September 11, 2006, 03:09:34 PM
by Ricky
HOW TO COFIGURE SQUID AS A PROXY SERVER Linux Servers Support ozioma 7 1505 Last post July 29, 2004, 06:01:20 AM
by hp
squid proxy server problem Linux Servers Support butchy 1 843 Last post September 05, 2004, 12:40:45 AM
by Ricky
how do i forward http requests in a squid proxy server Linux Proxy Server Support roxyboby 4 1151 Last post January 03, 2005, 03:34:38 AM
by Ricky
squid proxy server not function Linux Proxy Server Support mdhanapiah 11 1843 Last post March 02, 2007, 07:08:23 AM
by gauravbajaj
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:42:41 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 8
Total: 8
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc