squidnac
0.3.5
Proxy Server: Access Control
/usr/local/pkg/squid.inc
General
/pkg_edit.php?xml=squid.xml&id=0
Remote Cache
/pkg.php?xml=squid_upstream.xml
Local Cache
/pkg_edit.php?xml=squid_cache.xml&id=0
Antivirus
/pkg_edit.php?xml=squid_antivirus.xml&id=0
ACLs
/pkg_edit.php?xml=squid_nac.xml&id=0
Traffic Mgmt
/pkg_edit.php?xml=squid_traffic.xml&id=0
Authentication
/pkg_edit.php?xml=squid_auth.xml&id=0
Users
/pkg.php?xml=squid_users.xml
Real Time
/squid_monitor.php
Sync
/pkg_edit.php?xml=squid_sync.xml
Squid Access Control Lists
listtopic
Allowed Subnets
allowed_subnets
The subnets must be expressed as CIDR ranges (e.g.: 192.168.1.0/24).
Note: The proxy interface subnet is already an allowed subnet. All the other subnets won't be able to use the proxy.
]]>
textarea
50
5
base64
Unrestricted IPs
unrestricted_hosts
Configured entries will NOT be filtered out by the other access control directives set in this page.
Note: Put each entry on a separate line.
]]>
textarea
50
5
base64
Banned Hosts Addresses
banned_hosts
Configured entries will NOT be allowed to use the proxy.
Note: Put each entry on a separate line.
]]>
textarea
50
5
base64
Whitelist
whitelist
Note: Put each entry on a separate line. You also can use regular expressions.
]]>
textarea
50
5
base64
Blacklist
blacklist
Note: Put each entry on a separate line. You also can use regular expressions.
]]>
textarea
50
5
base64
Block User Agents
block_user_agent
Note: Put each entry on a separate line. You also can use regular expressions.
]]>
textarea
50
5
base64
Block MIME Types (Reply Only)
block_reply_mime_type
MIME types that will be blocked for the
users that are allowed to use the proxy. Useful to block javascript (application/javascript).
Note: Put each entry on a separate line. You also can use regular expressions.
]]>
textarea
50
5
base64
Squid Allowed Ports
listtopic
ACL SafePorts
addtl_ports
in addition to the predefined default list.
Default list: 21 70 80 210 280 443 488 563 591 631 777 901 1025-65535
]]>
input
60
ACL SSLPorts
addtl_sslports
in addition to the predefined default list.
Default list: 443 563
]]>
input
60
squid_validate_nac($_POST, $input_errors);
squid_resync();