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 300x211 Setting squid proxy server on webmin

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 300x160 Setting squid proxy server on webmin

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 300x193 Setting squid proxy server on webmin

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

2009 09 20 042717 300x126 Setting squid proxy server on webmin

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 300x134 Setting squid proxy server on webmin

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 300x207 Setting squid proxy server on webmin 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 300x115 Setting squid proxy server on webmin

Click Save and go to Proxy restrictions Tab

2009 09 20 034408 300x127 Setting squid proxy server on webmin

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

2009 09 20 034621 300x189 Setting squid proxy server on webmin

Click Save and click arrow image to make it above Deny

2009 09 20 045210 300x116 Setting squid proxy server on webmin

6. Start Squid Proxy Server

Now you can start using squid proxy server

Incoming search terms:

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