aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squid/squid.inc2
-rw-r--r--packages/squid3/squid.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index 86eae1a7..9695ed85 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -729,7 +729,7 @@ function squid_resync_nac() {
# Setup some default acls
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
-acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port 1025-65535
+acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port $port 1025-65535
acl sslports port 443 563 $webgui_port
acl manager proto cache_object
acl purge method PURGE
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc
index 5a07312b..73c7cafb 100644
--- a/packages/squid3/squid.inc
+++ b/packages/squid3/squid.inc
@@ -730,7 +730,7 @@ function squid_resync_nac() {
# Setup some default acls
acl localhost src 127.0.0.1/255.255.255.255
-acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port 1025-65535
+acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port $port 1025-65535
acl sslports port 443 563 $webgui_port
acl manager proto cache_object
acl purge method PURGE