Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

FIGURE 36.1 Setting up Firefox to use 127.0.0.1 routes all its web requests
through Squid.


You can similarly configure other web browsers such as Google Chrome,
Opera, and so on. The difference is the labels used and menu locations for the
options, so you might have to do a little digging to discover where to adjust a
specific browser’s settings.


Access Control Lists


The main Squid configuration file is /etc/squid/squid.conf, and the
default Ubuntu configuration file is full of comments to help guide you. The
default configuration file allows full access to the local machine but denies
the rest of your network. This is a secure place to start; we recommend that
you try all the rules on yourself (localhost) before rolling them out to
other machines.


Open two terminal windows. In the first, change to the directory
/var/log/squid3 and run this command:


Click here to view code image

Free download pdf