Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-17-2008, 08:15 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
Unhappy No client access through squid running on machine with 2 NICs

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!
Old 07-19-2008, 02:46 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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.
Old 08-08-2008, 04:23 AM   #3
LQ Newbie
Registered: Jan 2008
Posts: 9

Original Poster
Rep: Reputation: 0
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 !


eth0, eth1, squid

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running an X server on an intermittently available 'client' machine? FifthColumnist Linux - Newbie 1 09-27-2007 02:45 AM
access 8080 web server port through squid running on 8080 sunethj Linux - Networking 11 05-18-2007 03:38 AM
Client ip in squid access log pavangogineni Linux - Networking 4 10-24-2006 05:52 AM
client ip in squid access.log pavangogineni Linux - Security 1 10-23-2006 07:01 PM
client machine not being able to access internet fully b0nd Linux - Networking 2 05-26-2006 03:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration