Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I installed Squid 3.1.1 on a Centos 5.3 server. I enabled Squid authentication. To those who connect to our proxy, I'd like them to only be allowed to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    1

    Squid limit browsing to specific range of IPs


    Hello everyone,

    I installed Squid 3.1.1 on a Centos 5.3 server.

    I enabled Squid authentication.

    To those who connect to our proxy, I'd like them to only be allowed to browse a certain subnet of IPs.

    I've tried this, but it didn't do the job:

    acl acceleratedhost dst x.y.z.0/24
    acl acceleratedhost dst x.y.w.0/24
    acl acceleratedport port 80
    acl mynet src IPofSQUID
    http_access allow acceleratedhost acceleratedport mynet
    http_access deny all

    Any ideas?

    Thank you,

  2. #2
    Just Joined!
    Join Date
    Sep 2011
    Posts
    52
    I believe you have http_access allow password somewhere before the once you posted. Because of that the users that are authenticated can browse everything.

    One solution would be to set up dansguardian and make it filter everything as per your needs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •