1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SQUID Configuration Experts - ACL IP range OR Password Question

Discussion in 'Proxies' started by JuicyBlack, Dec 4, 2009.

  1. JuicyBlack

    JuicyBlack Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    395
    Likes Received:
    179
    Location:
    Dark n Wet Place
    Hey guys,

    I am trying to allow a certain IP range through SQUID's ACL. The thing here is that my IP is dynamic and I'll be changing it constantly so I need to allow a range of IPs through SQUID so that I can use its IPs as proxies.

    The problem here is that I have no idea how to define my IP range, so if my the lowest IP number ive gotten from my ISP is say 44.0.0.1 how would I allow the "A-range" through and if so ... is that safe? I've seen in some sites that in order to allow the range I would have to specify something like:

    acl FILE src 44.0.0.1/255.255.255.225

    Now I am NOT very excited about using ACL to allow access to my proxies from a range of IPs so instead of that I would like to assing a username and password that would be prompted every time I want to access my proxies... any1 knows how to config that in SQUIDO's "squid.conf" file???

    Thanks in advance :tee:
     
  2. nobitanobi

    nobitanobi Newbie

    Joined:
    Mar 25, 2009
    Messages:
    14
    Likes Received:
    8
    Home Page:
    I use ip range. Try this:
    acl FILE src 44.0.0.0/16

    It give range 44.0.0.1 to 44.0.255.254

    Correct me if I'm wrong. However it work for me, one of my isp using dynamic ip. Thanks.