Admin-Ahead Community

Linux => Control Panels => Webmin/Virtualmin => Topic started by: nirmal on November 24, 2013, 09:31:40 pm

Title: Set up Squid with Webmin
Post by: nirmal on November 24, 2013, 09:31:40 pm
How to set up Squid with Webmin?

It's a time to read something in detail and here we go!!

Now let's use Webmin to install and set up the Squid caching proxy server. Head to the module's page under the Un-used category and click on the link to install it. When it's installed, return to the Squid Proxy Server module.

Though Webmin installed Squid, it didn't set it up, so the module will display an error saying that the cache directory hasn't been initialized. If you wish to use the default /var/spool/squid cache directory you can initialize it by simply clicking the Initialize Cache button. If you wish to use another directory you'll have to point to it under the Cache Options page. Webmin will display any output produced when you set up the cache directory. When the process is complete you can return to the module's main page and start using the module.

Click on the Start Squid button to bring up the server with the default configuration. Once it's running, the Squid Proxy Server module will be listed under the Servers category, and you'll see links that let you stop the server and apply changes you've made to its configuration.

Webmin and Squid

To see that it worked, configure a browser on your local network to use the Squid server as its proxy. Browse the web for a bit, then take a look at the logs from under the System Logs module in the System category. You should find both the Squid cache log (cache.log) and the store log (store.log) listed.

Webmin lets you manage many of Squid's features from within its GUI. By default, Squid runs on port 3128. You can change this from under the Ports and Networking section in the Squid module. If you plan to use a machine solely as a proxy server you'll need to add more cache directories, and you can do so from the Cache Options section. You can define and manage access control lists (ACL) under the Access Control section.

Squid is just one of the dozens of network servers and system services that you can install, customize, and control with Webmin. Webmin seamlessly fits into existing installations. It saves you the trouble of having to memorize numerous configurable parameters for a variety of server and services, and ensures that your system is set up properly.


Thank you for reading this!! Hope it help you.