]> git.ipfire.org Git - thirdparty/squid.git/blame - src/acl/external/file_userip/example.conf
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / acl / external / file_userip / example.conf
CommitLineData
5b74111a 1## Copyright (C) 1996-2018 The Squid Software Foundation and contributors
ca02e0ec
AJ
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#
c152a447
AJ
8# Configuration File for Squid ext_file_userip_acl helper
9#
6435edf3 10# Lines that begin with a # are ignored
11# The main format is:
12#
13# Single user
14# ip[/mask] user
15#
c152a447 16# Users that belong to "group" (/etc/group)
6435edf3 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
c152a447
AJ
28# "allow everyone but foo bar" or
29# "deny everyone but foo bar"
6435edf3 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
c152a447 36# except for user "boss" that can authenticate from
6435edf3 37# anywhere
38# 0.0.0.0/0.0.0.0 boss
39# 192.168.2.0/255.255.255.0 NONE
40#
c152a447 41# User "jayk" may athenticate only from his station ip address
6435edf3 42# 192.168.3.45 jayk
43#
c152a447 44# Users of the "tol" group may authenticate from their VLAN
6435edf3 45# 10.0.0.0/255.255.0.0 @tol
c4afa03f
AJ
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