December 12, 2017, 02:09:44 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid proxy is not working  (Read 6502 times)

Offline meetkamboj

  • New Member
  • Posts: 2
squid proxy is not working
« on: December 04, 2009, 07:04:45 AM »
i have configured squid . it is running but client is not accessing internet

Offline kaushalpatel1982

  • LST CareTaker
  • Linux Learner
  • *****
  • Posts: 87
Re: squid proxy is not working
« Reply #1 on: December 04, 2009, 12:45:25 PM »
Thank you for posting. Request you to also provide Configuration and logs to debug the issue.

Offline Avin

  • Linux Learner
  • ***
  • Posts: 54
  • L!nuX
Re: squid proxy is not working
« Reply #2 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

Offline meetkamboj

  • New Member
  • Posts: 2
Re: squid proxy is not working
« Reply #3 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.

Offline Avin

  • Linux Learner
  • ***
  • Posts: 54
  • L!nuX
Re: squid proxy is not working
« Reply #4 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

Avin Tokade
« Last Edit: December 08, 2009, 05:59:21 AM by Avin »

Offline vaihbav_7779

  • New Member
  • Posts: 2
Re: squid proxy is not working
« Reply #5 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.