Network Troublshooting > Linux Proxy Server Support

squid transparent ubuntu server

(1/1)

raiko79:
Hi all, I install squid proxy 2.7 stable with clamav and dansguardian, I have two networks 192.168.0.0/24 and 192.168.1.0/24, my proxy ip is 192.168.0.2. I use mikrotik for router board when I redirect web traffic from network 192.168.1.0/24 proxy work fine, but when redirect traffic from 192.168.0.0/24 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 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl CONNECT method CONNECT
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 192.168.0.0/24 192.168.1.0/24
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

   

Navigation

[0] Message Index

Go to full version