Configura el servidor intermediari
drakwizard squid
This tool
You can start this tool from the command line, by typing drakwizard squid as root.
can help you to set up a
proxy server. It is a component of drakwizard which should be installed
before you can access to it.
What is a proxy server?
A proxy server is a server (a computer system or an application) that acts
as an intermediary for requests from clients seeking resources from other
servers. A client connects to the proxy server, requesting some service,
such as a file, connection, web page, or other resource available from a
different server and the proxy server evaluates the request as a way to
simplify and control its complexity. (From Wikipedia)
Setting up a proxy server with drakwizard squid
Welcome to the proxy server wizard.
Introducció
The first page is just an introduction, click Next.
Selecting the proxy port
Select the proxy port browsers will connect through, then click
Next.
Set Memory and Disk Usage
Set memory and disk cache limits, then click Next.
Select Network Access Control
Set visibility to local network or world, then click
Next.
Grant Network Access
Grant access to local networks, then click Next.
Use Upper Level Proxy Server?
Cascade through another proxy server? If no, skip next step.
Upper Level Proxy URL and Port
Provide upper level proxy hostname and port, then click
Next.
Resum
Take a second to check these options, then click
Next.
Start during boot?
Choose if the proxy server should be started during the boot time, then
click Next.
Fi
You're done! Click Finish.
What is done
Instal·lació del paquet squid, si cal;
Saving /etc/squid/squid.conf
in
/etc/squid/squid.conf.orig;
Creating a new squid.conf
starting from
squid.conf.default
and adding the new parameters:
cache_dir
localnet
cache_mem
http_port
level
1, 2 or 3 and http_access
according to level
cache_peer
visible_hostname
Restarting squid.