No client access through squid running on machine with 2 NICs
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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 !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.