From 2901afebfdf54e98efd1dbb7c89aa5be978696a2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 3 Jun 2005 19:40:57 +0000 Subject: [PATCH] Revert captive portal change that ATTEMPTED to fix squid. It doesn't work. Sorry it didn't work out but temporarily squid and captiveportal are not great bed partners. --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 1247e944da..321d51a03b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -868,7 +868,7 @@ function filter_nat_rules_generate() { if(isset($config['captiveportal']['enable'])) { $cp_interface = filter_translate_type_to_real_interface($config['captiveportal']['interface']); $lan_ip = $config['interfaces']['lan']['ipaddr']; - $natrules .= "no rdr on {$cp_interface} proto tcp from to any port { 80 443 }\n"; + $natrules .= "no rdr on {$cp_interface} proto tcp from to any \n"; $natrules .= "rdr on " . $cp_interface . " proto tcp from any to any port { 80 443 } -> {$lan_ip} port 8000\n\n"; }