LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 0
Unhappy 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!
 
Old 07-19-2008, 01:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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, 03:23 AM   #3
linaru
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 !
 
  


Reply

Tags
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 01:45 AM
access 8080 web server port through squid running on 8080 sunethj Linux - Networking 11 05-18-2007 02:38 AM
Client ip in squid access log pavangogineni Linux - Networking 4 10-24-2006 04:52 AM
client ip in squid access.log pavangogineni Linux - Security 1 10-23-2006 06:01 PM
client machine not being able to access internet fully b0nd Linux - Networking 2 05-26-2006 02:16 AM


All times are GMT -5. The time now is 02:42 PM.

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