1. Login to webmin panel
2. Install Squid Proxy Servers
Enter squid panel, ussualy it’s located under Unused Modules tab. If this message appear :
The Squid executable squid does not exist. If you have Squid installed, adjust your module configuration to use the correct path.
The Squid Proxy Server package can be automatically installed by Webmin. Click here to have it downloaded and installed using YUM.
it’s mean squid hasn’t installed yet. just click on Click here to install it
Now Squid panel located under Servers Tab.
3. Setting default port
Click Port and Networking if you want to change default port of squid (3128) to other port you like. Just remember NOT to change it to port under 1024. If you don’t want to change anything, leave it as default.
4. Setting username/password authentication
The best configuration for my opinion is let every ip adress can access our Squid Proxy, we will use password authentication for more flexyble usage.
Click on Access Control, Select External Auth from the menu below the ACL table and click the Create new ACL button.
enter ACL name and leave anything else default ones. Hit save button.
Enter Proxy Restriction Tab and click Create Proxy Restriction. Select Deny in the Action field, and choose your new auth ACL from the Don’t match ACLs list
Use the up arrow next to the new restriction to move it above Deny All
Click Return to squid index and click Authentication Programs.
From the Authentication program field select Webmin default and leave anything else in default value. Click save.
Hit Proxy Authentication icon, and click Add a new proxy user.
Enter username and password
note : DO NOT use capital letter for username
5. Setting IP address that allowed to use Squid Proxy
Click on Access Control, choose Client Address on drop down list. Click Create New ACL
Enter ACL name as you want, and enter 0.0.0.0 on From IP value, 255.255.255.255 on To IP value. leave anything else default one.
Click Save and go to Proxy restrictions Tab
Click Add proxy restriction and choose ACL name that we’ve created before, click on Allow radio button
Click Save and click arrow image to make it above Deny
6. Start Squid Proxy Server
Now you can start using squid proxy server
RSS feed for comments on this post. TrackBack URL
June 14th, 2010 at 7:26 pm
Thanx for your help, it is exactly what I was looking for ! alex