diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /tools/squid.conf | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
Diffstat (limited to 'tools/squid.conf')
| -rw-r--r-- | tools/squid.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/squid.conf b/tools/squid.conf index bed7a583..048aa576 100644 --- a/tools/squid.conf +++ b/tools/squid.conf | |||
| @@ -972,6 +972,8 @@ | |||
| 972 | # Example rule allowing access from your local networks. | 972 | # Example rule allowing access from your local networks. |
| 973 | # Adapt to list your (internal) IP networks from where browsing | 973 | # Adapt to list your (internal) IP networks from where browsing |
| 974 | # should be allowed | 974 | # should be allowed |
| 975 | acl localhost src 127.0.0.1/32 | ||
| 976 | acl localhost src ::1/128 | ||
| 975 | acl localnet src 10.0.0.0/8 # RFC1918 possible internal network | 977 | acl localnet src 10.0.0.0/8 # RFC1918 possible internal network |
| 976 | acl localnet src 172.16.0.0/12 # RFC1918 possible internal network | 978 | acl localnet src 172.16.0.0/12 # RFC1918 possible internal network |
| 977 | acl localnet src 192.168.0.0/16 # RFC1918 possible internal network | 979 | acl localnet src 192.168.0.0/16 # RFC1918 possible internal network |
| @@ -1172,6 +1174,7 @@ http_access deny !Safe_ports | |||
| 1172 | http_access deny CONNECT !SSL_ports | 1174 | http_access deny CONNECT !SSL_ports |
| 1173 | 1175 | ||
| 1174 | # Only allow cachemgr access from localhost | 1176 | # Only allow cachemgr access from localhost |
| 1177 | http_access allow localhost | ||
| 1175 | http_access allow localhost manager | 1178 | http_access allow localhost manager |
| 1176 | http_access deny manager | 1179 | http_access deny manager |
| 1177 | 1180 | ||
