]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/external/file_userip/example.conf
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / external / file_userip / example.conf
1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7 #
8 # Configuration File for Squid ext_file_userip_acl helper
9 #
10 # Lines that begin with a # are ignored
11 # The main format is:
12 #
13 # Single user
14 # ip[/mask] user
15 #
16 # Users that belong to "group" (/etc/group)
17 # ip[/mask] @group
18 #
19 # No User from this IP
20 # ip[/mask] NONE
21 #
22 # All Users from this IP
23 # ip[/mask] ALL
24 #
25 # IP and MASK must be in dotted quad format.
26 #
27 # Ths first match wins, so you may create rules that
28 # "allow everyone but foo bar" or
29 # "deny everyone but foo bar"
30 #
31 # Examples:
32 # All users from the 192.168.1.0/24 network are allowed
33 # 192.168.1.0/255.255.255.0 ALL
34 #
35 # Users from the 192.168.2.0/24 network are not allowed
36 # except for user "boss" that can authenticate from
37 # anywhere
38 # 0.0.0.0/0.0.0.0 boss
39 # 192.168.2.0/255.255.255.0 NONE
40 #
41 # User "jayk" may athenticate only from his station ip address
42 # 192.168.3.45 jayk
43 #
44 # Users of the "tol" group may authenticate from their VLAN
45 # 10.0.0.0/255.255.0.0 @tol
46 #
47 # User "diniz" may authenticate from the LAN, but deny all others
48 # 192.168.1.0/255.255.255.0 diniz
49 # 0.0.0.0/0.0.0.0 NONE
50