LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux Hangs using squid (https://www.linuxquestions.org/questions/linux-software-2/linux-hangs-using-squid-9004/)

garysmith 11-21-2001 12:41 AM

Linux Hangs using squid
 
I'm running Suse 7.2 as a mail server, samba and squid proxy.
Everything works well until I try and configure my document capture server or browse my intranet through my web browser with my "use proxy" and "bypass proxy for local addresses" set to on in my internet settings. The capture server is running FreeBSD and intranet is NT Server 4. When configuring FreeBSD or browsing the intranet, the Suse box freezes totally and I have to switch the box off and back on again as the reset switch has no effect. I thought that it could be a hardware problem and took a workstation running windows 2000, pentium 3 500, 256 mb ram and a 13 gig Hdd and loaded Suse 7.2 again.
I did the configuration using webmin, tested the proxy using the internet and it worked 100%. I then went through my intranet and Suse fell over again. Does anyone have any ideas that I can try as I'd like the users on the lan to go through a proxy so that I can configure squid guard for obvious reasions.
Thanks in advance
Gary

DavidPhillips 11-25-2001 04:08 AM

try setting up squid to listen on port 3128 and redirect port 80 to port 3128
no proxy settings needed in your browsers

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


or for ipchains


ipchains -A input -p TCP -d any/0 www -j REDIRECT 3128


I have not used squid guard but I guess it filters some stuff, if it is listening on port 1080 or something just redirect to 1080. it will redirect to 3128.

dans guardian is a good filter program that will filter based on key words, mime content, file extension, ip address, key phrases, etc....




snr4999 07-25-2002 07:59 PM

i have problem with squid
when i ./RunCache
i have fatal error says
Cannot open HTTP port
i'm using 3128 port
can any body help me with this problem

DavidPhillips 07-27-2002 10:58 AM

what distro?

most likely thing is that squid is already running

snr4999 07-29-2002 08:29 PM

i just ignore that fatal said cannot open http port
then i configure client using netscape....
i have error
please...somebody help me....'
i'm running out off time...


All times are GMT -5. The time now is 12:31 AM.