April 16, 2024, 04:33:36 AM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: squid transparent ubuntu server  (Read 4952 times)

Offline raiko79

  • New Member
  • Posts: 1
squid transparent ubuntu server
« on: October 12, 2009, 10:43:14 AM »
Hi all, I install squid proxy 2.7 stable with clamav and dansguardian, I have two networks and, my proxy ip is I use mikrotik for router board when I redirect web traffic from network proxy work fine, but when redirect traffic from I got a error:

Unable to forward this request at this time.

This request could not be forwarded to the origin server or try parent caches. The most likely cause for this error is that:
The cache administrator does not allow this cache to make direct connections to orin servers, and
All configured parent caches are currently unreachable.

This is my squid.conf

http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src
acl manager proto cache_object
acl localhost src
acl to_localhost dst
acl purge method PURGE
cache_mem 100 MB
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
acl lan src
http_access allow localhost
http_access allow lan
http_access deny all
http_reply_access allow all
visible_hostname proxy
coredump_dir /var/spool/squid