Squid QUICKSTART
-$Id$
-
This document is intended only for people who want to get Squid running
quickly It is not a substitute for the real documentation. Squid has
many features, but only a few of them are useful at the beginning. Use
acl, http_access
Access control lists. This is important because it prevents people
- from stealing your network resources. To fill in the
- "localnet" ACL, use your network address (for instance 192.168.10.0
- your CIDR network mask (for instance 255.255.255.0 or /24):
+ from stealing your network resources.
+
+ Edit the "localnet" ACL definition to be your LAN network address
+ ranges in CIDR format. For instance:
- acl manager proto cache_object
- acl localhost src 127.0.0.1
acl localnet src 192.168.10.0/24
- http_access deny manager all
- http_access allow localnet
- http_access deny all
+ Add any other ACLs and edit the http_access lines to match your policy
+ requirements for use of the proxy. See Squid FAQ for more details.
cache_mgr
- Put here the e-mail address of the manager:
+ Put here the e-mail address of the manager.
+
+==============================================================================
+
+Some configuration lines which are optional but may be needed.
visible_hostname
- The host name you advertise for the cache.
+ The publicly visible host name advertised for the cache. This will
+ be used for URLs generated by Squid for clients to fetch certain
+ objects from.
cache_effective_user
If building your own squid; use ./configure --with-default-user=X
- If you must start Squid as root, find a safe user and group to run
+ You must start Squid as root, with a safe user and group to run
as after startup (typically "nobody" and "nogroup"). Do not use
"root", for security reasons.
-
-==============================================================================
-
-Some configuration lines which are optional but may be needed.
-
-
cache_dir ufs /usr/local/squid/var/cache 100 16 256
Add here (first number, here 100) the amount of hard disk space
start Squid at startup (it depends heavily on the Unix you use, you'll
typically have to modify something in a /etc/rc_something).
-This quick start file written by: Stephane Bortzmeyer and Duane
-Wessels.
+==============================================================================
+
+/*
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
+This quick start file written by:
+ Stephane Bortzmeyer and Duane Wessels.