Guide – How To Start – Squid Auth with Webmin on Debian 11 on Amazon

Configuration and connection to Squid Auth with Webmin on Debian 11

To work, you should open ports 22, 3128, 10000 (TCP), and 10000 (UDP) in the network properties in the Amazon firewall. After purchasing and starting the VM, you should know its IP address. You can find it in Amazon’s personal account.

To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instructions (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM

  1. Connecting to the VM using the PuTTY application. You can download it at the following link – Download
    • Go to section SSH on the left panel, and then to Auth
  • In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  • Go to the home page of “Session”, enter the IP address of the VM, and click “Open”.
  • In the opened console, you will need to enter the login admin
  1. You can check the status of the Squid service using the command:

systemctl status squid

  1. Now you can use the following commands to manage users:

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

You need to enter the username (1), enter the password (2) for the new user, and then repeat the password (3)

  1. To find out the password for accessing the Webmin server, run the command:
    sudo cat /root/cred.txt
  1. You must open the settings to use the proxy server through the built-in Windows tools. Click ‘Start’ (1), then ‘Settings’ (2)
  1. In Settings select “Network & Internet”
  1. 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

  1. In your browser, enter https://vm_ip:10000
  1. To work on the Internet using a proxy server, you will need to enter the login and password that you entered when you created the new user (in step 3)
  1. 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. Enter the login – root and the password that you received from the /root/rootpass file (in step 4)
  1. To change the Username and Password, you need to click the <Edit user> button.
  1. 1) In <Username> field — enter your nickname;

2) In <Password> field, choose <Set to>;

3) Enter the new password;

4) Click the <Save> button.

More documentation about Webmin 

Webmin Documentation

Visit Webmin Forum to get answers to your questions.

 About Squid Proxy

SquidFaq – Squid Web Proxy Wiki

Non-English Squid Documentation

Squid Wiki

Squid support

Website Built with WordPress.com.

Up ↑