squidnac
Services: Proxy Server -> Network Access Control
installedpackages->package->squidnac->configuration->settings
/pkg_edit.php?xml=squid_nac.xml&id=0
General Settings
/pkg_edit.php?xml=squid_ng.xml&id=0
Upstream Proxy
/pkg_edit.php?xml=squid_upstream.xml&id=0
Cache Mgmt
/pkg_edit.php?xml=squid_cache.xml&id=0
Network Access Control
/pkg_edit.php?xml=squid_nac.xml&id=0
Traffic Mgmt
/pkg_edit.php?xml=squid_traffic.xml&id=0
Auth Settings
/pkg_edit.php?xml=squid_auth.xml&id=0
Extended Auth Settings
/pkg.php?xml=squid_extauth.xml&id=0
Allowed Subnets
allowed_subnets
Subnets must be entered in the format of Network Address / Subnet Mask (e.g.: 192.168.1.0/24). Enter domains separated by a semicolon (;).
textarea
5
50
Unrestricted IP Addresses
unrestricted_ip_address
Specify each unrestricted IP address separated by a semicolon (;).
textarea
5
50
Unrestricted MAC Addresses
unrestricted_mac_addresses
Specify each unrestricted MAC address separated by a semicolon (;).
textarea
5
50
Banned IP Addresses
banned_ip_addresses
Specify each banned IP address separated by a semicolon (l).
textarea
5
50
Banned MAC Addresses
banned_mac_addresses
Specify each banned MAC address separated by a semicolon (;).
textarea
5
50
require_once("/usr/local/pkg/squid_ng.inc");
global_write_squid_config();
mwexec("/usr/local/sbin/squid -k reconfigure");