Setting squid proxy server on webmin

Setting squid proxy server on webmin

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

2009-09-20_032458

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.

2009-09-20_042001

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

2009-09-20_042330

Use the up arrow next to the new restriction to move it above Deny All

2009-09-20_042717

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.

2009-09-20_043549

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

2009-09-20_033456 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.

2009-09-20_033829

Click Save and go to Proxy restrictions Tab

2009-09-20_034408

Click Add proxy restriction and choose ACL name that we’ve created before, click on Allow radio button

2009-09-20_034621

Click Save and click arrow image to make it above Deny

2009-09-20_045210

6. Start Squid Proxy Server

Now you can start using squid proxy server

1 Comment »

  1. avatar comment-top

    Thanx for your help, it is exactly what I was looking for !  

    comment-bottom

RSS feed for comments on this post. TrackBack URL

Leave a comment