This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
авторизация_доступа_к_ресурсам_через_squid [2021/04/01 14:40] val [Debian/Ubuntu] |
авторизация_доступа_к_ресурсам_через_squid [2023/03/18 20:20] (current) val [Авторизация на основе имени пользователя] |
||
|---|---|---|---|
| Line 31: | Line 31: | ||
| acl permit_hosts url_regex "/etc/squid/permit_hosts.txt" | acl permit_hosts url_regex "/etc/squid/permit_hosts.txt" | ||
| + | # order is important | ||
| http_access allow big_boss | http_access allow big_boss | ||
| http_access allow our_pppoe_networks !deny_hosts | http_access allow our_pppoe_networks !deny_hosts | ||
| Line 48: | Line 49: | ||
| ... | ... | ||
| #acl inetuser proxy_auth REQUIRED | #acl inetuser proxy_auth REQUIRED | ||
| - | acl inetuser proxy_auth user1@CORP13.UN user2@CORP13.UN | + | #acl inetuser proxy_auth user1@CORP13.UN user2@CORP13.UN |
| - | #acl inetuser proxy_auth_regex "/etc/squid/group1.acl" | + | acl inetuser proxy_auth_regex "/etc/squid/group1.acl" |
| http_access allow inetuser | http_access allow inetuser | ||