0 evaluări0% au considerat acest document util (0 voturi)
488 vizualizări15 pagini
Squid - It is the proxy caching server used in Linux. Handles the request from the local clients for web access. Supports all popular Internet protocols http. Including FTP, Gopher ad.
Squid - It is the proxy caching server used in Linux. Handles the request from the local clients for web access. Supports all popular Internet protocols http. Including FTP, Gopher ad.
Drepturi de autor:
Attribution Non-Commercial (BY-NC)
Formate disponibile
Descărcați ca PPT, PDF, TXT sau citiți online pe Scribd
Squid - It is the proxy caching server used in Linux. Handles the request from the local clients for web access. Supports all popular Internet protocols http. Including FTP, Gopher ad.
Drepturi de autor:
Attribution Non-Commercial (BY-NC)
Formate disponibile
Descărcați ca PPT, PDF, TXT sau citiți online pe Scribd
protocols including FTP, Gopher ad HTTP. Service profile
• Packages - Squid
• Configuration files -
/etc/squid/squid.conf Daemons -
Squid
• Port number - 3128
Squid Configuration
Install the squid
package.
Open the squid
configuration file. Squid Configuration
This is the default squid
configuration file if we want to change the defaults then we can edit the file. Squid Configuration
3128 is the http
port. Squid Configuration
Search for the acl access
control list Squid Configuration Create another acl named thano1 to restrict the web access by time. Thus here the web server can be accessed during 18:30-19:30 only.
Search for http_access
in command mode. The specified range of IP address are allowed to access the web server by assigning them in acl named thano. Squid Configuration
This deny other IP addresses
except the IP addresses mentioned in access lists
To allow the access lists thano
and thano1 Squid Configuration
Now restart the
squid service. Squid Configuration
To set the proxy get into
the mozila wizard. Squid Configuration
Select preferences to set the proxy server. Squid Configuration
And select the option
proxies. Squid Configuration
Enter the IP address of the
proxy server and the port number. Squid Configuration
Now the time is in between the
access time given in the acl so we can access web server. Squid Configuration
Here you can see that the access
is denied since the we are not allowed to access the web server in this time.