User Tools

Site Tools


авторизация_доступа_к_ресурсам_через_squid

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
авторизация_доступа_к_ресурсам_через_squid [2021/02/24 13:38]
val [Авторизация на основе имени пользователя]
авторизация_доступа_к_ресурсам_через_squid [2021/10/14 11:18]
val [Debian/Ubuntu]
Line 8: Line 8:
 gate# cat /​etc/​squid/​deny_hosts.txt gate# cat /​etc/​squid/​deny_hosts.txt
 </​code><​code>​ </​code><​code>​
-.*ok\.ru.* +ok\.ru 
-.*vk\.com.*+vk\.com
 </​code>​ </​code>​
  
Line 15: Line 15:
 gate# cat /​etc/​squid/​permit_hosts.txt gate# cat /​etc/​squid/​permit_hosts.txt
 </​code><​code>​ </​code><​code>​
-.*microsoft\.com.*+microsoft\.com
 </​code>​ </​code>​
  
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
авторизация_доступа_к_ресурсам_через_squid.txt · Last modified: 2023/03/18 20:20 by val