Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.
The connection to Squid Proxy Server for Ubuntu Server 18.04 LTS using Windows settings
- Launch VM through 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 Settings select Network & Internet.
- Go to the “Proxy” section and set the “Use a proxy server” switch to On
- In the Address field, enter the address of the VM, 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 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:
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 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
After running “delete” or “change password” command, you need to update squid configuration with the following command:
sudo squid3 -k reconfigure