User Tools

Site Tools


squid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

squid [2009/08/12 20:43]
k2patel
squid [2020/08/10 02:35]
Line 1: Line 1:
-====== Squid ====== 
- 
-==== Password Based Authentication ==== 
-After Install and default setting, you might want to enable password based proxy change following lines.\\ 
-Following line will enable .htaccess based password auth. 
-<code bash> 
-auth_param basic program /​usr/​local/​libexec/​squid/​ncsa_auth /​usr/​local/​etc/​squid/​passwd 
-</​code>​ 
- 
-Add following line if not exists. 
-<code bash> 
-acl all src all 
-</​code>​ 
-Above line should be above following lines. 
-<code bash> 
-acl manager proto cache_object 
-acl localhost src 127.0.0.1/​32 
-acl to_localhost dst 127.0.0.0/8 
-</​code>​ 
-Define authentication method for user. 
-<code bash> 
-acl ketan proxy_auth ketan 
-</​bash>​ 
-Allow user to access proxy. 
-<code bash> 
-http_access allow ketan 
-</​code>​ 
-==== Define Outgoing IP based on Username ==== 
-In order to define IP based on authenticated user.\\ 
-Add following line. (considering you all of the [[password_based_authentication|above]] already exists) 
-<code bash> 
-tcp_outgoing_address 98.113.222.164 ketan 
-</​code>​ 
  
squid.txt ยท Last modified: 2020/08/10 02:35 (external edit)