Guide – How To Start – Squid Proxy Server on Ubuntu 18.04 Minimal

Connection to Squid Proxy Server on Ubuntu 18.04 Minimal using Windows settings

  1. Launch VM through on 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 the “Settings” select  5
  2. Network & Internet.
  3. Go to “Proxy” section and set the “Use a proxy server” switch to On.
  4. Enter the address of the VM in the Address field,, and in the Port field specify 3128. Then click the Save button.
  1. To check the connection to the proxy server, open the website in any browser and check if your IP address has changed.
  2. When you connect 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

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 creating the 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

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

sudo squid3 -k reconfigure

Check out the following links for further documentation and support for Squid Proxy


Up ↑

%d bloggers like this: