Results 1 to 4 of 4
Hello ,
I am using Fedora Core 9.0 and Squid Cache: Version 3.0.STABLE2 .
Now i am trying to use the squid as a proxy server but its not working ...
- 04-30-2009 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 82
squid Transparent Proxy Issue
Hello ,
I am using Fedora Core 9.0 and Squid Cache: Version 3.0.STABLE2 .
Now i am trying to use the squid as a proxy server but its not working its giving error like this ...
While trying to retrieve the URL: /
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is root.
Here is my squid.conf
While trying to retrieve the URL: /
http_port 192.168.111.107:3128
cache_mem 256 MB
cache_dir ufs /var/spool/squid 2000 16 256
dns_nameservers 192.168.3.1 59.144.127.16 59.144.127.17
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 SSL_ports port 2083 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 2083 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl our_networks src 192.168.111.0/24
http_access allow our_networks
visible_hostname = newproxysrv
i have also try to forward the traffic coming on 3128 to 80 but its not working
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.111.107:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
can anyone suggest me the solution for this ...
Thanks ...
John
- 04-30-2009 #2Just Joined!
- Join Date
- Mar 2007
- Posts
- 82
Squid Config Issue
Hi ,
Can any one please help me to solve this issue ...
John
- 05-01-2009 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 82
Squid Config Issue
Hi ,
Any Linux Guru can help me to solve my issue ....Please ....
John
- 06-11-2009 #4Just Joined!
- Join Date
- Sep 2008
- Posts
- 12
Hi! Could u solve the problem. PL. let me know the sol. I am using RHEL5 and trying to configure squid 2.6 on it.
I had tried compiling squid 3.0 also, but it fails in make.


Reply With Quote