From c83d632e88e48a6ba0018cf7310a44b964284e42 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 28 May 2005 04:19:23 +0000 Subject: port = 8000 include proto --- 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 39f82bf..1fe87e1 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1669,7 +1669,7 @@ EOD; $lan_ip = $config['interfaces']['lan']['ipaddr']; $ipfrules .= "\n# Captive portal\n"; $ipfrules .= "table \n"; - $ipfrules .= "pass in quick on {$cp_interface} from any to {$lanip} 8000 keep state\n"; + $ipfrules .= "pass in quick on {$cp_interface} proto tcp from any to {$lanip} port = 8000 keep state\n"; $ipfrules .= "block drop in on {$cp_interface} from any to any\n"; $ipfrules .= "pass in quick on {$cp_interface} from to any keep state\n"; } -- cgit v1.1