Konfiguracja pośrednika

drakwizard squid

This tool[8] 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.

  1. Wprowadzenie

    The first page is just an introduction, click Next.

  2. Selecting the proxy port

    Select the proxy port browsers will connect through, then click Next.

  3. Set Memory and Disk Usage

    Set memory and disk cache limits, then click Next.

  4. Select Network Access Control

    Set visibility to local network or world, then click Next.

  5. Grant Network Access

    Grant access to local networks, then click Next.

  6. Use Upper Level Proxy Server?

    Cascade through another proxy server? If no, skip next step.

  7. Upper Level Proxy URL and Port

    Provide upper level proxy hostname and port, then click Next.

  8. Podsumowanie

    Take a second to check these options, then click Next.

  9. Start during boot?

    Choose if the proxy server should be started during the boot time, then click Next.

  10. Zakończ

    You're done! Click Finish.

What is done

  • Installing the package squid if needed;

  • 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.



[8] You can start this tool from the command line, by typing drakwizard squid as root.


CC BY-SA 3.0
Uploaded on 02/10/2016
loading table of contents...