phunni Posted December 18, 2004 Report Share Posted December 18, 2004 I've just installed squid and it seems to be working. Ideally, Iwant transparent proxying so I tried to set my firewall to forward everything to the squid port. This resulted in almost everything I requested being refused with an "invalid URL" message. If I manually specify the proxy - it seems to work, but I don't wan't to do it that way if I can help it... plus if I run: squidclient http://mandrakeusers.org > test I am told that the connection to localhost:3128 is refused... This might be a problem as I eventually want to run dansguardian as a filter so it'll be connecting to the proxy from the same machine... Any suggestions as to how to configure this? I've specified the visible and unique hostnames as "server" since that it the computers network name... Quote Link to comment Share on other sites More sharing options...
phunni Posted December 18, 2004 Author Report Share Posted December 18, 2004 Never mind - I figured it out. I had to set the following in squid.conf: httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on Seems to be working now. One more question though - if I set my firewall to pass ftp requests to squid, wil lthat just work or will squid need further configuration..? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.