diff options
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid.inc | 3 | ||||
-rw-r--r-- | config/squid/squid.xml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index dbd8267f..4200f02e 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -1268,6 +1268,7 @@ function squid_generate_rules($type) { $rules .= "\n"; break; case 'filter': + case 'rule': foreach ($ifaces as $iface) { $rules .= "# Setup squid pass rules for proxy\n"; $rules .= "pass in quick on $iface proto tcp from any to !($iface) port 80 flags S/SA keep state\n"; @@ -1288,4 +1289,4 @@ function squid_generate_rules($type) { return $rules; } -?>
\ No newline at end of file +?> diff --git a/config/squid/squid.xml b/config/squid/squid.xml index a119e647..7f2c1627 100644 --- a/config/squid/squid.xml +++ b/config/squid/squid.xml @@ -330,4 +330,5 @@ squid_deinstall_command(); exec("/bin/rm -f /usr/local/etc/rc.d/squid*"); </custom_php_deinstall_command> + <filter_rules_needed>squid_generate_rules</filter_rules_needed> </packagegui> |