Connection to Squid Proxy Server on Ubuntu 18.04 Minimal using Windows settings
- Launch VM through on your Azure account. When starting the VM proxy server starts automatically.
- To use the proxy server through the built-in Windows tools, you must open the settings.
- In the “Settings” select 5
- Network & Internet.
- Go to “Proxy” section and set the “Use a proxy server” switch to On.
- Enter the address of the VM in the Address field,, and in the Port field specify 3128. Then click the Save button.
- 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.
- 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:
Managing users Squid Proxy Server using PuTTy
- In order to delete / add / change a user, you must connect to the VM console. Download and install PuTTy to do this.
- Run Putty and in the “Host Name” field, enter the address of the VM. Then click “Open” to connect.
- 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