Hi,
I want to setup proxy server in my home. My one PC has broadband connection and also connected locally with my other PC. I now want to setup a squid server for my 2nd pc. I have setup squid but when gives url from 2nd PC it gives
PHP Code:
ERROR
The reuqested URL could not be retrieved.
The following error was encountered:
- Unable to forward this request at this time.
The request could not be forwarded to the origin server or to any parent caches....
My Setup is as follows:
Code:
/etc/squid/squid.conf
http_port 8000
cache_mem 16 MB
cache_dir ufs /var/spool/squid 1000 16 256
acl local src 192.168.100.0/255.255.255.0
# Gave these two lines before http_access allow localhost
never direct allow all
http_access allow local
squid -z
echo "1" > /proc/sys/net/ipv4/ip_forward
In /etc/sysctl.conf the net.ipv4.ip_forward =1
Also iptables is stop.
Do I have to set cache_peer ? Also do I have to set the hostname other than localhost.localdomain ?
Thanks in advance.