LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No client access through squid running on machine with 2 NICs (https://www.linuxquestions.org/questions/linux-networking-3/no-client-access-through-squid-running-on-machine-with-2-nics-656356/)

linaru 07-17-2008 07:15 AM

No client access through squid running on machine with 2 NICs
 
Hello!
a strange problem is haunting me recently. The scenario is as follows:
We have a Linux Box with 2 NICs and are trying to configure the squid proxy. eth0 (public IP) is connected to the internet while eth1 (local IP) goes to the switch.
all the configuration has been down and ifconfig reveals that both the interfaces are up and running. The client PCs (all with internal IPs) have been configured too and squid has been set up appropriately ( or so I think). The server machine can access the net but the clients can't. The message that the browser throws up is :
'firefox configured to use a proxy server that is refusing connections'

Any help will be highly appreciated.
Thanks in advance!

acid_kewpie 07-19-2008 01:46 AM

well you've not provided any informaiton about the squid confi, so we can't help troubleshoot it at all. sounds like maybe you're firewalled on that machine or squid is not even runnning. check the output of "pidof squid" to see if it's up at all.

linaru 08-08-2008 03:23 AM

thank you acid_kewpie !
you were right. iptables had not stopped. this is surprising since i had already used
'service iptables stop' to terminate the firewall before connecting from the client-side. Moreover, 'service iptables status' and 'pgrep iptables' had also 'confirmed' that no firewall was running. but your comment got me thinking. so, i did a check via 'system-config-services' and that confirmed my worst suspicions - iptables was indeed running !
Any idea why this happened ?

i was away from work for a few days and hence this delay in replying.
thanks once again !


All times are GMT -5. The time now is 07:23 AM.