Guide – How To Start – Squid Proxy Server with Webmin GUI on Ubuntu 18.04

Squid Proxy Server with Webmin GUI on Ubuntu 18.04 is a full-featured web proxy cache server application which provides proxy and cache services for HyperText Transport Protocol (HTTP), File Transfer Protocol (FTP), and other popular network protocols.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

The connection to Squid Proxy Server with Webmin GUI on Ubuntu 18.04 using Windows settings

  1. Launch VM through your Azure account. When starting the VM proxy server starts automatically.
  2. To use the proxy server through the built-in Windows tools, you must open the settings.
  1. In Settings select Network & Internet.
  1. Go to the “Proxy” section and set the “Use a proxy server” switch to On.
  2. In the Address field, enter the address of the VM, and in the Port field, specify 3128. Then click the Save button.
  1. To check the connection to the proxy server, open the https://www.myip.com/ website in any browser and check if your IP address has changed.
  2. When you connecting through the proxy server (for example, in the chrome browser), will be requested login and password for access. There is already one test user on the server which you can use to connect:

Login: azuretest

Password: 45cv78rt90

Proxy server configuration through the GUI Webmin

  1. To access the Webmin GUI, go to https://*vm_ip*:10000.
  2. When you go to the address, you will need to accept a self-signed certificate, for this, click the <Advanced> button and then <Proceed to*vm_ip*>
  1. The authorization page will open. Use the username and password that you specified when deploying the VM.
  1. To go to squid settings, click on “Servers” and select “Squid Proxy Server”.
  1. To create a new user, the data that must be entered when connecting to the proxy can be performed using “Proxy Authentication”.
  1. Click “Add a new proxy user” to add a new user. If you want to delete or change the old user, click on his name (in this case, “azuretest”).
  1. Enter the name and password for the new account and the <Create> button (password must not exceed 10 characters).
  1. To apply the changes, click the <Apply Changes> button (looks like an update button).

Managing users Squid Proxy Server using PuTTy

  1. In order to delete / add / change a user, you must connect to the VM console. Download and install PuTTy to do this.
  2. Run Putty and in the “Host Name” field, enter the address of the VM. Then click “Open” to connect.
  1. In the opened console you will need to enter the login and password specified while you created VM.

Now you can use the following commands to manage users:

sudo htpasswd /etc/squid/.squid_users newusername – create a new user.

sudo htpasswd /etc/squid/.squid_users existusername – change password for existing user

sudo htpasswd -D /etc/squid/.squid_users existusername – delete existing user

Password must not exceed 10 characters

After running “delete” or “change password” command, you need to update squid configuration with the following command:


sudo squid3 -k reconfigure or sudo service squid restart

  1. You can find more information about proxy server settings at the following links:

    SquidFaq – Squid Web Proxy Wiki
    Optimising Web Delivery
    FrontPage – Squid Web Proxy Wiki
    Optimising Web Delivery

Website Built with WordPress.com.

Up ↑