[squid-users] Squid3: ftp gateway in accelerator mode

From: Jim Flowers <jflowers@dont-contact.us>
Date: Sat, 16 Aug 2003 10:09:25 -0500

I admit I'm confused. I'm trying to set up an accelerator that will allow
access to both http and ftp on an originserver via browser around a
firewall. My squid.conf has:

squid.conf
----------
http_port a.b.c.d:80 vhost defaultsite=accel.domain.com
cache_peer e.f.g.h parent 80 0 no-query originserver name=vhost1.domain.com
http_access allow all (for testing)
acl vhost1_domains dstdomain www.domain1.com www.domain2.com
cache_peer_access vhost1.domain.com allow vhost1_domains
never_direct allow all

DNS

---
accel.domain.com IN A a.b.c.d
www.domain1.com IN CNAME accel.domain.com.
www.domain2.com IN CNAME accel.domain.com
vhost1.domain.com IN A e.f.g.h
When I enter ftp://www.domain1.com in my (ie6) browser a query is sent to 
a.b.c.d on port 21 that is acked (tcpdump) but the browser displays a popup 
ftp Folder Error window saying 'a connection with the server cannot be 
established'.  There is no attempt at a connection with e.f.g.h.
What is the correct way to configure squid to do this?
--
Jim Flowers<jflowers@ezo.net>
Received on Sat Aug 16 2003 - 09:09:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:56 MST