Operating Systems > Linux and UNIX
Networking Help!
voidmain:
If you take a stock squid.conf file (from a fresh squid install) all you should have to do to get it working is right above the line:
http_access allow manager localhost
insert the line:
http_access allow all
so it looks like this:
--- Code: ---
--- End code ---
and it should work (assuming you can browse from the browser on the server, lynx is sufficient to check that). I set these things up all the time, and in fact just set another one up at work today on RedHat 7.2 and this worked just fine. Also, after you make a change to the config file you must restart Squid by typing:
/etc/rc.d/init.d/squid restart
If this does not work, tell me exactly the behavior you are getting on the client. Do you get an HTML error page from Squid? Does it just hang? What browser are you using that you have the proxy configured? What exactly do you have for the proxy settings? Is 192.168.0.1 really the IP address of your inside interface? Some browsers require a URL for the proxy (http://192.168.0.1) and some require just the address (192.168.0.1) and the port 3128 should be set for "http" proxy port.
If you do not get an HTML error page with Squid somewhere on the page you either have the client configured wrong or your ipchains are configured wrong. To check if it's an ipchains issue you should be able to just remove all the chains by:
/sbin/ipchains -F
/sbin/ipchains -X
ipchains should not restrict inbound port 3128 on your inside interface and it should not restrict outbound port 80 on your outside interface. Can you even ping your server's inside interface from your client?
[ April 23, 2002: Message edited by: VoidMain ]
Master of Reality:
i will try that tomorrow, i may even re-install squid so that i have a fresh install. I pretty sure my internet was going off and on for a while during the day (the TV was screwing around too) so i'm not sure if any of my problems were accurate, or if the internet was down when i tested it.
voidmain:
I also notice I made a statement that isn't totally true. You don't have to actually restart Squid, just have it reload the config file which can be done by:
/etc/rc.d/init.d/squid reload
among other ways..
Master of Reality:
this is quite odd, i started squid with a fresh install, i changed it to accept all using webmin, then i setup netscapeon my computer to use a proxy, i turned on the proxy and tried netscape, it says: "connection refused".
Master of Reality:
!!!!!!!!!!!!!!!!!!!!!!!!!!
i just got it to work!!!!!!!!!
yay!!!!!!!!!!
it actually works now.
I changed something, i'm not sure what it did.... OH! i changed what IP address squid was on, at first i set it to 192.168.0.0 and now i tried it with 192.168.0.1 and it works!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version