My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: Squid

  • Squid: Configuring Whitelisted URLs

    PROBLEM To configure a proxy server that only allows whitelisted URLs through. SOLUTION Install Squid… in this case, on Ubuntu. Ensure the service is running. Create a file ( /etc/squid/whitelist.txt ) containing the whitelisted URLs. In this example, only one URL is whitelisted. To simplify the configuration, backup /etc/squid/squid.conf and create the same file with […]