Tuesday, August 11, 2009

HOW TO CONFIGURE PROXY SERVER ON MAC OS

HOW TO CONFIGURE PROXY SERVER

REQUIREMENT

1.) DNS WORKING PROPERLY
2.) PACKAGE SQUID-2.6.STABLE

CONFIGURATION OF PROXY SERVER

#vi /etc/squid/SQUID.CONF
serach visible-hostname

in line no. 2845. visible-hostname station100.example.com
then serach recommended

copy the line no. 2394 (ACL)
acl network rrc 192.168.1.0/255.255.255.0

search INSERT
line 2527 copy the line and edit this file into this :-

http_access allow network

To deny a whole network first you make a ACL :- for e.x
ACL black (black is tha acl name)
and then add the ip fro e.x 192.168.xxx.xxx

disabling a particular site
make a ACL again to deny a particular site
acl google (google is acl name )dstdomain.google.com

on INSERT (deny google)

No comments:

Post a Comment