Jump to content

JPC-Daniel

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

JPC-Daniel's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. To allow http_access for some IP or access you need to define ACL (access control list) to work with squid proxy server. Squid configuration file located at /etc/squid/squid.conf. Open file using a text editor: # vi /etc/squid/squid.conf Please try this one for some single IP address: ------------------------------------------------ acl all src 0.0.0.0/0.0.0.0 acl allow_list src 10.0.0.0/255.255.0.0 http_access allow allow_list http_access deny all If you want to give access to some specfic range of IP: ------------------------------------------------------- acl our_networks src 192.168.1.0/24 192.168.2.0/24 http_access allow our_networks http_access deny all And finally Save and close the file. Start squid proxy server by using command given below: ------------------------------------------------------------------------------------------- chkconfig squid on /etc/init.d/squid start JPC-Daniel ____________ JaguarPC.com
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.