Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: meetkamboj on December 04, 2009, 07:04:45 AM

Title: squid proxy is not working
Post by: meetkamboj on December 04, 2009, 07:04:45 AM
i have configured squid . it is running but client is not accessing internet
Title: Re: squid proxy is not working
Post by: kaushalpatel1982 on December 04, 2009, 12:45:25 PM
Thank you for posting. Request you to also provide Configuration and logs to debug the issue.
Title: Re: squid proxy is not working
Post by: Avin on December 07, 2009, 06:42:10 AM
Yes...First post your error log file of squid.
and Did you allow your network traffic in squid with following acl ?

acl our_networks src 192.168.1.0/24                   .....(Your network detail)
http_access allow our_networks

Avin
Title: Re: squid proxy is not working
Post by: meetkamboj on December 08, 2009, 05:42:49 AM
 my network configuration is
acl budha src 192.168.1.0/24
http_access allow budha
visible_hostname dlink
ip configuration of internal lan in server is 192.168.1.1 255.255.255.0 no gateway and dns is same as externel ip
ip configuration of client 192.168.1.2 255.255.255.0 gateway 192.168.1.1 dns 192.168.1.1
lan setting in ie is 192.168.1.1 and port 3128

after this configuration service squid starting but client is not not accessing internet
please help me
i have linux 5.0 installed with two lan.
Title: Re: squid proxy is not working
Post by: Avin on December 08, 2009, 05:57:48 AM
Hi

Is your Linux machine(Squid Server) same as Gateway for your network ? If yes then You also need to configure Firewall (IPTABLE) to act Linux machine as router and pass your internal traffic.

This is good article for setup Linux as Router.
http://www.cyberciti.biz/tips/linux-as-router-for-dsl-t1-line-etc.html (http://www.cyberciti.biz/tips/linux-as-router-for-dsl-t1-line-etc.html)

Avin Tokade
Title: Re: squid proxy is not working
Post by: vaihbav_7779 on December 09, 2009, 06:38:42 AM
are they getting authentication pop up???
also try telnet from client machine to squid on port u set.