Jump to content

Squid weirdness [SOLVED}


phunni
 Share

Recommended Posts

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...

Link to comment
Share on other sites

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..?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...